1. Home
  2. Docs
  3. Options
  4. Specify Response Language

Specify Response Language

The ClarifyIP API is capable of delivering its result in different languages. To request data in any language other than English (default), append the API’s language parameter to your API request URL and set it to one of the supported two-letter language codes.

Supported languages:

  • en – English/US
  • de – German
  • es – Spanish
  • fr – French
  • ja – Japanese
  • pt-BR – Portugues (Brazil)
  • ru – Russian
  • zh-CN – Chinese

Example Request: In the following example, the language request is set to de, which stands for for German.

https://api.clarifyip.com/?key=YOUR_ACCESS_KEY&ip=185.245.87.169&code=de

Example Response: The API now responds in German.

{  
   "connection":{  
      "asn":9009,
      "ip":"185.245.87.169",
      "isp":"M247 Ltd",
      "type":"ipv4"
   },
   "zip":"90014",
   "city":{  
      "name":"Los Angeles",
      "id":5368361
   },
   "location":{  
      "metro_code":34.0494,
      "languages":[  
         "eng"
      ],
      "calling_code":[  
         "+1"
      ],
      "flag":"//cdn.clarifyip.com/assets/flags/svg/us.svg",
      "emoji":"??",
      "latitude":34.0494,
      "longitude":-118.2641
   },
   "country":{  
      "code_3":"USA",
      "name":"USA",
      "id":6252001,
      "code":"US"
   },
   "region":{  
      "code":"CA",
      "name":"Kalifornien" --translated
   },
   "continent":{  
      "name":"Nordamerika",  --translated
      "id":6255149,
      "code":"NA"
   },
   "time_zone":{  
      "id":"America/Los_Angeles"
   }
}
Was this article helpful to you? Yes 1 No

How can we help?