Logo
Akamai APIs API Documentation

Translate an Akamaized URL

POST https://{{host}}/edge-diagnostics/v1/translated-url

Provides basic information about a specific hostname or domain name, such as typecode, origin server, CP code, serial number, and TTL. A URL becomes an Akamaized URL (ARL) once it's on an edge server.

 

Body PARAM

Key Datatype Required Description 
accountSwitchKey
string (Optional) For customers who manage more than one account, this [runs the operation from another account](https://techdocs.akamai.com/developer/docs/manage-many-accounts-with-one-api-client). The Identity and Access Management API provides a [list of available account switch keys](https://techdocs.akamai.com/iam-api/reference/get-client-account-switch-keys).



HEADERS

Key Datatype Required Description 
Content-Type
string
Accept
string




RESPONSES

status OK

{ "request": { "url": "http://www.example.com" }, "translatedUrl": { "cacheKeyHostname": "new-origin-www.example.com.akadns.net", "cpCode": 1234567, "serialNumber": "16382", "ttl": "Infinite", "typeCode": " Object changes when ARL changes" } }



Curl
curl -X POST 'https://undefined/edge-diagnostics/v1/translated-url?accountSwitchKey=' -H 'Content-Type: application/json' -H 'Accept: application/json' -d '{"url":"http://www.example.com"}'

ENDPOINTS