OpenStreetMap Element Lookup
osmapi/element-lookup
Returns the current version of one OpenStreetMap element by type (node, way or relation) and numeric id: tags, version, last editor, timestamp and changeset, plus latitude and longitude for a node, the node ids of a way or the members (type, ref, role) of a relation. Lists of nodes and members are cut at the first 200, with nodes_total or members_total giving the full length when cut. An element that does not exist or was deleted is reported as an upstream error and is not retried. Typically 0.5 to 15 KB. Contains data from OpenStreetMap contributors (ODbL). Served by Eden Engine; not an official OpenStreetMap product.
Price
$0.0026 per call
You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.
Data source
© OpenStreetMap contributors, available under the Open Database Licence (https://www.openstreetmap.org/copyright). Served by Eden Engine; not an official OpenStreetMap product.
Use it
Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.
Connect once and your AI can find and run this tool, and any other it needs.
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "osmapi/element-lookup" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "osmapi/element-lookup" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "osmapi/element-lookup", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "osmapi/element-lookup", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.
Pricing
Every charge this tool can incur.
| Charge | Price |
|---|---|
Per call | $0.0026 |
- Updated
- Oct 25, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"type",
"id"
],
"properties": {
"id": {
"type": "integer",
"minimum": 1,
"description": "Element id, for example 1 (the first node) or 62422 (the Berlin relation)."
},
"type": {
"enum": [
"node",
"way",
"relation"
],
"type": "string",
"description": "Element type."
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"required": [
"elements"
],
"properties": {
"license": {
"type": "string"
},
"version": {
"type": "string"
},
"elements": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"id",
"timestamp",
"version",
"changeset"
],
"properties": {
"id": {
"type": "integer"
},
"lat": {
"type": "number",
"description": "Latitude; nodes only."
},
"lon": {
"type": "number",
"description": "Longitude; nodes only."
},
"uid": {
"type": "integer"
},
"tags": {
"type": "object",
"description": "Key-value tags; absent when the element has none.",
"additionalProperties": {
"type": "string"
}
},
"type": {
"enum": [
"node",
"way",
"relation"
],
"type": "string"
},
"user": {
"type": "string",
"description": "Account that made this version; absent when redacted."
},
"nodes": {
"type": "array",
"items": {
"type": "integer"
},
"description": "Node ids of a way, first 200 only."
},
"members": {
"type": "array",
"items": {
"type": "object",
"properties": {
"ref": {
"type": "integer"
},
"role": {
"type": "string"
},
"type": {
"type": "string"
}
},
"additionalProperties": true
},
"description": "Members of a relation, first 200 only."
},
"version": {
"type": "integer"
},
"changeset": {
"type": "integer"
},
"timestamp": {
"type": "string",
"description": "UTC time of this version."
},
"nodes_total": {
"type": "integer",
"description": "Full number of nodes; present only when the list was cut."
},
"members_total": {
"type": "integer",
"description": "Full number of members; present only when the list was cut."
}
},
"additionalProperties": true
},
"description": "One element, the current version."
},
"copyright": {
"type": "string"
},
"attribution": {
"type": "string"
}
},
"additionalProperties": true
}