IPGeolocation.io IP Geolocation API

IP geolocation API endpoints for looking up geographic location, network routing, ASN ownership, company attribution, timezone, currency, security threat intelligence, abuse contact, and User-Agent data. Accepts IPv4 addresses, IPv6 addresses, and domain names. The single lookup endpoint (`GET /v3/ipgeo`) resolves one IP or domain per request. The bulk lookup endpoint (`POST /v3/ipgeo-bulk`) accepts up to 50,000 entries per request and requires a paid plan.

GitHub OpenAPI

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v3/ipgeo Look up geolocation for one IP or domain · IPGeolocation.io Single IP Geolocation Lookup #
Ask an LLM
“How do I find the country and timezone of a single IP address?”
“Can I get the ASN and company behind one IP?”
Tell an agent
Look up geolocation for {ip}.
Find the country and timezone of {ip} in language {lang}.
POST /v3/ipgeo-bulk Bulk look up geolocation for many IPs or domains · IPGeolocation.io Bulk IP Geolocation Lookup #
Ask an LLM
“How do I get location and network details for a whole list of IP addresses in one request?”
“Can I look up thousands of domains at once instead of one at a time?”
Tell an agent
Bulk geolocate this list of IPs and domains: {ips}.
Run a batch lookup on {ips} and return only the {fields} fields for each entry.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/ipgeolocation:ipgeolocation-ip-geolocation-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ipgeolocation-ip-geolocation-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: 'IPGeolocation.io: IPGeolocation IP Geolocation API'
  version: '3.0'
  description: 'Look up geolocation, network, company, ASN, timezone, currency, abuse contact, and security

    threat data for any IPv4 address, IPv6 address, or domain name. The API also parses

    User-Agent strings when requested. Two endpoints are available:


    - **Single lookup** (`GET /v3/ipgeo`) returns data for one IP or domain per request. - **Bulk lookup** (`POST /v3/ipgeo-bulk`) accepts up to 50,000 IPs or domains in a

    single request. Requires a paid plan. Use query parameters to control which optional modules are included, which fields are

    returned, and which fields are excluded. Both endpoints share the same query parameters

    and the same response schema per IP. ## Authentication


    Two authentication methods are supported:


    ### API Key


    Pass your API key as the `apiKey` query parameter on every request. You can find your

    key in the IPGeolocation dashboard. Store it in

    server-side environment variables. Avoid exposing it in client-side JavaScript. ### Request Origin (CORS)


    Available on paid plans only. Whitelist your domain in the dashboard under the

    "API Keys" section. Once configured, requests from that domain (and all its subdomains)

    are accepted without passing `apiKey`. Enter your root domain (e.g. `example.com`),

    not the full URL. Each plan has a limit on the number of extra API keys and request origins:


    | Plan | Extra API Keys + Request Origins |

    |---|---|

    | Starter (150K requests) | 1 |

    | Core (250K requests) | 1 |

    | Plus (500K requests) | 2 |

    | Pro (1M requests) | 2 |

    | Business (2M requests) | 3 |

    | Premium (5M requests) | 3 |


    Additional keys or origins can be added for $2.50 per month each. ## Response Formats


    The API supports JSON (default) and XML output. - Set the `output` query parameter to `json` or `xml`. - Alternatively, set the `Accept` header to `application/json`, `application/xml`,

    or `text/xml`. If neither is specified, the response is returned as JSON. XML responses use a

    `LinkedHashMap` root element. ## Credits


    Credits are charged only on successful HTTP 200 responses. The exact charge for any

    request is returned in the `X-Credits-Charged` response header. | Condition | Credits charged |

    |---|---|

    | Base lookup (location, ASN, company, network, currency, timezone) | 1 |

    | Adding `dma_code`, `geo_accuracy`, `hostname`, or `user_agent` | 0 extra (still 1) |

    | Adding `security` | +2 (total 3) |

    | Adding `abuse` | +1 (total 2) |

    | Adding `security` and `abuse` | +3 (total 4) |

    | `include=*` (everything) | 4 |

    | Only `security` via `include=security&fields=security` | 2 |

    | Only `abuse` via `include=abuse&fields=abuse` | 1 |


    For bulk requests, total credits equal credits per lookup multiplied by the number of

    valid IPs. Private, bogon, and malformed IPs are not counted as valid and do not

    consume credits. ## Response Language


    Pass `lang` to get translated location names. English is the default. Non-English

    responses require a paid plan. ## Field Filtering


    Use `fields` to cherry-pick specific fields, or `excludes` to drop fields you do not

    need. Both accept dot-notation for nested fields (e.g. `location.city`,

    `security.threat_score`). The `ip` field is always present regardless of filters. ## Parameter Name Casing


    Query parameter names are case-sensitive. Use exact names such as `apiKey`, `ip`,

    `include`, `fields`, `excludes`, `lang`, and `output`. ## Rate Limits


    - **Free plan:** 1,000 requests per day (hard limit). - **Paid plans:** No daily, hourly, or monthly rate limit. If the monthly quota is

    exceeded, requests continue and a surcharge is added to the monthly bill. ## Free vs.'
  contact:
    name: IPGeolocation Support
    url: https://ipgeolocation.io/contact.html
    email: support@ipgeolocation.io
  termsOfService: https://ipgeolocation.io/tos.html
  license:
    name: Proprietary
    url: https://ipgeolocation.io/tos.html
servers:
- url: https://api.ipgeolocation.io
  description: Production
security:
- ApiKeyAuth: []
tags:


# --- truncated at 32 KB (85 KB total) ---
# Full source: https://artifacts.apis.io/ipgeolocation/openapi/ipgeolocation-ip-geolocation-api-openapi.yml