Skip to content
freetier.wiki

Type at least 2 letters.

Enter to open · Esc to close

The IP API

The IP API includes 1,000 requests a day forever with no card and no overage, and commercial use is allowed, while higher volume plans start at $19 a month.

The IP API is a JSON API that returns country, city, coordinates, ASN, and company data for an IP address. It suits developers who need IP geolocation in apps, fraud checks, or analytics.

By The IP APIAPIs & dataChecked ✓ 23 Nov 2026

Is it a fit?

Good fit

Use when you need IP geolocation for a low-traffic app, prototype, or small commercial project that stays within 1,000 requests a day.

  • prototyping
  • side-projects
  • low-traffic apps
  • login and fraud checks

Not a fit

Avoid if you need more than 1,000 requests a day on the free plan, since extra requests are refused with a 429 error. Paid plans start with a monthly request count.

  • more than 1,000 requests per day on the free plan
  • very high request volumes
  • need a single plan with no daily cap

You call The IP API with a GET request and an API key, from curl or a language such as Python, JavaScript, or PHP. A batch endpoint takes a POST request for many addresses at once. It suits developers who add location checks to apps, logins, or analytics.

What the free plan gives you

The Free plan costs $0, lasts forever, and needs no card. It allows 1,000 requests per day. All plans include commercial use, daily data updates, and both IPv4 and IPv6 addresses.

The API returns country, city, latitude, longitude, ASN, and the company that owns the address. The batch endpoint takes up to 100 IP addresses in one request. Each unique IP in a batch counts as one request, and repeated IPs count once.

The pricing page says there are no hidden fees and no surprise overages. Paid plans start at $19 a month for 600,000 requests a month.

When you hit a limit

The docs say the Free plan limit resets daily, and an over-limit request gets a 429 error. The pricing page lists no overage charge, so the free plan stops instead of billing you.

A batch is checked before it runs. If you do not have enough quota left for all its unique IPs, the whole batch is rejected with a 429 error. The docs advise you to back off and track your usage. The dashboard shows your usage. Caching frequent lookups in your app saves requests.

Gotchas

  • A batch with one invalid IP address is rejected in full, because the API validates every address first.
  • The batch endpoint needs a POST request. A GET request returns a 405 error.
  • Paid plans reset monthly, but the Free plan resets daily. Plan your bursts around that.

Alternatives in this atlas

  • IPinfo: when country-level data is enough and you want a free plan with no request cap.
  • IPLocate: when you want another daily-limit free plan with full data access.
  • ip2geo.dev: when a monthly allowance suits your traffic better than a daily one.

Questions people ask

Is The IP API free?

Yes. The Free plan costs $0 forever and allows 1,000 requests per day. It needs no card, and it allows commercial use.

What happens when I go over The IP API free limit?

You get a 429 error until the daily limit resets. The pricing page lists no overage charges.

Does The IP API need a credit card?

No. The pricing page says no card is required to start on the free plan. You sign up for an account to get your API key.

How to get started

  1. Sign up for a free account at theipapi.com. No card is needed to start.
  2. Copy your API key from your account.
  3. Send a GET request to https://api.theipapi.com/v1/ip/ followed by the IP address, with your key in the api_key parameter.
  4. Read the JSON response: check that status is OK, then use the fields under body.
  5. Call the asn endpoint for AS number lookups, or the batch endpoint with a POST request to check many IPs at once.
  6. Watch your usage in the dashboard. Handle a 429 error as a sign you passed the quota.

Other free apis & data options

Same category, safest first.

Open-Meteo · APIs & data
10,000 API calls per day · 600 API calls per minute and 5,000 per hour · 300,000 API calls per month listed; monthly limits currently not enforced
Billing risk: None
No card
Esri · APIs & data
2M basemap tiles or 1K basemap sessions per month · 20K geocodes (not stored) per month · 20K routes and 5K service areas per month
Billing risk: None
No card
ipwho.org · APIs & data
2,000 lookups/day on the free plan, hard limit · All fields included on every plan, no feature gating · No credit card required
Billing risk: None
No card
ip-api · APIs & data
45 requests per minute per IP · HTTP only (no HTTPS) · No API key or registration required
Billing risk: None
No card