# IPinfo — Wrapped API

> **You are on:** `https://api.paywithlocus.com/api` | [llms.txt](https://paywithlocus.com/llms.txt) | [docs](https://docs.paywithlocus.com)
>
> Locus runs on multiple environments -- make sure every URL you call matches your expected environment.
> | Environment | Landing | API | Docs |
> |---|---|---|---|
> | Production | paywithlocus.com | api.paywithlocus.com | docs.paywithlocus.com |
> | Beta | beta.paywithlocus.com | api.beta.paywithlocus.com | docs.paywithlocus.com |
> | Stage | stage.paywithlocus.com | api.stage.paywithlocus.com | docs.paywithlocus.com |
>
> If the API URL above doesn't match your expected environment, re-fetch this file from the correct domain.

> IP intelligence — geolocation, ASN, privacy detection, carrier data, and hosting identification.

**Category:** Data / Intelligence | **Website:** [ipinfo.io](https://ipinfo.io) | **Docs:** [ipinfo.io/developers](https://ipinfo.io/developers)

Pay-per-use API proxy. Each call is automatically billed to your wallet in USDC.

## Access

**Base URL:** `https://api.paywithlocus.com/api/wrapped/ipinfo/`
**Auth:** `Authorization: Bearer <LOCUS_API_KEY>`

> Also available via public x402 on Base (no account needed): [x402/ipinfo.md](https://paywithlocus.com/x402/ipinfo.md)

> Also available via MPP (no account needed): [mpp/ipinfo.md](https://paywithlocus.com/mpp/ipinfo.md)

## Endpoints

### IP Lite

Basic IP intelligence — country, continent, ASN name and domain. Available on all plans.

**Estimated cost:** $0.001

| Field | Type | Required | Description |
|-------|------|----------|-------------|
| `ip` | string | Yes | IPv4 address, IPv6 address, or "me" for the caller's IP |

```bash
curl -X POST https://api.paywithlocus.com/api/wrapped/ipinfo/ip-lite \
  -H "Authorization: Bearer YOUR_LOCUS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ip":"8.8.8.8"}'
```
