01
Getting started
Every lookup is a single GET request authenticated with your API key, and every response is JSON. Three steps to your first answer:
- Get a key. Create a free account, verify your email, then copy the key from Dashboard → API access. Free keys include 1.000 requests a day.
- Call the API with any IPv4 address, IPv6 address or domain in the path.
- Read the JSON. A
200carries the fields below; anything else is an error with amessage.
https://ipapi.gr/api/lookup/{input}?key=YOUR_API_KEY
Replace {input} with either an IP address (IPv4 or IPv6) or a domain name you want to look up. More languages (Go, PHP) and patterns for usage checks, retries and caching are on the code examples page.
curl "https://ipapi.gr/api/lookup/8.8.8.8?key=YOUR_API_KEY"
const res = await fetch('https://ipapi.gr/api/lookup/8.8.8.8?key=' + process.env.IPAPI_KEY); const data = await res.json(); if (!res.ok) throw new Error(data.message); console.log(data.country, data.isp);
import os import requests r = requests.get("https://ipapi.gr/api/lookup/8.8.8.8", params={"key": os.environ["IPAPI_KEY"]}, timeout=10) data = r.json() if r.status_code != 200: raise RuntimeError(data["message"]) print(data["country"], data["isp"])
{
"ip": "8.8.8.8",
"country": "United States",
"country_code": "US",
"city": "Mountain View",
"region": "California",
"latitude": 37.436551599813335,
"longitude": -122.09383799087185,
"timezone": "America/Los_Angeles",
"isp": "Google LLC",
"organization": "Google LLC",
"asn": "15169",
"zipcode": "94043",
"timestamp": "2025-05-13T08:29:59.370Z"
}
That's it. On a paid plan the same response also carries a risk object with the AI, crawler and scanner flags. If the first call fails, it is almost always one of these:
| Status | message | Fix |
|---|---|---|
| 401 | API key is required… | Add ?key=YOUR_API_KEY to the URL |
| 401 | Invalid API key | Copy the key again from the dashboard; deleted keys stop working at once |
| 403 | Account not verified | Open the link in the verification email |
| 400 | Invalid input | Send one IPv4 address, IPv6 address or domain name, nothing else |
02
Authentication
All API requests require authentication using an API key. Provide your API key as a query parameter:
?key=your_api_key_here
The API key must be provided as a query parameter in all requests. A request without a key, or with a key that does not exist, is rejected with 401. An account whose email address is not yet verified, or that is locked, gets 403, as does a key used from outside its restrictions. The exact bodies are under Error handling.
Plans and daily limits
| Plan | What you get | Requests / day |
|---|---|---|
| Free | Location and network data for IPv4, IPv6 and domains, single and batch lookups | 1.000 |
| Developer | 9,00 € a month, plus VAT where applicable. Everything in Free, plus the AI, crawler and scanner flags | 10.000 |
| Growth | 29,00 € a month, plus VAT where applicable. Everything in Free, plus the AI, crawler and scanner flags | 50.000 |
| Business | 79,00 € a month, plus VAT where applicable. Everything in Free, plus the AI, crawler and scanner flags | 250.000 |
| Scale | 199,00 € a month, plus VAT where applicable. Everything in Free, plus the AI, crawler and scanner flags | 1.000.000 |
Prices and limits are the plans on sale today; see pricing for the full comparison. You can create up to 20 API keys per account under Dashboard → API access, each with its own description (for example one per server or app). All keys share your account's daily limit, and deleting a key stops it working immediately.
Usage per key
The Usage by key panel under Dashboard → API access shows how many requests each key used today, over the last 7 days and per day for the last 30 days (UTC), so you can see which key is using your shared daily allowance. Every lookup that counts towards the limit is counted for the key that made it; a batch request is counted per lookup, exactly as it is charged against the limit. Deleted keys keep their history, labelled with the last four characters of the key.
Key restrictions
Each key can be limited to where it may be used, so a copy of it is useless anywhere else. Open Dashboard → API access and select the badge under a key's description (it reads Unrestricted until you add rules).
- Allowed IP addresses: up to 20 IPv4 or IPv6 addresses or CIDR ranges, for example
203.0.113.7,198.51.100.0/24or2001:db8::/32. The address checked is the client that connects to the API. - Allowed websites: up to 20 host names, for example
example.comor*.example.com, checked against the request'sOriginheader, or the host of theRefererwhen there is noOrigin.*.example.commatches subdomains such asapp.example.combut notexample.comitself; add both if you need both. Scheme and port are ignored. A request that sends neither header is refused.
An empty list means no restriction, so keys without rules work exactly as before. When both lists have entries, a request must match both. A refused request gets 403:
{
"status": "error",
"message": "This API key is not allowed from this IP address.",
"details": "The request came from 198.51.100.23, which is not in this key's allowed list. Edit the key's restrictions in the dashboard."
}
From a website that is not on the list, message is "This API key is not allowed from this website."
Browsers set Origin and Referer themselves, but anything outside a browser (curl, a script, a server) can send whatever values it likes. A website list stops casual reuse of a key copied from your page; it does not stop a determined attacker. IP rules are the strong control: use them for keys that run on your servers.
03
API endpoints
Four read-only endpoints, all on https://ipapi.gr and all authenticated with ?key=.
| Method | Path | Purpose |
|---|---|---|
| GET | /api/lookup/{input} | Look up an IPv4/IPv6 address or a domain |
| GET | /api/lookup/self | Look up the IP address the request comes from |
| POST | /api/lookup/batch | Look up to 100 IPs or domains in one request |
| GET | /api/status | Your plan, daily limit and usage |
IP or domain lookup
/api/lookup/{input}
Examples
- IP lookup:
/api/lookup/8.8.8.8?key=YOUR_API_KEY - IPv6 lookup:
/api/lookup/2001:4860:4860::8888?key=YOUR_API_KEY - Domain lookup:
/api/lookup/google.com?key=YOUR_API_KEY
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| input | path | string | Yes | IPv4 address, IPv6 address, or domain name to look up. Domains are resolved to their first IPv4 (A) record. |
| key | query | string | Yes | Your API key (provided as ?key=YOUR_API_KEY) |
| dev | query | boolean | No | Include maintenance information in response. Send &dev or &dev=true. |
Response 200
{
"ip": "8.8.8.8",
"country": "United States",
"country_code": "US",
"city": "Mountain View",
"region": "California",
"latitude": 37.436551599813335,
"longitude": -122.09383799087185,
"timezone": "America/Los_Angeles",
"isp": "Google LLC",
"organization": "Google LLC",
"asn": "15169",
"zipcode": "94043",
"timestamp": "2025-05-13T08:29:59.370Z"
}
When {input} is a domain, the response also contains "domain" with the name you asked for, and ip is the address it resolved to.
Your own IP
/api/lookup/self
Looks up the IP address your request comes from, so you don't need to know it in advance. It takes the same key and dev parameters and returns the same response as IP or domain lookup. The address is the public IP of whatever machine sends the request.
Response fields
| Field | Type | Description |
|---|---|---|
| ip | string | The IP address that was looked up (the resolved address for domain lookups) |
| domain | string | Only for domain lookups: the domain you requested |
| country | string | Country name |
| country_code | string | Two-letter country code |
| region | string | Region or state |
| city | string | City |
| zipcode | string | Postal code |
| latitude | number | Approximate latitude |
| longitude | number | Approximate longitude |
| timezone | string | IANA time zone, e.g. America/Los_Angeles |
| isp | string | Internet service provider |
| organization | string | Organization that holds the address |
| asn | string | Autonomous system number |
| timestamp | string | ISO 8601 time the data was looked up |
| risk Paid plans | object | is_ai, is_crawler, is_scanner booleans. See Risk flags. |
| maintenance | object | Only with &dev. See Developer mode. |
When there is no value for a field, the field is still present and set to the string "No Data". This applies to every field above except ip, timestamp and risk, including latitude and longitude, which are otherwise numbers. Check for "No Data" before using a value.
Risk flags (paid plans)
Every paid plan also receives AI, crawler and scanner flags in its responses:
{
"ip": "8.8.8.8",
"country": "United States",
"country_code": "US",
"city": "Mountain View",
"region": "California",
"latitude": 37.436551599813335,
"longitude": -122.09383799087185,
"timezone": "America/Los_Angeles",
"isp": "Google LLC",
"organization": "Google LLC",
"asn": "15169",
"zipcode": "94043",
"timestamp": "2025-05-13T08:29:59.370Z",
"risk": {
"is_ai": false,
"is_crawler": false,
"is_scanner": false
}
}
Each field is a boolean that tells you whether the address belongs to a known bot operator. Check the flags rather than the user agent.
AI risk.is_ai
The IP belongs to a known AI crawler or agent operator: training crawlers, AI search and retrieval fetchers, agents and AI tools (for example GPTBot, ClaudeBot, PerplexityBot).
Crawler risk.is_crawler
The IP belongs to a known search-engine, SEO, site-audit or archive crawler (for example Googlebot, AhrefsBot, Semrush SiteAuditBot). An IP can be both is_ai and is_crawler.
Scanner risk.is_scanner
The IP belongs to a known internet or research scanner (for example Censys, Shodan, Shadowserver).
A value of false means the address is not a known bot of that kind. It does not prove the traffic is human or that the IP is safe.
The bot signals coverage page lists every AI, crawler and scanner operator these flags recognise. For worked examples, see AI crawler detection, search-bot verification and scanner detection.
Developer mode
Add &dev to your request URL while you build your integration. The response then includes a maintenance object confirming the request:
{
// ... standard fields ...
"maintenance": {
"status": "success",
"ip": "8.8.8.8"
}
}
| maintenance field | Description |
|---|---|
| status | success when the lookup completed |
| ip | The IP address that was looked up |
The maintenance object is only included when the &dev parameter is present in the request URL. It is meant for debugging during development.
Batch lookup
/api/lookup/batch?key=YOUR_API_KEY
Look up to 100 IP addresses and domains in one request. Every item goes through the same lookup and plan rules as IP or domain lookup, so each successful result has exactly the fields described in Response fields, including risk on plans with risk flags.
Request
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| key | query | string | Yes | Your API key, as ?key=YOUR_API_KEY. The public demo key cannot be used for batches. |
| ips | body | string[] | Yes | 1 to 100 IPv4 addresses, IPv6 addresses or domain names |
| dev | query | boolean | No | Adds maintenance to every successful item, as in Developer mode |
curl -X POST "https://ipapi.gr/api/lookup/batch?key=YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"ips": ["8.8.8.8", "8.8.8.8", "not-an-ip"]}'
Response 200
{
"results": [
{
"query": "8.8.8.8",
"ip": "8.8.8.8",
"country": "United States",
"country_code": "US",
"city": "Mountain View",
"region": "California",
"latitude": 37.436551599813335,
"longitude": -122.09383799087185,
"timezone": "America/Los_Angeles",
"isp": "Google LLC",
"organization": "Google LLC",
"asn": "15169",
"zipcode": "94043",
"timestamp": "2025-05-13T08:29:59.370Z"
},
{
"query": "8.8.8.8",
"ip": "8.8.8.8",
"country": "United States",
"country_code": "US",
"city": "Mountain View",
"region": "California",
"latitude": 37.436551599813335,
"longitude": -122.09383799087185,
"timezone": "America/Los_Angeles",
"isp": "Google LLC",
"organization": "Google LLC",
"asn": "15169",
"zipcode": "94043",
"timestamp": "2025-05-13T08:29:59.370Z"
},
{
"query": "not-an-ip",
"status": "error",
"code": 400,
"message": "Invalid input",
"details": "Please provide a valid IPv4, IPv6 address, or domain name"
}
],
"count": 3,
"charged": 1
}
| Field | Type | Description |
|---|---|---|
| results | array | One entry per item, in the order you sent them. Each entry has query (your item, unchanged) plus either the lookup fields, or status: "error" with code, message and usually details. |
| count | number | Number of items you sent, duplicates included |
| charged | number | Requests counted against your daily limit for this batch |
One bad item does not fail the batch: it gets an error entry and the HTTP status stays 200. Per-item codes are the ones the single lookup would return: 400 for an invalid input or a domain that does not resolve, 500 when no data could be returned for it, and 504 when the batch ran out of time before the item finished.
Counting and limits
- Each distinct item counts as one request against your daily limit. Identical strings in the same batch are looked up and counted once.
- Items that are not a valid IP address or domain name are returned as errors and not counted. Domains that fail to resolve are counted, as with the single lookup.
- The whole batch is counted before any lookup starts. If your remaining allowance is smaller than the batch, the request is refused with
429and nothing is counted. - At most 100 items per request, each a string of 1 to 253 characters. The JSON body can be up to 100 kB.
- A batch has a time budget: after about 6.5 seconds it returns what has finished and marks the remaining items as
504errors; send those again in a new batch.
{
"status": "error",
"message": "Rate limit exceeded",
"details": "This batch needs 40 requests but only 12 of your daily limit of 1.000 requests remain. Please try again after 5/21/2025, 12:00:00 AM",
"resetTime": "2025-05-21T00:00:00.000Z",
"required": 40,
"remaining": 12
}
{
"status": "error",
"code": 400,
"message": "Invalid batch request",
"details": "Too many items: 120. A batch can contain at most 100 items."
}
A 400 for the whole batch means the body itself is wrong: not a JSON object with an ips array, an empty array, more than 100 items, or an item that is not a string of 1 to 253 characters. Nothing is counted.
API status
/api/status
Check your API key status, rate limits, and usage statistics. Calling it does not count towards your daily limit.
Parameters
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
| key | query | string | Yes | Your API key (provided as ?key=YOUR_API_KEY) |
Response 200
{
"status": "success",
"data": {
"authenticated": true,
"plan": "developer",
"rateLimit": {
"limit": 10000,
"window": "24h",
"remaining": 9850,
"reset": "2025-05-21T00:00:00.000Z",
"used": 150,
"percentage": 2
}
}
}
{
"status": "success",
"data": {
"authenticated": true,
"plan": "free",
"rateLimit": {
"limit": 1000,
"window": "24h",
"remaining": 850,
"reset": "2025-05-21T00:00:00.000Z",
"used": 150,
"percentage": 15
}
}
}
The response includes your current plan type, rate limit details, and usage statistics. reset is the next midnight UTC and percentage is capped at 100. The same numbers are also sent as rate-limit headers.
Error response 401
{
"status": "error",
"message": "Invalid API key"
}
Use this endpoint to monitor your API usage and ensure you're within your rate limits. The response includes the number of requests remaining and when your limit will reset.
04
Rate limiting
API requests are rate-limited to prevent abuse. The current limits are:
Free
1.000
requests per day
Developer
10.000
requests per day
Growth
50.000
requests per day
Business
250.000
requests per day
Scale
1.000.000
requests per day
Paid plan prices exclude VAT; bot flags come with every paid plan. See pricing.
Limits are enforced per account: all of your API keys share the same daily allowance. Exceeding the limit will result in a 429 Too Many Requests error. The limits reset every day at midnight UTC.
Headers
| Header | Sent on | Value |
|---|---|---|
| X-RateLimit-Limit | /api/status | Your daily request limit |
| X-RateLimit-Remaining | /api/status | Requests left until the next reset |
| X-RateLimit-Reset | /api/status | ISO 8601 time of the next reset (midnight UTC) |
| X-Request-ID | every response | Unique ID for the request; quote it when contacting support |
Lookup responses do not carry rate-limit headers. Poll /api/status to track usage, and read resetTime from a 429 response to know when to resume:
{
"status": "error",
"message": "Rate limit exceeded",
"details": "You have exceeded your daily limit of 1.000 requests. Please try again after 5/21/2025, 12:00:00 AM",
"resetTime": "2025-05-21T00:00:00.000Z"
}
Usage alerts & webhooks
Get told when today's requests pass a share of your daily allowance. In Dashboard → Usage → Usage alerts pick up to five thresholds from 1% to 100% (default: 80% and 100%) and deliver them by email, to a webhook, or both. Each threshold fires at most once per account per UTC day; the counter, and the alerts, reset at midnight UTC. A batch that jumps over several thresholds fires each of them. 100% fires when a request uses the last of the allowance (or, if that was missed, on the first 429).
Webhooks are a POST of JSON to a public HTTPS URL you choose. Private, loopback, link-local and other reserved addresses are refused, redirects are not followed and the response body is ignored. Answer with any 2xx within 5 seconds.
{
"event": "usage.threshold_reached",
"threshold": 80,
"used": 800,
"limit": 1000,
"reset_at": "2026-11-13T00:00:00.000Z",
"account": "your-username",
"sent_at": "2026-11-12T15:30:02.000Z"
}
| Field | Value |
|---|---|
| event | usage.threshold_reached (below 100%), usage.limit_reached (100%) or usage.test (the dashboard's “Send test” button) |
| threshold | The threshold that fired, in percent |
| used | Requests used today (UTC) when it fired |
| limit | Your daily request limit |
| reset_at | ISO 8601 time of the next reset (midnight UTC) |
| account | Your account's username (no email address or key) |
| sent_at | ISO 8601 time the event was created |
Headers: Content-Type: application/json, X-IPAPI-Event (the event name), X-IPAPI-Delivery (a unique ID, the same on every retry of one event: use it to ignore duplicates) and X-IPAPI-Signature.
Verifying the signature
X-IPAPI-Signature: t=1762961402,v1=5257a8… where t is a Unix timestamp and v1 is the hex HMAC-SHA256 of t, a dot, and the raw request body, keyed with your webhook's signing secret (reveal or rotate it in the dashboard). Compute it over the raw bytes you received, compare in constant time, and reject timestamps more than 5 minutes old.
const crypto = require('crypto'); const express = require('express'); const app = express(); function verifyIpapiSignature(rawBody, header, secret, toleranceSeconds = 300) { const parts = Object.fromEntries(String(header || '').split(',').map((kv) => kv.split('='))); const t = Number(parts.t); if (!Number.isInteger(t) || !parts.v1) return false; if (Math.abs(Date.now() / 1000 - t) > toleranceSeconds) return false; const expected = crypto.createHmac('sha256', secret).update(`${t}.`).update(rawBody).digest(); const given = Buffer.from(parts.v1, 'hex'); return given.length === expected.length && crypto.timingSafeEqual(given, expected); } // express.raw keeps the exact bytes: re-serialised JSON would not match. app.post('/hooks/ipapi', express.raw({ type: 'application/json' }), (req, res) => { if (!verifyIpapiSignature(req.body, req.get('X-IPAPI-Signature'), process.env.IPAPI_WEBHOOK_SECRET)) { return res.sendStatus(400); } const alert = JSON.parse(req.body); console.log(alert.event, alert.threshold, alert.used, alert.limit); res.sendStatus(204); });
import hashlib, hmac, time def verify_ipapi_signature(raw_body: bytes, header: str, secret: str, tolerance: int = 300) -> bool: parts = dict(p.split("=", 1) for p in (header or "").split(",") if "=" in p) try: t = int(parts["t"]) except (KeyError, ValueError): return False if abs(time.time() - t) > tolerance: return False expected = hmac.new(secret.encode(), f"{t}.".encode() + raw_body, hashlib.sha256).hexdigest() return hmac.compare_digest(expected, parts.get("v1", "")) # Flask: use request.get_data() (the raw bytes), not request.json. # ok = verify_ipapi_signature(request.get_data(), request.headers.get("X-IPAPI-Signature"), os.environ["IPAPI_WEBHOOK_SECRET"])
Retries
A delivery that times out, cannot connect, or gets 408, 425, 429 or a 5xx is retried: at most 3 attempts in total, about 2 and then 10 seconds apart, with the same body, X-IPAPI-Delivery ID and a fresh signature timestamp. A 3xx or any other 4xx is not retried. Retries are best effort: an event that still fails is not sent again later. The dashboard lists the last 50 deliveries with their result. Rotating the secret takes effect immediately.
05
Error handling
Errors use standard HTTP status codes and a JSON body with "status": "error" and a human-readable message. Most lookup errors also include a numeric code and a details string:
{
"status": "error",
"code": 400,
"message": "Domain resolution failed",
"details": "Could not resolve domain",
"timestamp": "2025-05-20T08:04:52.790Z"
}
Status codes
| Status | message | When |
|---|---|---|
| 400 | Invalid input | {input} is not a valid IPv4/IPv6 address or domain name |
| 400 | Domain resolution failed | The domain has no IPv4 (A) record or does not exist |
| 400 | Invalid batch request | The batch body is not an object with a valid ips array (batch) |
| 400 | Invalid JSON body | A POST body that is not valid JSON |
| 401 | API key is required… | No ?key= parameter |
| 401 | Invalid API key | The key does not exist or was deleted |
| 403 | Account not verified | The account's email address has not been verified yet |
| 403 | Account locked | The account is locked; contact support |
| 403 | This API key is not allowed… | The request is outside the key's IP or website restrictions |
| 404 | Endpoint not found | The path is not one of the endpoints |
| 413 | Request body too large… | A POST body over 100 kB |
| 429 | Rate limit exceeded | Daily limit reached; see resetTime |
| 500 | varies | Server error, or no data could be returned for this input; retry with backoff |
| 503 | …under maintenance… | Scheduled maintenance; the body has a maintenance object |
| 504 | Lookup timed out | The lookup did not finish in time; safe to retry |
Use the HTTP status (and code where present), not the message text. Messages are meant for people and may be reworded. Every response, errors included, carries an X-Request-ID header: quote it when you contact support.
Exact error bodies
The exact JSON for each case. Values in details, dates and IDs are examples.
400 Invalid input
{
"status": "error",
"code": 400,
"message": "Invalid input",
"details": "Please provide a valid IPv4, IPv6 address, or domain name"
}
400 Domain resolution failed
{
"status": "error",
"code": 400,
"message": "Domain resolution failed",
"details": "Could not resolve domain",
"timestamp": "2025-05-20T08:04:52.790Z"
}
400 Invalid JSON body
{
"status": "error",
"code": 400,
"message": "Invalid JSON body"
}
401 API key missing
{
"status": "error",
"message": "API key is required. Provide it as ?key=YOUR_API_KEY"
}
401 Invalid API key
{
"status": "error",
"message": "Invalid API key"
}
403 Account not verified
{
"status": "error",
"message": "Account not verified",
"details": "Please verify your email address before using the API"
}
403 Account locked
{
"status": "error",
"message": "Account locked",
"details": "This account has been locked. Contact support for details."
}
403 Key not allowed from this IP
{
"status": "error",
"message": "This API key is not allowed from this IP address.",
"details": "The request came from 198.51.100.23, which is not in this key's allowed list. Edit the key's restrictions in the dashboard."
}
403 Key not allowed from this website
{
"status": "error",
"message": "This API key is not allowed from this website.",
"details": "The request's Origin/Referer host is not in this key's allowed websites."
}
404 Endpoint not found
{
"status": "error",
"code": 404,
"message": "Endpoint not found",
"details": "The requested resource does not exist",
"timestamp": "2025-05-20T08:04:52.790Z",
"path": "/api/lookups/8.8.8.8?key=%5BREDACTED%5D"
}
413 Body too large
{
"status": "error",
"code": 413,
"message": "Request body too large (max 100 kB)"
}
429 Rate limit exceeded
{
"status": "error",
"message": "Rate limit exceeded",
"details": "You have exceeded your daily limit of 1.000 requests. Please try again after 5/21/2025, 12:00:00 AM",
"resetTime": "2025-05-21T00:00:00.000Z"
}
500 Internal server error
{
"status": "error",
"code": 500,
"message": "Internal server error",
"details": "An unexpected error occurred"
}
503 Maintenance
{
"error": "Service Unavailable",
"message": "Planned upgrade, back by 06:00 UTC.",
"maintenance": {
"message": "Planned upgrade, back by 06:00 UTC.",
"expires_at": "2025-05-21T06:00:00.000Z"
}
}
504 Lookup timed out
{
"status": "error",
"code": 504,
"message": "Lookup timed out",
"request_id": "b5f1c9e2-7d3a-4c1e-9a0f-2e6d8c4b7a91"
}
06
Best practices
What a production integration usually gets right:
- Keep the key on your server. Anything sent to a browser can be read by anyone. For a server key, add IP restrictions; one key per app makes usage per key meaningful.
- Set a timeout and fail open. A few seconds is plenty. If a lookup fails, let the request through or fall back to your default, rather than blocking your users.
- Retry only what can succeed. Retry
500,503and504with exponential backoff; never retry400,401or403; after a429wait forresetTime(example). - Cache answers on your side. The same IP tends to come back; a short per-IP cache saves requests and latency (example). Keep the TTL modest if you act on the bot flags.
- Treat
"No Data"as missing. Any field exceptip,timestampandriskcan be"No Data", includinglatitudeandlongitude. - Check for
riskbefore reading it. It is present only on paid plans, so code that runs on a free key must not assume it. - Use batch for bulk work. Up to 100 items per batch; duplicates in a batch are counted once.
- Watch your allowance. Poll
/api/status(free) or set usage alerts so you hear about 80% before you hit 100%. - Skip private addresses.
127.0.0.1,10.0.0.0/8,::1and similar have no location; don't spend a request on them.
07
Support
If you need help or have questions, you can:
- Visit your dashboard for usage statistics and API key management
- Email us at [email protected]
- Browse the code examples and the FAQ
- Check what changed recently
- Report a vulnerability through the security page
For urgent issues, include the X-Request-ID from the response, the time of the request and what you expected. Never send your full API key; the first few characters are enough to identify it.
Ready to make your first request?
Free keys include 1.000 requests per day.