Server definition
- Hash
- sha256:7d6eb2c858a8667da8503be303b6b91594de84e144044a022dfef113fd6618ab
- What it is
- What a remote MCP server returned when asked what it offers: 17 tools
The blob, as servednamed by its sha256
{
"instructions": "My Geocode turns addresses into coordinates and back, and answers IP, timezone, elevation and postal code questions. Use forward_geocode for an address or place name, reverse_geocode for latitude and longitude, autocomplete for partial input while a person types, ip_lookup for an IPv4 or IPv6 address, timezone, elevation and postcode for those lookups. The *_batch tools take up to 100 entries in one call and are the right choice for lists. Results are in English unless you set lang to a language code. Hosted assistants such as claude.ai and ChatGPT need an API key. If a tool answers key_required, get a free key at https://www.mygeocode.com/signup, or call create_account with the user's email address (the user must accept the terms) and then confirm_account with the code from the email; the key goes in the connector URL as ?key=... or in the X-API-Key header. Each lookup counts as one unit against the key's allowance; batch entries count one each. With the user's agreement, buy_credits adds prepaid credit to the key's account in packs from EUR 10, paid in crypto (USDC and other coins).",
"tools": [
{
"description": "Suggests places for text that is only partly typed, such as the start of an address. Use it to find candidates or to let a person pick; each suggestion has a place_id to pass to forward_geocode for the full result with components and bounds. q needs 2 to 128 characters. If you already have a complete address, use forward_geocode instead. Example: {\"q\":\"1600 Pennsylvania\",\"countries\":[\"us\"],\"limit\":5}.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"bounds": {
"additionalProperties": false,
"description": "Box that results inside rank first. With strict true, results outside it are dropped.",
"properties": {
"east": {
"description": "Eastern edge, longitude.",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"north": {
"description": "Northern edge, latitude.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"south": {
"description": "Southern edge, latitude.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"west": {
"description": "Western edge, longitude.",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"south",
"west",
"north",
"east"
],
"type": "object"
},
"countries": {
"description": "Only results in these countries: up to 10 two letter codes, for example [\"gb\",\"ie\"].",
"items": {
"pattern": "^[A-Za-z]{2}$",
"type": "string"
},
"maxItems": 10,
"type": "array"
},
"lang": {
"default": "en",
"description": "Language of the answer as a two letter code such as en, de, fr, ja. Default en.",
"type": "string"
},
"limit": {
"default": 5,
"description": "Most results to return, 1 to 10. Default 5.",
"maximum": 10,
"minimum": 1,
"type": "integer"
},
"proximity": {
"additionalProperties": false,
"description": "A point; results near it rank first.",
"properties": {
"lat": {
"description": "Latitude in degrees.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lon": {
"description": "Longitude in degrees.",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"lat",
"lon"
],
"type": "object"
},
"q": {
"description": "What the user has typed so far, 2 to 128 characters.",
"maxLength": 128,
"minLength": 2,
"type": "string"
},
"strict": {
"description": "With bounds: exclude results outside the box. Default false.",
"type": "boolean"
},
"types": {
"description": "Only these result types.",
"items": {
"enum": [
"address",
"street",
"postcode",
"city",
"region",
"country",
"poi"
],
"type": "string"
},
"type": "array"
}
},
"required": [
"q"
],
"type": "object"
},
"name": "autocomplete",
"outputSchema": {
"additionalProperties": true,
"properties": {
"query": {
"type": [
"string",
"null"
]
},
"status": {
"description": "ok on success.",
"type": "string"
},
"suggestions": {
"description": "Suggestions, best first.",
"items": {
"additionalProperties": true,
"properties": {
"lat": {
"type": [
"number",
"null"
]
},
"lon": {
"type": [
"number",
"null"
]
},
"place_id": {
"description": "Pass to forward_geocode as place_id for the full result.",
"type": [
"string",
"null"
]
},
"precision": {
"type": [
"string",
"null"
]
},
"text": {
"description": "Display text.",
"type": [
"string",
"null"
]
},
"type": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"type": "array"
}
},
"required": [
"status",
"suggestions"
],
"type": "object"
}
},
{
"description": "Adds prepaid credit to the account of this connection's API key, paid in crypto. Credit is sold in packs of EUR 10, 25, 50, 100 (at least EUR 10 each time), and is used after the free daily requests at EUR 0.0001 per request; it never expires. Only call this when the user has agreed to spend that amount. The answer is an invoice and a payment: send exactly pay_amount of the coin to pay_address on the stated network (with the memo if one is given) before expires_at; network fees are on top. Then check it with payment_status. Get coin codes from list_payment_coins.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"amount_eur": {
"description": "The credit pack in euros: one of 10, 25, 50, 100. The smallest is EUR 10; credit is sold only in these packs.",
"enum": [
10,
25,
50,
100
],
"type": "integer"
},
"coin": {
"description": "A coin code from list_payment_coins, for example usdcbase (USDC on Base) or usdcsol (USDC on Solana).",
"maxLength": 20,
"type": "string"
}
},
"required": [
"amount_eur",
"coin"
],
"type": "object"
},
"name": "buy_credits",
"outputSchema": {
"additionalProperties": true,
"type": "object"
}
},
{
"description": "Finish the account started with create_account: pass the same email and the 6-digit code the user read from the confirmation email. On success the answer holds the new API key, shown only once: tell the user to keep it, and use it as https://mcp.mygeocode.com/mcp?key=KEY or in the X-API-Key header. Five wrong codes lock the code; then call create_account again for a new one. The account has no password yet: the user signs in to the dashboard with \"Forgot password\" at https://www.mygeocode.com/forgot.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"code": {
"description": "The 6-digit code from the email.",
"pattern": "^[0-9]{6}$",
"type": "string"
},
"email": {
"description": "The same email address given to create_account.",
"maxLength": 190,
"type": "string"
}
},
"required": [
"email",
"code"
],
"type": "object"
},
"name": "confirm_account",
"outputSchema": {
"properties": {
"api_key": {
"description": "The new server key, shown once.",
"type": "string"
},
"connector_url": {
"description": "The MCP URL with the key in it, for clients that take only a URL.",
"type": "string"
},
"dashboard": {
"description": "How the person signs in to the dashboard.",
"type": "string"
},
"email": {
"type": "string"
},
"error": {
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"type": "object"
},
"expires_in_hours": {
"type": "integer"
},
"free_requests_per_day": {
"type": "integer"
},
"header": {
"description": "The same key as a request header.",
"type": "string"
},
"message": {
"type": "string"
},
"status": {
"description": "code_sent or confirmed",
"type": "string"
}
},
"type": "object"
}
},
{
"description": "Start a free My Geocode account for the user you work for, so that you can get an API key. Before calling this, ask the user to read and accept the terms (https://www.mygeocode.com/terms/) and the privacy policy (https://www.mygeocode.com/privacy/), and ask for the email address the account should use. Set accept_terms to true only after the user has said yes. The account gets 2,500 free requests a day. A 6-digit confirmation code is emailed to that address: ask the user to read it out of their inbox (check spam too), then call confirm_account with the same email and the code. The code works for about a day and for five tries. Use this only when you have no API key yet; with a key in the connection it is refused. Never invent an address or use one the user did not give you.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"accept_terms": {
"description": "true only when the user has accepted https://www.mygeocode.com/terms/ and https://www.mygeocode.com/privacy/.",
"type": "boolean"
},
"email": {
"description": "The user's own email address; the code is sent here.",
"maxLength": 190,
"type": "string"
}
},
"required": [
"email",
"accept_terms"
],
"type": "object"
},
"name": "create_account",
"outputSchema": {
"properties": {
"api_key": {
"description": "The new server key, shown once.",
"type": "string"
},
"connector_url": {
"description": "The MCP URL with the key in it, for clients that take only a URL.",
"type": "string"
},
"dashboard": {
"description": "How the person signs in to the dashboard.",
"type": "string"
},
"email": {
"type": "string"
},
"error": {
"properties": {
"code": {
"type": "string"
},
"message": {
"type": "string"
}
},
"type": "object"
},
"expires_in_hours": {
"type": "integer"
},
"free_requests_per_day": {
"type": "integer"
},
"header": {
"description": "The same key as a request header.",
"type": "string"
},
"message": {
"type": "string"
},
"status": {
"description": "code_sent or confirmed",
"type": "string"
}
},
"type": "object"
}
},
{
"description": "Gives the height above mean sea level, in metres, at a point (negative below sea level); the data is a grid of about 464 m, so a peak or a building top reads lower than its true height. Send lat and lon for one point. For a profile send path (a list of points) with samples, or a grid with bounds, rows and cols (at most 100 points); the answer is then a results list. For a list of separate points use elevation_batch. Example: {\"lat\":27.9881,\"lon\":86.925}.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"bounds": {
"additionalProperties": false,
"description": "Grid form: a rows by cols grid of points over this box, southern row first.",
"properties": {
"east": {
"description": "Eastern edge, longitude.",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"north": {
"description": "Northern edge, latitude.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"south": {
"description": "Southern edge, latitude.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"west": {
"description": "Western edge, longitude.",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"south",
"west",
"north",
"east"
],
"type": "object"
},
"cols": {
"description": "Grid form: columns.",
"minimum": 2,
"type": "integer"
},
"lat": {
"description": "Latitude in degrees.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lon": {
"description": "Longitude in degrees.",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"path": {
"description": "Path form: a line of points; samples evenly spaced points along it are answered (give samples).",
"items": {
"additionalProperties": false,
"description": "One point.",
"properties": {
"lat": {
"description": "Latitude in degrees.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lon": {
"description": "Longitude in degrees.",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"lat",
"lon"
],
"type": "object"
},
"maxItems": 100,
"minItems": 2,
"type": "array"
},
"rows": {
"description": "Grid form: rows. rows times cols must be 100 or fewer.",
"minimum": 2,
"type": "integer"
},
"samples": {
"description": "Number of points to sample along path, 2 to 100.",
"maximum": 100,
"minimum": 2,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"name": "elevation",
"outputSchema": {
"additionalProperties": true,
"properties": {
"elevation_m": {
"type": [
"number",
"null"
]
},
"lat": {
"type": [
"number",
"null"
]
},
"lon": {
"type": [
"number",
"null"
]
},
"resolution_m": {
"type": [
"number",
"null"
]
},
"results": {
"description": "One entry per point, in input order. A single point may also answer flat, with lat, lon, elevation_m and resolution_m at the top level.",
"items": {
"additionalProperties": true,
"properties": {
"elevation_m": {
"description": "Metres above mean sea level, negative below; null where the dataset has no value.",
"type": [
"number",
"null"
]
},
"lat": {
"type": [
"number",
"null"
]
},
"lon": {
"type": [
"number",
"null"
]
},
"resolution_m": {
"description": "Grid spacing in metres.",
"type": [
"number",
"null"
]
}
},
"type": "object"
},
"type": "array"
},
"status": {
"description": "ok on success.",
"type": "string"
}
},
"required": [
"status"
],
"type": "object"
}
},
{
"description": "Gives the height above mean sea level, in metres, at up to 100 separate points in one call; each point counts as one lookup. Same data as elevation (a grid of about 464 m). The answer has one entry per point, in input order. For a profile along a line or a grid over an area use elevation with path or bounds. Example: {\"locations\":[{\"lat\":27.9881,\"lon\":86.925},{\"lat\":46.8523,\"lon\":9.5309}]}.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"locations": {
"description": "Points to look up, 1 to 100.",
"items": {
"additionalProperties": false,
"description": "One point.",
"properties": {
"lat": {
"description": "Latitude in degrees.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lon": {
"description": "Longitude in degrees.",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"lat",
"lon"
],
"type": "object"
},
"maxItems": 100,
"minItems": 1,
"type": "array"
}
},
"required": [
"locations"
],
"type": "object"
},
"name": "elevation_batch",
"outputSchema": {
"additionalProperties": true,
"properties": {
"results": {
"description": "One entry per point, in input order.",
"items": {
"additionalProperties": true,
"properties": {
"elevation_m": {
"description": "Metres above mean sea level, negative below; null where the dataset has no value.",
"type": [
"number",
"null"
]
},
"lat": {
"type": [
"number",
"null"
]
},
"lon": {
"type": [
"number",
"null"
]
},
"resolution_m": {
"description": "Grid spacing in metres.",
"type": [
"number",
"null"
]
}
},
"type": "object"
},
"type": "array"
},
"status": {
"description": "ok on success.",
"type": "string"
}
},
"required": [
"status",
"results"
],
"type": "object"
}
},
{
"description": "Turns an address, place name, postal code or plus code into coordinates and a structured address. Use it when you have text and need a location. For several addresses at once use forward_geocode_batch; for a point you already have use reverse_geocode; for a partly typed query use autocomplete. Send q, or the structured fields (street, city, state, postcode, country), or a place_id from an earlier result. Coordinates are decimal degrees (WGS 84). Results are best first, each with confidence from 0 to 1 (below 0.5 is a guess) and precision (house, street, postcode, city, region or country). Optional blocks (timezone, elevation, sun and others) are added by their flags. Example: {\"q\":\"Brandenburg Gate, Berlin\",\"limit\":1}.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"annotations": {
"description": "Switch on every extra block at once. Use it only when you need all of them; the answer gets large. Default false.",
"type": "boolean"
},
"bounds": {
"additionalProperties": false,
"description": "Box that results inside rank first. With strict true, results outside it are dropped.",
"properties": {
"east": {
"description": "Eastern edge, longitude.",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"north": {
"description": "Northern edge, latitude.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"south": {
"description": "Southern edge, latitude.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"west": {
"description": "Western edge, longitude.",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"south",
"west",
"north",
"east"
],
"type": "object"
},
"census": {
"description": "Add US census geography. Default false.",
"type": "boolean"
},
"city": {
"description": "Structured search: city.",
"type": "string"
},
"codes": {
"description": "Add plus code, geohash, MGRS and other location codes. Default false.",
"type": "boolean"
},
"countries": {
"description": "Only results in these countries: up to 10 two letter codes, for example [\"gb\",\"ie\"].",
"items": {
"pattern": "^[A-Za-z]{2}$",
"type": "string"
},
"maxItems": 10,
"type": "array"
},
"country": {
"description": "Structured search: two letter country code. With q, it limits results to that country.",
"type": "string"
},
"country_info": {
"description": "Add the country_info block. Default false.",
"type": "boolean"
},
"demographics": {
"description": "Add US American Community Survey figures. Default false.",
"type": "boolean"
},
"districts": {
"description": "Add US legislative and school districts. Default false.",
"type": "boolean"
},
"elevation": {
"description": "Add elevation_m to each result. Default false.",
"type": "boolean"
},
"lang": {
"default": "en",
"description": "Language of the answer as a two letter code such as en, de, fr, ja. Default en.",
"type": "string"
},
"limit": {
"default": 5,
"description": "Most results to return, 1 to 10. Default 5.",
"maximum": 10,
"minimum": 1,
"type": "integer"
},
"place_id": {
"description": "A place_id from autocomplete or an earlier result. Overrides q and returns that place in full.",
"type": "string"
},
"postcode": {
"description": "Structured search: postal code.",
"type": "string"
},
"proximity": {
"additionalProperties": false,
"description": "A point; results near it rank first.",
"properties": {
"lat": {
"description": "Latitude in degrees.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lon": {
"description": "Longitude in degrees.",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"lat",
"lon"
],
"type": "object"
},
"q": {
"description": "Free text: an address, place name, postal code, plus code or \"lat,lon\". Up to 256 characters. Send q, or the structured fields, or place_id.",
"maxLength": 256,
"type": "string"
},
"regions": {
"description": "Add NUTS and administrative regions. Default false.",
"type": "boolean"
},
"road": {
"description": "Add the nearest road and junction. Default false.",
"type": "boolean"
},
"site": {
"description": "Add Australian address site points. Default false.",
"type": "boolean"
},
"state": {
"description": "Structured search: state, province or region.",
"type": "string"
},
"street": {
"description": "Structured search: street with house number.",
"type": "string"
},
"strict": {
"description": "With bounds: exclude results outside the box. Default false.",
"type": "boolean"
},
"sun": {
"description": "Add sunrise, sunset and twilight times. Default false.",
"type": "boolean"
},
"timezone": {
"description": "Add the timezone block to each result. Default false.",
"type": "boolean"
},
"types": {
"description": "Only these result types.",
"items": {
"enum": [
"address",
"street",
"postcode",
"city",
"region",
"country",
"poi"
],
"type": "string"
},
"type": "array"
},
"wikidata": {
"description": "Add the Wikidata id. Default false.",
"type": "boolean"
}
},
"required": [],
"type": "object"
},
"name": "forward_geocode",
"outputSchema": {
"additionalProperties": true,
"properties": {
"query": {
"description": "The text interpreted, after trimming.",
"type": [
"string",
"null"
]
},
"results": {
"description": "Matches, best first. Empty when nothing matched.",
"items": {
"additionalProperties": true,
"properties": {
"bounds": {
"additionalProperties": true,
"description": "Box around the matched feature.",
"properties": {
"east": {
"type": [
"number",
"null"
]
},
"north": {
"type": [
"number",
"null"
]
},
"south": {
"type": [
"number",
"null"
]
},
"west": {
"type": [
"number",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"census": {
"additionalProperties": true,
"description": "With census=true.",
"type": [
"object",
"null"
]
},
"codes": {
"additionalProperties": true,
"description": "Plus code, geohash, MGRS and other location codes (codes=true).",
"type": [
"object",
"null"
]
},
"components": {
"additionalProperties": true,
"description": "Address parts; only the parts the address has.",
"properties": {
"building": {
"type": [
"string",
"null"
]
},
"city": {
"type": [
"string",
"null"
]
},
"country": {
"type": [
"string",
"null"
]
},
"country_code": {
"type": [
"string",
"null"
]
},
"county": {
"type": [
"string",
"null"
]
},
"house_number": {
"type": [
"string",
"null"
]
},
"level": {
"type": [
"string",
"null"
]
},
"lot": {
"type": [
"string",
"null"
]
},
"municipality": {
"type": [
"string",
"null"
]
},
"official_name": {
"type": [
"string",
"null"
]
},
"poi": {
"type": [
"string",
"null"
]
},
"postcode": {
"description": "Postal code; read it as text.",
"type": [
"string",
"number",
"null"
]
},
"road": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"state_code": {
"type": [
"string",
"null"
]
},
"suburb": {
"type": [
"string",
"null"
]
},
"unit": {
"type": [
"string",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"confidence": {
"description": "0 to 1. Below 0.5 is a guess.",
"type": [
"number",
"null"
]
},
"country_info": {
"additionalProperties": true,
"description": "With country_info=true.",
"type": [
"object",
"null"
]
},
"demographics": {
"additionalProperties": true,
"description": "With demographics=true.",
"type": [
"object",
"null"
]
},
"distance_m": {
"description": "Metres from the point sent (reverse).",
"type": [
"integer",
"null"
]
},
"districts": {
"additionalProperties": true,
"description": "With districts=true.",
"type": [
"object",
"null"
]
},
"elevation_m": {
"description": "With elevation=true: metres above sea level.",
"type": [
"number",
"null"
]
},
"formatted": {
"description": "Full address in the country's usual format.",
"type": [
"string",
"null"
]
},
"formatted_place": {
"type": [
"string",
"null"
]
},
"intersection": {
"additionalProperties": true,
"description": "With road=true.",
"type": [
"object",
"null"
]
},
"lat": {
"description": "Latitude, WGS 84.",
"type": [
"number",
"null"
]
},
"lon": {
"description": "Longitude, WGS 84.",
"type": [
"number",
"null"
]
},
"parcel": {
"additionalProperties": true,
"description": "United States official parcel data.",
"type": [
"object",
"null"
]
},
"place": {
"additionalProperties": true,
"description": "A business or named place at the address.",
"type": [
"object",
"null"
]
},
"place_id": {
"description": "Stable id; pass it back as place_id to forward_geocode.",
"type": [
"string",
"null"
]
},
"population": {
"type": [
"integer",
"null"
]
},
"precision": {
"description": "house, street, postcode, city, region or country: what the point represents.",
"type": [
"string",
"null"
]
},
"regions": {
"additionalProperties": true,
"description": "With regions=true.",
"type": [
"object",
"null"
]
},
"road": {
"additionalProperties": true,
"description": "With road=true.",
"type": [
"object",
"null"
]
},
"site": {
"additionalProperties": true,
"description": "With site=true.",
"type": [
"object",
"null"
]
},
"sun": {
"additionalProperties": true,
"description": "With sun=true.",
"type": [
"object",
"null"
]
},
"timezone": {
"additionalProperties": true,
"description": "With timezone=true.",
"type": [
"object",
"null"
]
},
"type": {
"description": "address, street, postcode, city, suburb, region, country or poi.",
"type": [
"string",
"null"
]
},
"un_locode": {
"additionalProperties": true,
"description": "What a UN/LOCODE query stands for.",
"type": [
"object",
"null"
]
},
"wikidata": {
"description": "With wikidata=true.",
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"type": "array"
},
"status": {
"description": "ok on success.",
"type": "string"
}
},
"required": [
"status",
"results"
],
"type": "object"
}
},
{
"description": "Geocodes up to 100 addresses or place names in one call; each counts as one lookup. Use it instead of calling forward_geocode in a loop. The options (limit, countries, bounds, lang, flags) apply to every query. The answer has one entry per query, in the order sent, each with its own results list (empty when nothing matched). Example: {\"queries\":[\"Eiffel Tower, Paris\",\"Statue of Liberty, New York\"],\"limit\":1}.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"annotations": {
"description": "Switch on every extra block at once. Use it only when you need all of them; the answer gets large. Default false.",
"type": "boolean"
},
"bounds": {
"additionalProperties": false,
"description": "Box that results inside rank first. With strict true, results outside it are dropped.",
"properties": {
"east": {
"description": "Eastern edge, longitude.",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"north": {
"description": "Northern edge, latitude.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"south": {
"description": "Southern edge, latitude.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"west": {
"description": "Western edge, longitude.",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"south",
"west",
"north",
"east"
],
"type": "object"
},
"census": {
"description": "Add US census geography. Default false.",
"type": "boolean"
},
"codes": {
"description": "Add plus code, geohash, MGRS and other location codes. Default false.",
"type": "boolean"
},
"countries": {
"description": "Only results in these countries: up to 10 two letter codes, for example [\"gb\",\"ie\"].",
"items": {
"pattern": "^[A-Za-z]{2}$",
"type": "string"
},
"maxItems": 10,
"type": "array"
},
"country_info": {
"description": "Add the country_info block. Default false.",
"type": "boolean"
},
"demographics": {
"description": "Add US American Community Survey figures. Default false.",
"type": "boolean"
},
"districts": {
"description": "Add US legislative and school districts. Default false.",
"type": "boolean"
},
"elevation": {
"description": "Add elevation_m to each result. Default false.",
"type": "boolean"
},
"lang": {
"default": "en",
"description": "Language of the answer as a two letter code such as en, de, fr, ja. Default en.",
"type": "string"
},
"limit": {
"default": 5,
"description": "Most results to return, 1 to 10. Default 5.",
"maximum": 10,
"minimum": 1,
"type": "integer"
},
"proximity": {
"additionalProperties": false,
"description": "A point; results near it rank first.",
"properties": {
"lat": {
"description": "Latitude in degrees.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lon": {
"description": "Longitude in degrees.",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"lat",
"lon"
],
"type": "object"
},
"queries": {
"description": "Addresses or place names, 1 to 100. Each counts as one lookup.",
"items": {
"maxLength": 256,
"type": "string"
},
"maxItems": 100,
"minItems": 1,
"type": "array"
},
"regions": {
"description": "Add NUTS and administrative regions. Default false.",
"type": "boolean"
},
"road": {
"description": "Add the nearest road and junction. Default false.",
"type": "boolean"
},
"site": {
"description": "Add Australian address site points. Default false.",
"type": "boolean"
},
"strict": {
"description": "With bounds: exclude results outside the box. Default false.",
"type": "boolean"
},
"sun": {
"description": "Add sunrise, sunset and twilight times. Default false.",
"type": "boolean"
},
"timezone": {
"description": "Add the timezone block to each result. Default false.",
"type": "boolean"
},
"types": {
"description": "Only these result types.",
"items": {
"enum": [
"address",
"street",
"postcode",
"city",
"region",
"country",
"poi"
],
"type": "string"
},
"type": "array"
},
"wikidata": {
"description": "Add the Wikidata id. Default false.",
"type": "boolean"
}
},
"required": [
"queries"
],
"type": "object"
},
"name": "forward_geocode_batch",
"outputSchema": {
"additionalProperties": true,
"properties": {
"results": {
"description": "One entry per query, in the order sent.",
"items": {
"additionalProperties": true,
"properties": {
"query": {
"type": [
"string",
"null"
]
},
"results": {
"items": {
"additionalProperties": true,
"properties": {
"bounds": {
"additionalProperties": true,
"description": "Box around the matched feature.",
"properties": {
"east": {
"type": [
"number",
"null"
]
},
"north": {
"type": [
"number",
"null"
]
},
"south": {
"type": [
"number",
"null"
]
},
"west": {
"type": [
"number",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"census": {
"additionalProperties": true,
"description": "With census=true.",
"type": [
"object",
"null"
]
},
"codes": {
"additionalProperties": true,
"description": "Plus code, geohash, MGRS and other location codes (codes=true).",
"type": [
"object",
"null"
]
},
"components": {
"additionalProperties": true,
"description": "Address parts; only the parts the address has.",
"properties": {
"building": {
"type": [
"string",
"null"
]
},
"city": {
"type": [
"string",
"null"
]
},
"country": {
"type": [
"string",
"null"
]
},
"country_code": {
"type": [
"string",
"null"
]
},
"county": {
"type": [
"string",
"null"
]
},
"house_number": {
"type": [
"string",
"null"
]
},
"level": {
"type": [
"string",
"null"
]
},
"lot": {
"type": [
"string",
"null"
]
},
"municipality": {
"type": [
"string",
"null"
]
},
"official_name": {
"type": [
"string",
"null"
]
},
"poi": {
"type": [
"string",
"null"
]
},
"postcode": {
"description": "Postal code; read it as text.",
"type": [
"string",
"number",
"null"
]
},
"road": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"state_code": {
"type": [
"string",
"null"
]
},
"suburb": {
"type": [
"string",
"null"
]
},
"unit": {
"type": [
"string",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"confidence": {
"description": "0 to 1. Below 0.5 is a guess.",
"type": [
"number",
"null"
]
},
"country_info": {
"additionalProperties": true,
"description": "With country_info=true.",
"type": [
"object",
"null"
]
},
"demographics": {
"additionalProperties": true,
"description": "With demographics=true.",
"type": [
"object",
"null"
]
},
"distance_m": {
"description": "Metres from the point sent (reverse).",
"type": [
"integer",
"null"
]
},
"districts": {
"additionalProperties": true,
"description": "With districts=true.",
"type": [
"object",
"null"
]
},
"elevation_m": {
"description": "With elevation=true: metres above sea level.",
"type": [
"number",
"null"
]
},
"formatted": {
"description": "Full address in the country's usual format.",
"type": [
"string",
"null"
]
},
"formatted_place": {
"type": [
"string",
"null"
]
},
"intersection": {
"additionalProperties": true,
"description": "With road=true.",
"type": [
"object",
"null"
]
},
"lat": {
"description": "Latitude, WGS 84.",
"type": [
"number",
"null"
]
},
"lon": {
"description": "Longitude, WGS 84.",
"type": [
"number",
"null"
]
},
"parcel": {
"additionalProperties": true,
"description": "United States official parcel data.",
"type": [
"object",
"null"
]
},
"place": {
"additionalProperties": true,
"description": "A business or named place at the address.",
"type": [
"object",
"null"
]
},
"place_id": {
"description": "Stable id; pass it back as place_id to forward_geocode.",
"type": [
"string",
"null"
]
},
"population": {
"type": [
"integer",
"null"
]
},
"precision": {
"description": "house, street, postcode, city, region or country: what the point represents.",
"type": [
"string",
"null"
]
},
"regions": {
"additionalProperties": true,
"description": "With regions=true.",
"type": [
"object",
"null"
]
},
"road": {
"additionalProperties": true,
"description": "With road=true.",
"type": [
"object",
"null"
]
},
"site": {
"additionalProperties": true,
"description": "With site=true.",
"type": [
"object",
"null"
]
},
"sun": {
"additionalProperties": true,
"description": "With sun=true.",
"type": [
"object",
"null"
]
},
"timezone": {
"additionalProperties": true,
"description": "With timezone=true.",
"type": [
"object",
"null"
]
},
"type": {
"description": "address, street, postcode, city, suburb, region, country or poi.",
"type": [
"string",
"null"
]
},
"un_locode": {
"additionalProperties": true,
"description": "What a UN/LOCODE query stands for.",
"type": [
"object",
"null"
]
},
"wikidata": {
"description": "With wikidata=true.",
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"type": "array"
}
},
"type": "object"
},
"type": "array"
},
"status": {
"description": "ok on success.",
"type": "string"
}
},
"required": [
"status",
"results"
],
"type": "object"
}
},
{
"description": "Looks up one IPv4 or IPv6 address: country, region, city, coordinates, time zone, network (ASN, organisation, usage type), and flags for proxy, VPN, Tor, datacenter and anycast. Use it to place or classify an address you were given. You must pass the address; the server cannot look up the address of the person you are talking to. Coordinates are approximate, usually city level. For up to 100 addresses use ip_lookup_batch. Private and reserved addresses answer is_private true. Example: {\"ip\":\"8.8.8.8\"}.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"elevation": {
"description": "Add elevation_m to the answer. Default false.",
"type": "boolean"
},
"ip": {
"description": "An IPv4 or IPv6 address, for example 8.8.8.8 or 2606:4700:4700::1111.",
"type": "string"
}
},
"required": [
"ip"
],
"type": "object"
},
"name": "ip_lookup",
"outputSchema": {
"additionalProperties": true,
"properties": {
"abuse_email": {
"type": [
"string",
"null"
]
},
"allocated": {
"type": [
"string",
"null"
]
},
"as_name": {
"type": [
"string",
"null"
]
},
"asn": {
"type": [
"integer",
"null"
]
},
"city": {
"type": [
"string",
"null"
]
},
"continent": {
"type": [
"string",
"null"
]
},
"continent_code": {
"type": [
"string",
"null"
]
},
"country": {
"type": [
"string",
"null"
]
},
"country_code": {
"type": [
"string",
"null"
]
},
"crawler": {
"additionalProperties": true,
"description": "Crawler operator and type, when the address is in a published crawler range.",
"type": [
"object",
"null"
]
},
"elevation_m": {
"type": [
"number",
"null"
]
},
"error": {
"additionalProperties": true,
"description": "Only on a batch entry the API rejected: code and message.",
"type": [
"object",
"null"
]
},
"found": {
"type": [
"boolean",
"null"
]
},
"ip": {
"type": [
"string",
"null"
]
},
"is_anycast": {
"type": [
"boolean",
"null"
]
},
"is_datacenter": {
"type": [
"boolean",
"null"
]
},
"is_eu": {
"type": [
"boolean",
"null"
]
},
"is_private": {
"type": [
"boolean",
"null"
]
},
"is_proxy": {
"type": [
"boolean",
"null"
]
},
"is_satellite": {
"type": [
"boolean",
"null"
]
},
"is_tor": {
"type": [
"boolean",
"null"
]
},
"is_vpn_provider": {
"type": [
"boolean",
"null"
]
},
"lat": {
"type": [
"number",
"null"
]
},
"lon": {
"type": [
"number",
"null"
]
},
"org": {
"type": [
"string",
"null"
]
},
"postcode": {
"type": [
"string",
"null"
]
},
"prefix": {
"type": [
"string",
"null"
]
},
"reason": {
"type": [
"string",
"null"
]
},
"region": {
"type": [
"string",
"null"
]
},
"region_code": {
"type": [
"string",
"null"
]
},
"registry": {
"type": [
"string",
"null"
]
},
"status": {
"description": "ok, or error for a batch entry that could not be read.",
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"threat": {
"additionalProperties": true,
"description": "Reputation: listed, score, source_count, categories, listings.",
"type": [
"object",
"null"
]
},
"timezone": {
"type": [
"string",
"null"
]
},
"updated_at": {
"type": [
"string",
"null"
]
},
"usage_type": {
"type": [
"string",
"null"
]
},
"utc_offset": {
"type": [
"string",
"null"
]
},
"utc_offset_seconds": {
"type": [
"integer",
"null"
]
},
"version": {
"type": [
"integer",
"null"
]
}
},
"required": [
"status"
],
"type": "object"
}
},
{
"description": "Looks up up to 100 IPv4 or IPv6 addresses in one call; each counts as one lookup. Same fields as ip_lookup, one entry per address in the order sent. An address that cannot be read gets an entry with status error instead of failing the whole call. Example: {\"ips\":[\"8.8.8.8\",\"1.1.1.1\",\"2001:4860:4860::8888\"]}.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"elevation": {
"description": "Add elevation_m to the answer. Default false.",
"type": "boolean"
},
"ips": {
"description": "IPv4 or IPv6 addresses, 1 to 100.",
"items": {
"type": "string"
},
"maxItems": 100,
"minItems": 1,
"type": "array"
}
},
"required": [
"ips"
],
"type": "object"
},
"name": "ip_lookup_batch",
"outputSchema": {
"additionalProperties": true,
"properties": {
"results": {
"description": "One entry per address, in the order sent.",
"items": {
"additionalProperties": true,
"properties": {
"abuse_email": {
"type": [
"string",
"null"
]
},
"allocated": {
"type": [
"string",
"null"
]
},
"as_name": {
"type": [
"string",
"null"
]
},
"asn": {
"type": [
"integer",
"null"
]
},
"city": {
"type": [
"string",
"null"
]
},
"continent": {
"type": [
"string",
"null"
]
},
"continent_code": {
"type": [
"string",
"null"
]
},
"country": {
"type": [
"string",
"null"
]
},
"country_code": {
"type": [
"string",
"null"
]
},
"crawler": {
"additionalProperties": true,
"description": "Crawler operator and type, when the address is in a published crawler range.",
"type": [
"object",
"null"
]
},
"elevation_m": {
"type": [
"number",
"null"
]
},
"error": {
"additionalProperties": true,
"description": "Only on a batch entry the API rejected: code and message.",
"type": [
"object",
"null"
]
},
"found": {
"type": [
"boolean",
"null"
]
},
"ip": {
"type": [
"string",
"null"
]
},
"is_anycast": {
"type": [
"boolean",
"null"
]
},
"is_datacenter": {
"type": [
"boolean",
"null"
]
},
"is_eu": {
"type": [
"boolean",
"null"
]
},
"is_private": {
"type": [
"boolean",
"null"
]
},
"is_proxy": {
"type": [
"boolean",
"null"
]
},
"is_satellite": {
"type": [
"boolean",
"null"
]
},
"is_tor": {
"type": [
"boolean",
"null"
]
},
"is_vpn_provider": {
"type": [
"boolean",
"null"
]
},
"lat": {
"type": [
"number",
"null"
]
},
"lon": {
"type": [
"number",
"null"
]
},
"org": {
"type": [
"string",
"null"
]
},
"postcode": {
"type": [
"string",
"null"
]
},
"prefix": {
"type": [
"string",
"null"
]
},
"reason": {
"type": [
"string",
"null"
]
},
"region": {
"type": [
"string",
"null"
]
},
"region_code": {
"type": [
"string",
"null"
]
},
"registry": {
"type": [
"string",
"null"
]
},
"status": {
"description": "ok, or error for a batch entry that could not be read.",
"type": "string"
},
"tags": {
"items": {
"type": "string"
},
"type": "array"
},
"threat": {
"additionalProperties": true,
"description": "Reputation: listed, score, source_count, categories, listings.",
"type": [
"object",
"null"
]
},
"timezone": {
"type": [
"string",
"null"
]
},
"updated_at": {
"type": [
"string",
"null"
]
},
"usage_type": {
"type": [
"string",
"null"
]
},
"utc_offset": {
"type": [
"string",
"null"
]
},
"utc_offset_seconds": {
"type": [
"integer",
"null"
]
},
"version": {
"type": [
"integer",
"null"
]
}
},
"type": "object"
},
"type": "array"
},
"status": {
"description": "ok on success.",
"type": "string"
}
},
"required": [
"status",
"results"
],
"type": "object"
}
},
{
"description": "Lists the cryptocurrencies that can pay a credit pack, as codes for buy_credits, stablecoins (USDC, USDT) first. Each entry has the code, the coin and its network: send on that network only. Needs the API key of the account to top up.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"amount_eur": {
"description": "The credit pack in euros: one of 10, 25, 50, 100. The smallest is EUR 10; credit is sold only in these packs.",
"enum": [
10,
25,
50,
100
],
"type": "integer"
}
},
"required": [
"amount_eur"
],
"type": "object"
},
"name": "list_payment_coins",
"outputSchema": {
"additionalProperties": true,
"type": "object"
}
},
{
"description": "Where a payment from buy_credits stands: waiting for the transfer, confirming, finished (the credit is on the account) or expired, with the account's credit balance. Confirmations take a few minutes; ask again at most every 30 seconds.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"payment_id": {
"description": "The payment_id buy_credits returned.",
"pattern": "^[0-9]{1,32}$",
"type": "string"
}
},
"required": [
"payment_id"
],
"type": "object"
},
"name": "payment_status",
"outputSchema": {
"additionalProperties": true,
"type": "object"
}
},
{
"description": "Finds the places a postal code covers, with the centre point of each, its region and country. Use it when you have only a postal code. Spaces, hyphens and case do not matter. Pass country (two letter code) whenever you know it: the same code can exist in several countries. Results are empty when the code is unknown. Example: {\"code\":\"10001\",\"country\":\"US\"}.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"code": {
"description": "The postal code, for example 10001 or \"75008\".",
"maxLength": 16,
"minLength": 1,
"type": "string"
},
"country": {
"description": "Two letter country code. Strongly recommended.",
"pattern": "^[A-Za-z]{2}$",
"type": "string"
}
},
"required": [
"code"
],
"type": "object"
},
"name": "postcode",
"outputSchema": {
"additionalProperties": true,
"properties": {
"country_code": {
"description": "The country filter applied, if any.",
"type": [
"string",
"null"
]
},
"postcode": {
"description": "The code after normalisation.",
"type": [
"string",
"null"
]
},
"results": {
"description": "Places the code covers. Empty if unknown.",
"items": {
"additionalProperties": true,
"properties": {
"country": {
"type": [
"string",
"null"
]
},
"country_code": {
"type": [
"string",
"null"
]
},
"lat": {
"type": [
"number",
"null"
]
},
"lon": {
"type": [
"number",
"null"
]
},
"place": {
"type": [
"string",
"null"
]
},
"postcode": {
"type": [
"string",
"null"
]
},
"region": {
"type": [
"string",
"null"
]
},
"region_code": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"type": "array"
},
"status": {
"description": "ok on success.",
"type": "string"
}
},
"required": [
"status",
"results"
],
"type": "object"
}
},
{
"description": "Turns a latitude and longitude into the address or place there. Use it when you have a point and need the street address, city, region or country. For many points use reverse_geocode_batch. level picks the most specific kind of answer (address, street, postcode, city, region, country); radius is in metres, 1 to 5000. The result is null when nothing is within the radius at that level; try a larger radius or a coarser level. distance_m in the result is metres from your point. Example: {\"lat\":48.8584,\"lon\":2.2945}.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"annotations": {
"description": "Switch on every extra block at once. Use it only when you need all of them; the answer gets large. Default false.",
"type": "boolean"
},
"boundaries": {
"description": "Add every Australian boundary the point falls in (Australia only). Default false.",
"type": "boolean"
},
"census": {
"description": "Add US census geography. Default false.",
"type": "boolean"
},
"codes": {
"description": "Add plus code, geohash, MGRS and other location codes. Default false.",
"type": "boolean"
},
"country_info": {
"description": "Add the country_info block. Default false.",
"type": "boolean"
},
"demographics": {
"description": "Add US American Community Survey figures. Default false.",
"type": "boolean"
},
"districts": {
"description": "Add US legislative and school districts. Default false.",
"type": "boolean"
},
"elevation": {
"description": "Add elevation_m to each result. Default false.",
"type": "boolean"
},
"lang": {
"default": "en",
"description": "Language of the answer as a two letter code such as en, de, fr, ja. Default en.",
"type": "string"
},
"lat": {
"description": "Latitude in degrees.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"level": {
"default": "address",
"description": "The most specific level to return. Default address.",
"enum": [
"address",
"street",
"postcode",
"city",
"region",
"country"
],
"type": "string"
},
"lon": {
"description": "Longitude in degrees.",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"radius": {
"default": 5000,
"description": "Search radius in metres for addresses and streets, 1 to 5000. Default 5000.",
"maximum": 5000,
"minimum": 1,
"type": "integer"
},
"regions": {
"description": "Add NUTS and administrative regions. Default false.",
"type": "boolean"
},
"road": {
"description": "Add the nearest road and junction. Default false.",
"type": "boolean"
},
"site": {
"description": "Add Australian address site points. Default false.",
"type": "boolean"
},
"sun": {
"description": "Add sunrise, sunset and twilight times. Default false.",
"type": "boolean"
},
"timezone": {
"description": "Add the timezone block to each result. Default false.",
"type": "boolean"
},
"wikidata": {
"description": "Add the Wikidata id. Default false.",
"type": "boolean"
}
},
"required": [
"lat",
"lon"
],
"type": "object"
},
"name": "reverse_geocode",
"outputSchema": {
"additionalProperties": true,
"properties": {
"boundaries": {
"additionalProperties": true,
"description": "With boundaries=true, for a point in Australia.",
"type": [
"object",
"null"
]
},
"lat": {
"type": [
"number",
"null"
]
},
"lon": {
"type": [
"number",
"null"
]
},
"result": {
"anyOf": [
{
"additionalProperties": true,
"properties": {
"bounds": {
"additionalProperties": true,
"description": "Box around the matched feature.",
"properties": {
"east": {
"type": [
"number",
"null"
]
},
"north": {
"type": [
"number",
"null"
]
},
"south": {
"type": [
"number",
"null"
]
},
"west": {
"type": [
"number",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"census": {
"additionalProperties": true,
"description": "With census=true.",
"type": [
"object",
"null"
]
},
"codes": {
"additionalProperties": true,
"description": "Plus code, geohash, MGRS and other location codes (codes=true).",
"type": [
"object",
"null"
]
},
"components": {
"additionalProperties": true,
"description": "Address parts; only the parts the address has.",
"properties": {
"building": {
"type": [
"string",
"null"
]
},
"city": {
"type": [
"string",
"null"
]
},
"country": {
"type": [
"string",
"null"
]
},
"country_code": {
"type": [
"string",
"null"
]
},
"county": {
"type": [
"string",
"null"
]
},
"house_number": {
"type": [
"string",
"null"
]
},
"level": {
"type": [
"string",
"null"
]
},
"lot": {
"type": [
"string",
"null"
]
},
"municipality": {
"type": [
"string",
"null"
]
},
"official_name": {
"type": [
"string",
"null"
]
},
"poi": {
"type": [
"string",
"null"
]
},
"postcode": {
"description": "Postal code; read it as text.",
"type": [
"string",
"number",
"null"
]
},
"road": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"state_code": {
"type": [
"string",
"null"
]
},
"suburb": {
"type": [
"string",
"null"
]
},
"unit": {
"type": [
"string",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"confidence": {
"description": "0 to 1. Below 0.5 is a guess.",
"type": [
"number",
"null"
]
},
"country_info": {
"additionalProperties": true,
"description": "With country_info=true.",
"type": [
"object",
"null"
]
},
"demographics": {
"additionalProperties": true,
"description": "With demographics=true.",
"type": [
"object",
"null"
]
},
"distance_m": {
"description": "Metres from the point sent (reverse).",
"type": [
"integer",
"null"
]
},
"districts": {
"additionalProperties": true,
"description": "With districts=true.",
"type": [
"object",
"null"
]
},
"elevation_m": {
"description": "With elevation=true: metres above sea level.",
"type": [
"number",
"null"
]
},
"formatted": {
"description": "Full address in the country's usual format.",
"type": [
"string",
"null"
]
},
"formatted_place": {
"type": [
"string",
"null"
]
},
"intersection": {
"additionalProperties": true,
"description": "With road=true.",
"type": [
"object",
"null"
]
},
"lat": {
"description": "Latitude, WGS 84.",
"type": [
"number",
"null"
]
},
"lon": {
"description": "Longitude, WGS 84.",
"type": [
"number",
"null"
]
},
"parcel": {
"additionalProperties": true,
"description": "United States official parcel data.",
"type": [
"object",
"null"
]
},
"place": {
"additionalProperties": true,
"description": "A business or named place at the address.",
"type": [
"object",
"null"
]
},
"place_id": {
"description": "Stable id; pass it back as place_id to forward_geocode.",
"type": [
"string",
"null"
]
},
"population": {
"type": [
"integer",
"null"
]
},
"precision": {
"description": "house, street, postcode, city, region or country: what the point represents.",
"type": [
"string",
"null"
]
},
"regions": {
"additionalProperties": true,
"description": "With regions=true.",
"type": [
"object",
"null"
]
},
"road": {
"additionalProperties": true,
"description": "With road=true.",
"type": [
"object",
"null"
]
},
"site": {
"additionalProperties": true,
"description": "With site=true.",
"type": [
"object",
"null"
]
},
"sun": {
"additionalProperties": true,
"description": "With sun=true.",
"type": [
"object",
"null"
]
},
"timezone": {
"additionalProperties": true,
"description": "With timezone=true.",
"type": [
"object",
"null"
]
},
"type": {
"description": "address, street, postcode, city, suburb, region, country or poi.",
"type": [
"string",
"null"
]
},
"un_locode": {
"additionalProperties": true,
"description": "What a UN/LOCODE query stands for.",
"type": [
"object",
"null"
]
},
"wikidata": {
"description": "With wikidata=true.",
"type": [
"string",
"null"
]
}
},
"type": "object"
},
{
"type": "null"
}
],
"description": "null when nothing is within the radius at the requested level."
},
"status": {
"type": "string"
}
},
"required": [
"result"
],
"type": "object"
}
},
{
"description": "Reverse geocodes up to 100 points in one call; each counts as one lookup. Use it instead of calling reverse_geocode in a loop. level, radius (metres), lang and the flags apply to every point. The answer has one entry per point, in the order sent; an entry's result is null when nothing was found. Example: {\"coords\":[{\"lat\":48.8584,\"lon\":2.2945},{\"lat\":40.6892,\"lon\":-74.0445}]}.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"annotations": {
"description": "Switch on every extra block at once. Use it only when you need all of them; the answer gets large. Default false.",
"type": "boolean"
},
"boundaries": {
"description": "Add every Australian boundary the point falls in (Australia only). Default false.",
"type": "boolean"
},
"census": {
"description": "Add US census geography. Default false.",
"type": "boolean"
},
"codes": {
"description": "Add plus code, geohash, MGRS and other location codes. Default false.",
"type": "boolean"
},
"coords": {
"description": "Points to look up, 1 to 100.",
"items": {
"additionalProperties": false,
"description": "One point.",
"properties": {
"lat": {
"description": "Latitude in degrees.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lon": {
"description": "Longitude in degrees.",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"lat",
"lon"
],
"type": "object"
},
"maxItems": 100,
"minItems": 1,
"type": "array"
},
"country_info": {
"description": "Add the country_info block. Default false.",
"type": "boolean"
},
"demographics": {
"description": "Add US American Community Survey figures. Default false.",
"type": "boolean"
},
"districts": {
"description": "Add US legislative and school districts. Default false.",
"type": "boolean"
},
"elevation": {
"description": "Add elevation_m to each result. Default false.",
"type": "boolean"
},
"lang": {
"default": "en",
"description": "Language of the answer as a two letter code such as en, de, fr, ja. Default en.",
"type": "string"
},
"level": {
"default": "address",
"description": "The most specific level to return. Default address.",
"enum": [
"address",
"street",
"postcode",
"city",
"region",
"country"
],
"type": "string"
},
"radius": {
"default": 5000,
"description": "Search radius in metres for addresses and streets, 1 to 5000. Default 5000.",
"maximum": 5000,
"minimum": 1,
"type": "integer"
},
"regions": {
"description": "Add NUTS and administrative regions. Default false.",
"type": "boolean"
},
"road": {
"description": "Add the nearest road and junction. Default false.",
"type": "boolean"
},
"site": {
"description": "Add Australian address site points. Default false.",
"type": "boolean"
},
"sun": {
"description": "Add sunrise, sunset and twilight times. Default false.",
"type": "boolean"
},
"timezone": {
"description": "Add the timezone block to each result. Default false.",
"type": "boolean"
},
"wikidata": {
"description": "Add the Wikidata id. Default false.",
"type": "boolean"
}
},
"required": [
"coords"
],
"type": "object"
},
"name": "reverse_geocode_batch",
"outputSchema": {
"additionalProperties": true,
"properties": {
"results": {
"description": "One entry per point, in the order sent.",
"items": {
"additionalProperties": true,
"properties": {
"boundaries": {
"additionalProperties": true,
"description": "With boundaries=true, for a point in Australia.",
"type": [
"object",
"null"
]
},
"lat": {
"type": [
"number",
"null"
]
},
"lon": {
"type": [
"number",
"null"
]
},
"result": {
"anyOf": [
{
"additionalProperties": true,
"properties": {
"bounds": {
"additionalProperties": true,
"description": "Box around the matched feature.",
"properties": {
"east": {
"type": [
"number",
"null"
]
},
"north": {
"type": [
"number",
"null"
]
},
"south": {
"type": [
"number",
"null"
]
},
"west": {
"type": [
"number",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"census": {
"additionalProperties": true,
"description": "With census=true.",
"type": [
"object",
"null"
]
},
"codes": {
"additionalProperties": true,
"description": "Plus code, geohash, MGRS and other location codes (codes=true).",
"type": [
"object",
"null"
]
},
"components": {
"additionalProperties": true,
"description": "Address parts; only the parts the address has.",
"properties": {
"building": {
"type": [
"string",
"null"
]
},
"city": {
"type": [
"string",
"null"
]
},
"country": {
"type": [
"string",
"null"
]
},
"country_code": {
"type": [
"string",
"null"
]
},
"county": {
"type": [
"string",
"null"
]
},
"house_number": {
"type": [
"string",
"null"
]
},
"level": {
"type": [
"string",
"null"
]
},
"lot": {
"type": [
"string",
"null"
]
},
"municipality": {
"type": [
"string",
"null"
]
},
"official_name": {
"type": [
"string",
"null"
]
},
"poi": {
"type": [
"string",
"null"
]
},
"postcode": {
"description": "Postal code; read it as text.",
"type": [
"string",
"number",
"null"
]
},
"road": {
"type": [
"string",
"null"
]
},
"state": {
"type": [
"string",
"null"
]
},
"state_code": {
"type": [
"string",
"null"
]
},
"suburb": {
"type": [
"string",
"null"
]
},
"unit": {
"type": [
"string",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"confidence": {
"description": "0 to 1. Below 0.5 is a guess.",
"type": [
"number",
"null"
]
},
"country_info": {
"additionalProperties": true,
"description": "With country_info=true.",
"type": [
"object",
"null"
]
},
"demographics": {
"additionalProperties": true,
"description": "With demographics=true.",
"type": [
"object",
"null"
]
},
"distance_m": {
"description": "Metres from the point sent (reverse).",
"type": [
"integer",
"null"
]
},
"districts": {
"additionalProperties": true,
"description": "With districts=true.",
"type": [
"object",
"null"
]
},
"elevation_m": {
"description": "With elevation=true: metres above sea level.",
"type": [
"number",
"null"
]
},
"formatted": {
"description": "Full address in the country's usual format.",
"type": [
"string",
"null"
]
},
"formatted_place": {
"type": [
"string",
"null"
]
},
"intersection": {
"additionalProperties": true,
"description": "With road=true.",
"type": [
"object",
"null"
]
},
"lat": {
"description": "Latitude, WGS 84.",
"type": [
"number",
"null"
]
},
"lon": {
"description": "Longitude, WGS 84.",
"type": [
"number",
"null"
]
},
"parcel": {
"additionalProperties": true,
"description": "United States official parcel data.",
"type": [
"object",
"null"
]
},
"place": {
"additionalProperties": true,
"description": "A business or named place at the address.",
"type": [
"object",
"null"
]
},
"place_id": {
"description": "Stable id; pass it back as place_id to forward_geocode.",
"type": [
"string",
"null"
]
},
"population": {
"type": [
"integer",
"null"
]
},
"precision": {
"description": "house, street, postcode, city, region or country: what the point represents.",
"type": [
"string",
"null"
]
},
"regions": {
"additionalProperties": true,
"description": "With regions=true.",
"type": [
"object",
"null"
]
},
"road": {
"additionalProperties": true,
"description": "With road=true.",
"type": [
"object",
"null"
]
},
"site": {
"additionalProperties": true,
"description": "With site=true.",
"type": [
"object",
"null"
]
},
"sun": {
"additionalProperties": true,
"description": "With sun=true.",
"type": [
"object",
"null"
]
},
"timezone": {
"additionalProperties": true,
"description": "With timezone=true.",
"type": [
"object",
"null"
]
},
"type": {
"description": "address, street, postcode, city, suburb, region, country or poi.",
"type": [
"string",
"null"
]
},
"un_locode": {
"additionalProperties": true,
"description": "What a UN/LOCODE query stands for.",
"type": [
"object",
"null"
]
},
"wikidata": {
"description": "With wikidata=true.",
"type": [
"string",
"null"
]
}
},
"type": "object"
},
{
"type": "null"
}
],
"description": "null when nothing is within the radius at the requested level."
},
"status": {
"type": "string"
}
},
"type": "object"
},
"type": "array"
},
"status": {
"description": "ok on success.",
"type": "string"
}
},
"required": [
"status",
"results"
],
"type": "object"
}
},
{
"description": "Gives the time zone at a point, or the details of a zone by its id: IANA name, abbreviation, offset from UTC, whether daylight saving is in effect, local time, the next offset change within two years, and the matching Windows zone id. Send lat and lon, or tz (an IANA id such as Europe/Paris). timestamp (Unix seconds) answers for another moment than now. Points at sea answer an Etc/GMT zone with is_ocean true. For many points use timezone_batch. Example: {\"lat\":35.6762,\"lon\":139.6503}.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"language": {
"description": "Language for the zone name, such as de or pt-BR. Default English.",
"type": "string"
},
"lat": {
"description": "Latitude in degrees.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lon": {
"description": "Longitude in degrees.",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"timestamp": {
"description": "Unix time in seconds, 1900 to 2100, for offsets and daylight saving at that moment. Default now.",
"maximum": 4102444800,
"minimum": -2208988800,
"type": "integer"
},
"tz": {
"description": "Instead of coordinates: an IANA zone id such as Europe/Paris (a Windows id is accepted too).",
"type": "string"
}
},
"required": [],
"type": "object"
},
"name": "timezone",
"outputSchema": {
"additionalProperties": true,
"properties": {
"abbreviation": {
"type": [
"string",
"null"
]
},
"country_code": {
"type": [
"string",
"null"
]
},
"dst": {
"type": [
"boolean",
"null"
]
},
"dst_offset_seconds": {
"type": [
"integer",
"null"
]
},
"is_ocean": {
"type": [
"boolean",
"null"
]
},
"lat": {
"type": [
"number",
"null"
]
},
"local_time": {
"type": [
"string",
"null"
]
},
"lon": {
"type": [
"number",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"next_transition": {
"additionalProperties": true,
"properties": {
"abbreviation": {
"type": [
"string",
"null"
]
},
"dst": {
"type": [
"boolean",
"null"
]
},
"timestamp": {
"type": [
"integer",
"null"
]
},
"utc_offset": {
"type": [
"string",
"null"
]
},
"utc_offset_seconds": {
"type": [
"integer",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"raw_offset_seconds": {
"type": [
"integer",
"null"
]
},
"status": {
"type": "string"
},
"timestamp": {
"type": [
"integer",
"null"
]
},
"timezone": {
"type": [
"string",
"null"
]
},
"utc_offset": {
"type": [
"string",
"null"
]
},
"utc_offset_seconds": {
"type": [
"integer",
"null"
]
},
"windows_timezone": {
"type": [
"string",
"null"
]
}
},
"type": "object"
}
},
{
"description": "Gives the time zone at up to 100 points in one call; each point counts as one lookup. Send locations (a list of points), or path with samples, or a grid (bounds, rows, cols). The answer has one entry per point, in input order, with the same fields as timezone. timestamp (Unix seconds) answers for another moment than now. Example: {\"locations\":[{\"lat\":35.6762,\"lon\":139.6503},{\"lat\":48.8584,\"lon\":2.2945}]}.",
"inputSchema": {
"additionalProperties": false,
"properties": {
"bounds": {
"additionalProperties": false,
"description": "Grid form: a rows by cols grid of points over this box, southern row first.",
"properties": {
"east": {
"description": "Eastern edge, longitude.",
"maximum": 180,
"minimum": -180,
"type": "number"
},
"north": {
"description": "Northern edge, latitude.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"south": {
"description": "Southern edge, latitude.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"west": {
"description": "Western edge, longitude.",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"south",
"west",
"north",
"east"
],
"type": "object"
},
"cols": {
"description": "Grid form: columns.",
"minimum": 2,
"type": "integer"
},
"language": {
"description": "Language for the zone name, such as de or pt-BR. Default English.",
"type": "string"
},
"locations": {
"description": "Points to look up, 1 to 100.",
"items": {
"additionalProperties": false,
"description": "One point.",
"properties": {
"lat": {
"description": "Latitude in degrees.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lon": {
"description": "Longitude in degrees.",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"lat",
"lon"
],
"type": "object"
},
"maxItems": 100,
"minItems": 1,
"type": "array"
},
"path": {
"description": "Path form: a line of points; samples evenly spaced points along it are answered (give samples).",
"items": {
"additionalProperties": false,
"description": "One point.",
"properties": {
"lat": {
"description": "Latitude in degrees.",
"maximum": 90,
"minimum": -90,
"type": "number"
},
"lon": {
"description": "Longitude in degrees.",
"maximum": 180,
"minimum": -180,
"type": "number"
}
},
"required": [
"lat",
"lon"
],
"type": "object"
},
"maxItems": 100,
"minItems": 2,
"type": "array"
},
"rows": {
"description": "Grid form: rows. rows times cols must be 100 or fewer.",
"minimum": 2,
"type": "integer"
},
"samples": {
"description": "Number of points to sample along path, 2 to 100.",
"maximum": 100,
"minimum": 2,
"type": "integer"
},
"timestamp": {
"description": "Unix time in seconds, 1900 to 2100, for offsets and daylight saving at that moment. Default now.",
"maximum": 4102444800,
"minimum": -2208988800,
"type": "integer"
}
},
"required": [],
"type": "object"
},
"name": "timezone_batch",
"outputSchema": {
"additionalProperties": true,
"properties": {
"results": {
"description": "One entry per point, in input order.",
"items": {
"additionalProperties": true,
"properties": {
"abbreviation": {
"type": [
"string",
"null"
]
},
"country_code": {
"type": [
"string",
"null"
]
},
"dst": {
"type": [
"boolean",
"null"
]
},
"dst_offset_seconds": {
"type": [
"integer",
"null"
]
},
"is_ocean": {
"type": [
"boolean",
"null"
]
},
"lat": {
"type": [
"number",
"null"
]
},
"local_time": {
"type": [
"string",
"null"
]
},
"lon": {
"type": [
"number",
"null"
]
},
"name": {
"type": [
"string",
"null"
]
},
"next_transition": {
"additionalProperties": true,
"properties": {
"abbreviation": {
"type": [
"string",
"null"
]
},
"dst": {
"type": [
"boolean",
"null"
]
},
"timestamp": {
"type": [
"integer",
"null"
]
},
"utc_offset": {
"type": [
"string",
"null"
]
},
"utc_offset_seconds": {
"type": [
"integer",
"null"
]
}
},
"type": [
"object",
"null"
]
},
"raw_offset_seconds": {
"type": [
"integer",
"null"
]
},
"status": {
"type": "string"
},
"timestamp": {
"type": [
"integer",
"null"
]
},
"timezone": {
"type": [
"string",
"null"
]
},
"utc_offset": {
"type": [
"string",
"null"
]
},
"utc_offset_seconds": {
"type": [
"integer",
"null"
]
},
"windows_timezone": {
"type": [
"string",
"null"
]
}
},
"type": "object"
},
"type": "array"
},
"status": {
"description": "ok on success.",
"type": "string"
},
"timestamp": {
"type": [
"integer",
"null"
]
}
},
"required": [
"status",
"results"
],
"type": "object"
}
}
]
}Verify it yourself
curl -s https://api.teppi.xyz/v1/evidence/sha256:7d6eb2c858a8667da8503be303b6b91594de84e144044a022dfef113fd6618ab | sha256sum