Glyphcall
Everyday data3 free calls over HTTPFrom $0.002 per call · failed calls are never charged

Geocode a place, coordinates: city, town or landmark name to latitude and longitude

$0.002 per call · failed calls are never charged · no account needed: a card key or USDC

Geocode a place name to latitude and longitude: a city, town, landmark or other place recorded in Wikidata becomes coordinates, with country, region, population and elevation where known, best match first (Wikidata, CC0). Street addresses and postcodes are not resolved. Use to turn a place name into coordinates for maps, distance, weather or routing.

Run it free (3 free calls) Buy credits by card (from $1) Example result (JSON)

Try it with your own inputs

Place name

Uses one of your 3 free calls. Nothing is charged, and a call that fails is not counted.

Inputs

NameTypeDescription
name (required)stringPlace name
countintegerMax results (1-10, default 5)

Request

Over HTTP, with a card key from /credits:

curl -H "Authorization: Bearer adt_…" "https://glyphtools.com/geocode/address?name=Lisbon"

Node.js

const r = await fetch("https://glyphtools.com/geocode/address?name=Lisbon", {
  headers: { Authorization: "Bearer adt_…" },
});
const data = await r.json(); // 402 until the key is in the header

Python

import requests

r = requests.get("https://glyphtools.com/geocode/address?name=Lisbon", headers={"Authorization": "Bearer adt_…"}, timeout=60)
data = r.json()

Or one of your 3 free calls, no key — the same request with &trial=1 on the end:

curl "https://glyphtools.com/geocode/address?name=Lisbon&trial=1"

Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.

Example result

{
  "count": 1,
  "results": [
    {
      "name": "Lisbon",
      "description": "municipality and capital city of Portugal",
      "country": "Portugal",
      "region": "Lisbon",
      "lat": 38.708,
      "lon": -9.139,
      "population": 545796,
      "elevation": 100,
      "wikidataId": "Q597"
    }
  ],
  "source": "Wikidata (CC0 public domain)"
}

From an AI agent (MCP)

Add the MCP server to Claude, Cursor or any MCP client. This tool is geocode_address, and the first 10 successful calls are free:

https://glyphtools.com/mcp

Related tools