positionstack · JSON Structure

Positionstack Location Structure

JSON Structure documentation for a positionstack Location record.

Type: object Properties: 0
GeocodingReverse GeocodingMapsLocationAddress ValidationAPILayerPublic APIs

Positionstack Location Structure is a JSON Structure definition published by positionstack.

Meta-schema:

JSON Structure

Raw ↑
{
  "$id": "https://api-evangelist.github.io/positionstack/json-structure/positionstack-location-structure.json",
  "title": "Location",
  "description": "JSON Structure documentation for a positionstack Location record.",
  "type": "object",
  "fields": [
    { "name": "latitude", "type": "number", "unit": "degree", "description": "Geographic latitude" },
    { "name": "longitude", "type": "number", "unit": "degree", "description": "Geographic longitude" },
    { "name": "type", "type": "string", "description": "Result type classification" },
    { "name": "name", "type": "string", "description": "Short name of the location" },
    { "name": "number", "type": "string", "nullable": true, "description": "Street/building number" },
    { "name": "postal_code", "type": "string", "nullable": true, "description": "Postal/ZIP code" },
    { "name": "street", "type": "string", "nullable": true, "description": "Street name" },
    { "name": "confidence", "type": "number", "range": "0..1", "description": "Match confidence score" },
    { "name": "region", "type": "string", "nullable": true, "description": "State/region name" },
    { "name": "region_code", "type": "string", "nullable": true, "description": "ISO 3166-2 region code" },
    { "name": "county", "type": "string", "nullable": true },
    { "name": "locality", "type": "string", "nullable": true, "description": "City/locality" },
    { "name": "administrative_area", "type": "string", "nullable": true },
    { "name": "neighbourhood", "type": "string", "nullable": true },
    { "name": "country", "type": "string", "description": "Country name" },
    { "name": "country_code", "type": "string", "pattern": "ISO 3166-1 alpha-3" },
    { "name": "continent", "type": "string", "nullable": true },
    { "name": "label", "type": "string", "description": "Fully formatted address label" },
    { "name": "map_url", "type": "string", "format": "uri", "nullable": true },
    { "name": "distance", "type": "number", "unit": "meter", "nullable": true, "description": "Reverse geocoding only" },
    { "name": "country_module", "type": "object", "optional": true, "description": "Country enrichment (country_module=1)" },
    { "name": "timezone_module", "type": "object", "optional": true, "description": "Timezone enrichment (timezone_module=1)" },
    { "name": "sun_module", "type": "object", "optional": true, "description": "Sunrise/sunset enrichment (sun_module=1)" },
    { "name": "bbox_module", "type": "array", "optional": true, "description": "Bounding box (bbox_module=1)" }
  ]
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 JSON Structure
curl "https://apis.io/api/v1/json-structures/positionstack-location-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?limit=25"

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

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

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