# IPinfo API reference

> The IPinfo Lite API returns country, continent and autonomous system (ASN, organization name and domain) for an IP address. IPinfo describes Lite as free with unlimited API access. Requests go to https://api.ipinfo.io. Send the token as a Bearer header, as HTTP Basic (token as username) or as the…

Source: https://osinttools.io/apis/ipinfo/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/ipinfo/

- Base URL: https://api.ipinfo.io
- Authentication: Bearer token in the `Authorization` header. Get a key: https://ipinfo.io/signup The token can also be sent as the token query parameter or as HTTP Basic.
- Free tier: yes
- Rate limits: The Lite API has no daily or monthly limit per the docs.
- Vendor docs: https://ipinfo.io/developers

## Overview

The IPinfo Lite API returns country, continent and autonomous system (ASN, organization name and domain) for an IP address. IPinfo describes Lite as free with unlimited API access.

Requests go to `https://api.ipinfo.io`. Send the token as a Bearer header, as HTTP Basic (token as username) or as the `token` query parameter. Appending a field name, such as `/lite/8.8.8.8/country_code`, returns just that field as plain text.

This reference covers the Lite lookups only. The batch Lite endpoint (`POST /batch/lite`, up to 1,000 IPs per call) and the paid Core and Plus lookups are described in the docs and not included here.

## Errors

| Status | Meaning |
| --- | --- |
| 429 | A paid plan exceeded its monthly request limit |

## Lite lookups

### Country, continent and ASN for an IPv4 or IPv6 address.

`GET /lite/{ip}`

- Takes: IP address
- Footprint: passive (the target is not contacted)
- Plan: Free (Lite)

Returns the Lite record for the address. The docs note an extra field for anycast or bogon addresses without naming it.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `ip` | path | string | yes | IPv4 or IPv6 address Example: 203.0.113.7 |

Response fields:

- `ip` (string): The address queried
- `asn` (string): Autonomous System Number, e.g. AS64496
- `as_name` (string): Organization name
- `as_domain` (string): Organization's domain
- `country_code` (string): ISO 3166-1 alpha-2 country code
- `country` (string): Country name
- `continent_code` (string): Two-letter continent code
- `continent` (string): Continent name

```bash
curl 'https://api.ipinfo.io/lite/203.0.113.7' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "ip": "203.0.113.7",
  "asn": "AS64496",
  "as_name": "Example Networks",
  "as_domain": "example.net",
  "country_code": "NL",
  "country": "Netherlands",
  "continent_code": "EU",
  "continent": "Europe"
}
```

### The same Lite record for the IP address making the request.

`GET /lite/me`

- Footprint: passive (the target is not contacted)
- Plan: Free (Lite)

Looks up the caller's own address, so no IP is needed.

Response fields:

- `ip` (string): The caller's address
- `asn` (string): Autonomous System Number
- `as_name` (string): Organization name
- `as_domain` (string): Organization's domain
- `country_code` (string): ISO 3166-1 alpha-2 country code
- `country` (string): Country name
- `continent_code` (string): Two-letter continent code
- `continent` (string): Continent name

```bash
curl 'https://api.ipinfo.io/lite/me' \
  -H 'Authorization: Bearer YOUR_API_KEY'
```

Example response (200):

```json
{
  "ip": "198.51.100.23",
  "asn": "AS64497",
  "as_name": "Example Telecom",
  "as_domain": "example.org",
  "country_code": "DE",
  "country": "Germany",
  "continent_code": "EU",
  "continent": "Europe"
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
