public apis
/
CategoriesMCPBlogRandomStar
Public APIs

A searchable directory of 2,000+ free public APIs, curated by the community and maintained with APILayer.

Powered byAPILayer

Popular

  • Weather APIs
  • Finance APIs
  • Crypto APIs
  • Geocoding APIs
  • Machine learning APIs
  • Games APIs

Directory

  • Categories
  • All APIs
  • MCP servers
  • FAQ
  • Stats
  • JSON API
  • llms.txt

APILayer

  • Browse the API suite ↗
  • Get a free API key ↗
  • APILayer blog ↗
  • Postman collection ↗
  • Discord community ↗

Project

  • public-apis on GitHub ↗
  • Contribute an API ↗
Public APIs · by APILayerData from public-apis (MIT)
  1. Home
  2. /Geocoding
  3. /IP 2 Country
Geocoding
IP 2 Country logo

IP 2 Country

Map an IP to a country.

IP 2 Country API is a free Geocoding API that requires no API key, is served over HTTPS and has unconfirmed CORS support.

Authentication
None required
HTTPS
Yes
CORS
Unknown
Category
Geocoding
Visit documentation ↗ip2country.info

About IP 2 Country / IP Geolocation JSON API

JSON API returns the country of an IP address. Simple, fast, free. For open source projects only.

Provider
IP 2 Country / IP Geolocation JSON API
Website
ip2country.info ↗

Details from ip2country.info.

APILayer

Unified API suite · now live

Geocode an address, validate an email, track a flight or pull stock data with one account, one dashboard and one API key.

Get your free API key→Free tier on every API

IP 2 Country API alternatives

I

IBGE

Aggregate services of IBGE (Brazilian Institute of Geography and Statistics)

No authHTTPSCORS ?
IP Address Details logo

IP Address Details

Find geolocation with ip address

No authHTTPSCORS ?
H

Hong Kong GeoData Store

API for accessing geo-data of Hong Kong

No authHTTPSCORS ?
IP Vigilante logo

IP Vigilante

Free IP Geolocation API

No authHTTPSCORS ?
H

Hirak IP to Country

Ip to location with country code, currency code & currency name, fast response, unlimited requests

apiKeyHTTPSCORS ?
ip-api logo

ip-api

Find location with IP address or domain

No authNo HTTPSCORS ?

IP 2 Country API FAQ

Who provides the IP 2 Country API?

The IP 2 Country API is provided by IP 2 Country / IP Geolocation JSON API (ip2country.info). JSON API returns the country of an IP address. Simple, fast, free. For open source projects only.

Is the IP 2 Country API free?

Yes. The IP 2 Country API is listed in the Geocoding category of the public-apis directory, which only includes APIs that are free or have a free tier. Check its documentation for rate limits and paid plans.

Does the IP 2 Country API require an API key?

No. The IP 2 Country API requires no authentication, so you can start making requests without signing up.

Can I call the IP 2 Country API from the browser?

CORS support for the IP 2 Country API is unknown. Test a request from the browser, and fall back to a server-side call if it is blocked.

Does the IP 2 Country API support HTTPS?

Yes. The IP 2 Country API is served over HTTPS, so it's safe to use in production.