# IP geolocation

GET https://horizonpulse.dev/api/ip/geo

- Price: $0.004 per call. The exact amount is in the 402.
- Pay with: USDC on Base
- Family: Sites and security (/catalog/sites-security.md)

## What it returns
Country code and autonomous system (ASN number and organisation) for one public IPv4 or IPv6 address, from the bundled DB-IP Lite country and ASN databases, updated monthly. Approximate, and never a street address or a person. Do not use it to identify or locate an individual. IP Geolocation by DB-IP, https://db-ip.com, CC BY 4.0. Private or reserved addresses and bad input: not charged. USDC on Base only. <a href='https://db-ip.com'>IP Geolocation by DB-IP</a>

## Inputs
See /openapi.json for this path.

## If the call fails
- USDC on Base: errors are not charged, apart from the exceptions noted on a route.

## Try it
- Call it unpaid to read the 402: GET https://horizonpulse.dev/api/ip/geo
- Setup: /setup.md
