![]() Returns the city associated with the IP address. Returns region name associated with the IP address. Returns the region code associated with the IP address (e.g. Returns the country name associated with the IP address. Returns the 2-letter country code associated with the IP address. Returns the continent name associated with the IP address. Returns the 2-letter continent code associated with the IP address. Returns IPv4 or IPv6, depending on type of the requested IP address. Returns the hostname the requested IP is associated with requires Hostname Lookup to be enabled. Find below a complete list of API response objects: Response Object The API will then perform a lookup request based on that IP address and return a full set of API results.Įxample API Request: Sign Up to Run API Request checkīased on which plan you are subscribed to and the options you specify for your API request, there are over 40 unique response objects the API is capable of responding with. To look up the IP address the current API request is coming from, simply attach check to the API's base URL. The API results below have been shortened for readability purposes. (Limit: 50 values)Ī Bulk Lookup API response contains an array of results with each result associated with one of the IP addresses contained in the API request. It is also possible to enter domain URLs to have the API resolve the underlying IP addresses. A comma-separated list of IPv4 or IPv6 addresses of your choice. The API will then respond with an array of results, containing one sub-array per IP address looked up.Įxample API Request: Sign Up to Run API Request 161.185.160.93,87.111.168.248,210.138.184.59 To look up multiple IP addresses at once, simply attach a comma-separated list of IPv4 or IPv6 addresses to the API's base URL. If you are subscribed to the Standard Plan or higher, the API will additionally return time zone, currency and connection data.ĪPI Response Objects: Looking for details about the response objects returned by the API? All available response objects are explained in detail in the API Response Objects section.īulk IP Lookup Available on: Business Plan and higher Set to json or xml to choose between output formats.Ī standard API response will come with general information about the given IP address and location data. Specify a JSONP callback function name according to the JSONP Callbacks section. Set to a 2-letter language code according to the Specify Response Language section to specify response language. Specify API response field(s) according to the Specify Response Fields section. Your API access key, available in your account dashboard. It is also possible to enter a domain URL to have the API resolve the domain to the underlying IP address. Below you will find an example API request, required parameters and an example API response.Įxample API Request: Sign Up to Run API Request 161.185.160.93 To look up a single IP address of your choice, simply append an IPv4 or IPv6 address to the API's base URL. The user's current subscription plan does not support Bulk Lookup.Įndpoints Standard IP Lookup Available on: All plans User specified too many IP addresses in a single Bulk Lookup request. User specified one or more invalid fields inside the fields parameter. The user's current subscription plan does not support HTTPS. The user's current subscription does not support this API function. User has reached his subscription's monthly request allowance. User requested a non-existent API function. User requested a resource which does not exist. "info": "Your monthly API request volume has been reached. As an example, find below an error the API responds with if the limit of monthly API requests has been reached. In the event that your API request fails for any reason, the API will return a JSON error message detailing information about the error that occurred. To enable this data for your API response, please follow the instructions in the following sections of this documentation: Hostname Lookup and Security Data. ![]() Please note: To be able to show you a comprehensive API response, Hostname and Security data have been included in the result above.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |