Resolve one latitude/longitude pair into bounded, great-circle-distance-ranked nearby G…
Resolve one latitude/longitude pair into bounded, great-circle-distance-ranked nearby GeoNames populated places with country, first-level region, population, timezone, feature code, and source freshness without a request-time network call.
by apiacre.com · discovered, not yet claimed by its owner · updated 2026-10-08
Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.
What it does
Resolve one latitude/longitude pair into bounded, great-circle-distance-ranked nearby GeoNames populated places with country, first-level region, population, timezone, feature code, and source freshness without a request-time network call.
Tags: reverse-geocoding · coordinates-to-place · coordinates-to-city · nearest-city · latitude-longitude · bazaar · payment-identifier
Call contract
- Method
- POST
- Input
- json
- Output
- json
- Last paid call
- 2026-10-08
{
"latitude": 51.5074,
"limit": 3,
"longitude": -0.1278,
"radius_km": 10
}{
"data": {
"candidateCount": 99,
"limitations": [
"Coverage follows the GeoNames cities500 extract: populated places above 500 r...",
"This endpoint returns nearby populated places, not street addresses, parcels,...",
"The nearest populated place is not proof of the queried coordinate's postal a...",
"Distances are rounded great-circle distances between coordinates and place ce...",
"The search radius is capped at 500 km and results use the bundled 2026-08-18 ..."
],
"matched": true,
"query": {
"latitude": 51.5074,
"limit": 3,
"longitude": -0.1278,
"radiusKm": 10
},
"results": [
{
"admin1": {
"code": "ENG",
"name": "England"
},
"country": {
"code": "GB",
"continentCode": "EU",
"iso3": "GBR",
"name": "United Kingdom"
},
"geonameId": 2643743,
"name": "London",
"rank": 1
}
],
"resultsTruncated": true,
"source": {
"aliasRecords": 766415,
"dataset": "GeoNames cities500",
"placeRecords": 235408,
"provider": "GeoNames",
"snapshotBuiltOn": "2026-08-18"
},
"version": "apiacre-reverse-geocode/1"
},
"meta": {
"cached": false,
"duration_ms": 42,
"next_actions": [
{
"method": "POST",
"path": "/v1/data/us-weather-forecast",
"reason": "Use the queried coordinates for a separately authorized current global forecast.",
"service": "data.us-weather-forecast",
"title": "Global weather forecast"
}
],
"sources": [],
"warnings": []
},
"request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
"service": "data.reverse-geocode",
"version": "1"
}Use with an agent
- Discover. Agents find this listing with
GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP toolsearch_resources, or/discovery/resources. - Inspect. Fetch
/resources/27745.jsonfor the price and payment options. - Pay. Call
GET https://apiacre.com/v1/data/reverse-geocode. The provider answers402with its payment requirements. An x402 client signs one of the options below and retries withPAYMENT-SIGNATURE. - Execute. The provider returns
200with the data. Agent Bazaar is not in the request path and never sees your payment.
For humans
You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, Solana, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.
Pricing & payment
- Price
- $0.002 / request
- Protocol
- x402 v2
- Auth
- No account or API key. Pay per request.
- Networks
- Base, Solana
- Demand
- 1 calls · 1 unique payers in 30d (public x402 Bazaar data)
x402 payment requirements
| Scheme | Network | Asset | Amount | Pay to | Timeout |
|---|---|---|---|---|---|
| exact | Base eip155:8453 | USDC | $0.002 | 0xa0BFa4f07281c9b248DC3AED2217836BcA24869B | 300s |
| exact | Solana solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp | USDC | $0.002 | B4CHWQeQn7GDLZD2aW6hpGG2bEseisBFLZYECA3HDLan | 300s |
accepts[] (raw JSON)
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0xa0BFa4f07281c9b248DC3AED2217836BcA24869B",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "2000",
"amountUsd": 0.002,
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "B4CHWQeQn7GDLZD2aW6hpGG2bEseisBFLZYECA3HDLan",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "2000",
"amountUsd": 0.002,
"maxTimeoutSeconds": 300
}
]Schemas
Output schema (JSON Schema)
{
"properties": {
"example": {
"properties": {
"data": {
"additionalProperties": false,
"properties": {
"candidateCount": {
"type": "integer"
},
"limitations": {
"items": {
"type": "string"
},
"type": "array"
},
"matched": {
"type": "boolean"
},
"query": {
"type": "object"
},
"results": {
"items": {
"type": "object"
},
"type": "array"
},
"resultsTruncated": {
"type": "boolean"
},
"source": {
"type": "object"
},
"version": {
"type": "string"
}
},
"required": [
"version",
"query",
"candidateCount",
"matched",
"resultsTruncated",
"results",
"source",
"limitations"
],
"type": "object"
},
"meta": {
"properties": {
"cached": {
"type": "boolean"
},
"duration_ms": {
"type": "integer"
},
"next_actions": {
"items": {
"type": "object"
},
"type": "array"
},
"sources": {
"items": {
"type": "string"
},
"type": "array"
},
"warnings": {
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"duration_ms",
"cached",
"sources",
"warnings",
"next_actions"
],
"type": "object"
},
"request_id": {
"type": "string"
},
"service": {
"type": "string"
},
"version": {
"type": "string"
}
},
"required": [
"request_id",
"service",
"version",
"data",
"meta"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}Example shape — generated from the schema, not a captured live response
{
"example": {
"data": {
"candidateCount": 0,
"limitations": [
"string"
],
"matched": true,
"query": {},
"results": [
{}
],
"resultsTruncated": true,
"source": {},
"version": "string"
},
"meta": {
"cached": true,
"duration_ms": 0,
"next_actions": [
{}
],
"sources": [
"string"
],
"warnings": [
"string"
]
},
"request_id": "string",
"service": "string",
"version": "string"
},
"type": "string"
}Examples
curl -X POST 'https://apiacre.com/v1/data/reverse-geocode' -H 'Content-Type: application/json' --data '{"latitude":51.5074,"limit":3,"longitude":-0.1278,"radius_km":10}'
# -> 402 Payment Required; read PAYMENT-REQUIRED
# retry the identical request with PAYMENT-SIGNATUREconst res = await fetch("https://apiacre.com/v1/data/reverse-geocode", {
"method": "POST",
"headers": {
"content-type": "application/json"
},
"body": "{\"latitude\":51.5074,\"limit\":3,\"longitude\":-0.1278,\"radius_km\":10}"
});
if (res.status === 402) {
const { accepts } = await res.json();
// pay one of accepts[] via an x402 client, then retry with the payment header
}import httpx
import json
res = httpx.request("POST", "https://apiacre.com/v1/data/reverse-geocode", json=json.loads("{\"latitude\":51.5074,\"limit\":3,\"longitude\":-0.1278,\"radius_km\":10}"))
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerDetails
- Provider
- apiacre.com
- Endpoint
- https://apiacre.com/v1/data/reverse-geocode
- Machine-readable
/resources/27745.json