API Ninjas


IP Lookup API

Reverse geocoding API for converting latitude/longitude coordinates to cities that fall within those coordinates
Use the database made by API Ninjas to use this reverse geocoding API with the purpose of converting latitude/longitude coordinates to cities that fall within those coordinates. Clients use the data in the map analysis, geocoding, city and country location services and more sector. Some ideas of the type of company using the API are geocoding analysts, online map developers, travel and tourism platforms and more, generally they could be small business, medium business and enterprises. Developers who are using this reverse geocoding API, use it for a wide variety of business cases, several of which are; website plugins, map applications, city location services, geocoding analysis, travel and location related websites and more. The possibilities are endless of course and it is sure that more projects exist, so experiment with the data for your business case and it will be interesting to hear what comes out of it. This database covers global data. A few examples of the potential filters are lat and lon, use these to determine the data response.

IP Lookup API endpoints

GET /v1/iplookup
To be able to use this data platform for converting latitude/longitude coordinates to cities that fall within those coordinates, clients should communicate with the API endpoint; /v1/reversegeocoding to get a similar response like in the example response. The API documentation works with all major coding languages, simply attach the API key parameter to the API endpoint URL and set it up to your personal key to begin receiving data. To apply for the request, input the endpoint in the browser. The object table demonstrates the applicable parameters and objects response descriptions.

API parameters

Here you will find the available parameters for the reverse geocoding API.

Data object description

Compose a call by using the different parameters applicable and make use of the table to understand the objects with their associated description.
Objects Description
country Country
country_code 2-digit country code
region_code 2-digit region code
region Region name
city City
zip Zip code
lat Latitude
lon Longitude
timezone Time zone
isp Internet service provider
address IP address

Reverse geocoding API output response

On this page customers are able to see the data response preview. Sign-up for the full response output due to this being limited to be able to make it readable.
    "country": "GB",
    "name": "London"
    "country": "GB",
    "name": "City of Westminster"
    "country": "GB",
    "name": "Lambeth"
    "country": "GB",
    "name": "Clerkenwell"
    "country": "GB",
    "name": "City of London"

Software development kit

Use any of the filter parameters to filter the reverse geocoding data that is necessary. The API platform provides output as JSON format and for languages like; phyton, r, matlab, c++, node. Js, go, php, haskell, net, java, javascript, typescript,tensorflow and ruby there are SDKs accessible, just email for it and it will be sent by email quickly.

IP Lookup API pricing

Samples and trials are freely available upon request, just make contact and request it. You should be able to access the reverse geocoding data and see if this is exactly what you are seeking for. After examinating the API, people can determine if they want to continue with the premium version.

Price and cost of the API

You can instantly start integrating API Ninjas API with the price tag set at monthly from $9 or contact the data provider for more information now.
Option Price
Monthly subscription From $9/month
Variable pricing no

Free Trial

Free trial is available

Alternative options


This IP info API includes a gigantic volume of IP Address data including the full elements you need. Get connected to the IP Info API provider to receive precise data for getting location information about an IP address and do reverse DNS (PTR) lookups purposes today.

Sign up for API Ninjas IP lookup API

Get Data Access

~[ ∵ ]~

Sign-up Succesful

Wait for the Data