$0.002
per call · USD Coin on Base
Resolve one global city or locality name into bounded, population-ranked GeoNames coordinates, country and first-level-region identity, population, timezone, feature code, and source freshness without a request-time network call.
Endpoint
POST https://apiacre.com/v1/data/place-geocode2
Calls / 30d
1
Unique payers / 30d
Sep 1
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://apiacre.com/v1/data/place-geocode", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"limit": 5,
"place": "London, GB"
}),
});
const data = await res.json();curl -X POST \
"https://apiacre.com/v1/data/place-geocode" \
-H "Content-Type: application/json" \
-d '{"limit":5,"place":"London, GB"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"data": {
"ambiguous": true,
"candidateCount": 2,
"candidateCountCapped": false,
"limitations": [
"Coverage follows the GeoNames cities500 extract: populated places above 500 r...",
"Matching is exact after Unicode-to-ASCII normalization; this endpoint does no...",
"Unqualified names can be ambiguous. Review country, first-level region, GeoNa...",
"Population-based ranking is a selection aid, not proof that the first candida...",
"Results use the bundled 2026-08-18 snapshot and can differ from newer GeoName..."
],
"query": {
"limit": 5,
"normalized": "london, gb",
"place": "London, GB"
},
"results": [
{
"country": {
"code": "GB",
"continentCode": "EU",
"iso3": "GBR",
"name": "United Kingdom"
},
"geonameId": 2643743,
"matchedNameType": "primary",
"name": "London",
"rank": 1
}
],
"resultsTruncated": false,
"source": {
"aliasRecords": 766415,
"dataset": "GeoNames cities500",
"placeRecords": 235408,
"provider": "GeoNames",
"snapshotBuiltOn": "2026-08-18"
},
"version": "apiacre-place-geocode/1"
},
"meta": {
"cached": false,
"duration_ms": 42,
"next_actions": [
{
"method": "POST",
"path": "/v1/data/us-weather-forecast",
"reason": "Use one selected place candidate's coordinates for a separately authorized cu...",
"service": "data.us-weather-forecast",
"title": "Global weather forecast"
}
],
"sources": [],
"warnings": []
},
"request_id": "018f1f54-7f38-7ba2-8dc3-5f90272d9f1a",
"service": "data.place-geocode",
"version": "1"
}Payment details
0xa0bfa4f07281c9b248dc3aed2217836bca24869bUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913Is this your API?
Pin it to the top of Data & Enrichment and the homepage with a featured placement.
More from API Acre & similar services
API Acre · Crypto Base Network Status
apiacre.com
Read the latest Base mainnet block and a bounded EIP-1559 fee history in one RPC batch, including gas utilization and priority-fee percentile samples.
API Acre · WEB Metadata
apiacre.com
Extract webpage metadata from one public URL: page title, meta description, canonical URL, headings, hreflang, icons, feeds, Open Graph, Twitter Cards, and JSON-LD Schema.org types, with redirect and response provenance plus privacy-safe, publisher-asserted Organization facts with field evidence.
API Acre · Data Schema
apiacre.com
Create and generate a nested JSON Schema Draft 2020-12 contract by inferring field types and required fields from representative JSON, CSV, TSV, JSON Lines, or YAML records, with equivalent CSV/TSV numeric and null inference, input evidence, and non-enforcing observed bounds.