positionstack · Example Payload

Positionstack Batch Forward Example

GeocodingReverse GeocodingMapsLocationAddress ValidationAPILayerPublic APIs

Positionstack Batch Forward Example is an example object payload from positionstack, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

requestresponse

Example Payload

Raw ↑
{
  "request": {
    "method": "GET",
    "url": "https://api.positionstack.com/v1/forward",
    "query": {
      "access_key": "YOUR_ACCESS_KEY",
      "query": "1600 Pennsylvania Ave NW Washington DC,Eiffel Tower Paris,Sydney Opera House",
      "limit": 1
    },
    "notes": "Comma-separated queries trigger a batch lookup (Professional plan and above)."
  },
  "response": {
    "data": [
      {
        "latitude": 38.897675,
        "longitude": -77.036547,
        "label": "1600 Pennsylvania Avenue NW, Washington, DC, USA",
        "country": "United States",
        "country_code": "USA",
        "confidence": 1,
        "query": "1600 Pennsylvania Ave NW Washington DC"
      },
      {
        "latitude": 48.858262,
        "longitude": 2.293763,
        "label": "Eiffel Tower, Paris, France",
        "country": "France",
        "country_code": "FRA",
        "confidence": 1,
        "query": "Eiffel Tower Paris"
      },
      {
        "latitude": -33.856784,
        "longitude": 151.215297,
        "label": "Sydney Opera House, Sydney NSW, Australia",
        "country": "Australia",
        "country_code": "AUS",
        "confidence": 1,
        "query": "Sydney Opera House"
      }
    ]
  }
}

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/positionstack-batch-forward-example"
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 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.