1. Home
  2. Docs
  3. Getting started
  4. API Response

API Response

The ClarifyIP API is capable of delivering data either in JSON format (default) or XML format. Find below the API result ClarifyIP would return in response to the API call shown in the section above, which queries the API for the IP address 185.245.87.169.

{  
   "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":"United States",
      "id":6252001,
      "code":"US"
   },
   "region":{  
      "code":"CA",
      "name":"California"
   },
   "continent":{  
      "name":"North America",
      "id":6255149,
      "code":"NA"
   },
   "time_zone":{  
      "id":"America/Los_Angeles"
   }
}
Tags
Was this article helpful to you? Yes No

How can we help?