API Ninjas


Ip Lookup API

API Ninjas IP lookup API for getting location information for any valid IP address
The API Ninjas IP lookup API provides data with the purpose of getting location information for any valid IP address. It is used by small business, medium business and enterprises, a few ideas of the type of company that uses the data are IP search platforms, VPN services, proxy services and more. They use the API within the IP location analysis, cyber security, IT, VPN, location services and more sector. You are able to filter the API to get the output determined by address. There are endless platforms that are being designed using the IP location API. Programmers keep coming up with new ideas for using the API, here we have certain possible cases; website plugins, IP search websites, IT and cybersecurity service, VPN platforms, location analysis and more and of course there are much more customers can realise. This database has global data coverage available.

Ip Lookup API endpoints



Connect with the IP address API endpoint; /v1/iplookup by sending a GET request for data to the endpoint using the the possible parameters and receive an response like in the example data. The endpoint is for getting location information for any valid IP address. For the applicable parameters and objects, check the table of the IP lookup API which clarifies them. To make the request, place the data endpoint in the browser. The API documentation works with all leading programming languages, simply attach the API key parameter to the API endpoint URL and set it to your personal key to begin receiving the requested data.

Data filters for IP lookup API

The IP lookup API has the below mentioned filtering parameters applicable that can be filtered with.

API object description

Generate a data request using the different parameters and use the table to interpret the objects with their related 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

Output response of the IP lookup API

Sign-up for the system to call the full output responsebut customers can already see part of the response output in the code box.
    "country": "GB",
    "name": "London"
    "country": "GB",
    "name": "City of Westminster"
    "country": "GB",
    "name": "Lambeth"
    "country": "GB",
    "name": "Clerkenwell"
    "country": "GB",
    "name": "City of London"


The data response through the API platform can be requested as JSON file format and software development kits are available if required for all major programming languages such as; phyton, r, matlab, c++, node. Js, go, php, haskell, net, java, javascript, typescript,tensorflow and ruby. Now just filter the IP location finder data using any of the filter attributes and use the software development kits to build the platform.

Ip Lookup API pricing

In case customers wish to have connection to this IP location API before paying, there are trial and sample data sets available so write an email and request for the trial API access. Once customers have played a bit a little with the the API, you may determine if you wish to purchase complete access to the service.

Cost of this API

You can immediately start integrating API Ninjas Ip Lookup API with prices set at monthly from $9 or contact the data provider for more information today.
Option Price
Monthly subscription From $9/month
Variable pricing no

Free Trial

Free trial is available

Alternative options


IP Info API returns precise website plugins, IP search websites, IT and cybersecurity service, VPN platforms, location and website analysis and more data for advancing iOS and Android apps, online services, tools, programs, market inquiries and much more. This IP info API is inclusive of a massive volume of IP Address data inclusive of all the details you require.

Sign up for API Ninjas IP lookup API

Get Data Access

~[ ∵ ]~

Sign-up Succesful

Wait for the Data