---
title: "IP geolocation"
method: GET
path: "/api/geo"
tags: ["Location"]
---

# IP geolocation

`GET /api/geo`

## Request

- Base URL: `https://api.webbersites.com`
- URL: `https://api.webbersites.com/api/geo`
- Auth: API key in header `X-PAYMENT`

IP geolocation: country, region, city, coordinates, and timezone for any IPv4 or IPv6 address. Fast in-memory lookup for analytics, fraud, and personalization agents.

Price: $0.001 per call, paid in USDC via the x402 protocol (see the x402 security scheme).

## Query parameters

- `ip` string

## Response `200`

Success

- object
  - `ip` string
  - `country` string
  - `region` string
  - `city` string
  - `timezone` string
  - `ll` unknown[]
    - unknown

## Other responses

- `402`: Payment required — the response body lists accepted payment methods (amount, asset, network, pay-to address). Retry the request with a signed X-PAYMENT header.

---

[API](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api.md) · [All operations](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/llms.txt) · [OpenAPI document](https://skmtc.dev/webbersites/apis/webbersites-x402-data-api/revisions/c14a76c67a94?raw)
