Pelias · Example Payload

Structured

Example: structured geocoding for '30 West 26th Street, New York, NY'

GeocodingReverse GeocodingGeospatialOpen-SourceElasticsearchOpenStreetMapAddressesPlacesAutocomplete

Structured is an example object payload from Pelias, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

descriptionrequestresponse

Example Payload

Raw ↑
{
  "description": "Example: structured geocoding for '30 West 26th Street, New York, NY'",
  "request": {
    "method": "GET",
    "url": "https://api.geocode.earth/v1/search/structured?address=30%20West%2026th%20Street&locality=New%20York&region=NY"
  },
  "response": {
    "geocoding": {
      "version": "1.0",
      "attribution": "https://geocode.earth/guidelines",
      "query": {
        "address": "30 West 26th Street",
        "locality": "New York",
        "region": "NY",
        "size": 10,
        "private": false
      },
      "engine": {
        "name": "Pelias",
        "author": "Mapzen",
        "version": "1.0"
      },
      "timestamp": 1525718151924
    },
    "type": "FeatureCollection",
    "features": [
      {
        "type": "Feature",
        "geometry": {
          "type": "Point",
          "coordinates": [-73.9912, 40.7448]
        },
        "properties": {
          "id": "9876543",
          "gid": "openaddresses:address:9876543",
          "layer": "address",
          "source": "openaddresses",
          "source_id": "9876543",
          "name": "30 West 26th Street",
          "housenumber": "30",
          "street": "West 26th Street",
          "postalcode": "10010",
          "confidence": 0.95,
          "country": "United States",
          "country_a": "USA",
          "region": "New York",
          "region_a": "NY",
          "borough": "Manhattan",
          "locality": "New York",
          "label": "30 West 26th Street, Manhattan, New York, NY, USA"
        }
      }
    ]
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/structured"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.