Logo
developer platform
Docs
API
Pricing
Showcase
API Overview
Geocoding
Geocoding
Geocoding NearbyGeocoding Search
Weather
Weather Core
ForecastRadarClimateWarnings
Weather Timeseries
Timeseries ModelsTimeseries Point ForecastTimeseries Route Forecast
Weather Ensemble
Ensemble ModelsEnsemble Point Forecast
Marine
Marine Timeseries
Timeseries ModelsTimeseries Point ForecastTimeseries Route Forecast
Marine Ensemble
Ensemble ModelsEnsemble Point Forecast
Marine Ports
Port ListPort Info
Mobility (The Netherlands)
Mobility Traffic
Traffic OverviewTraffic Geo
Mobility Transit
Transit Planner SearchTransit Planner MixerTransit Stops NearbyTransit Stop Departures

Transit Planner Search

GET
https://api.infoplaza.com/v1/transit/planner/search

Description

Planner location search, used to get start and destination location.

Parameters

ParameterTypeRequiredDefaultDescription
querystringRequired-Query
limitnumberOptional8Number of results

Response

PropertyTypeDescription
items
arrayList of location items matching the search criteria, representing stops or stations.
└─city
stringCity where the location is situated.
└─name
stringThe name of the location, e.g., the station name.
└─type
stringType of the location, typically the category of stop (e.g., 'railStation').

Example Request

curl "https://api.infoplaza.com/v1/transit/planner/search
     ?query=utrecht 
     &api_key=$INFOPLAZA_API_KEY"

Example Response

{
  "items": [
    {
      "city": "Utrecht",
      "name": "Utrecht Centraal",
      "type": "railStation",
      "stopid": "NL:S:ut",
      "location": {
        "latitude": 52.08972840981457,
        "longitude": 5.109853499036995
      }
    },
    {
      "city": "Utrecht",
      "name": "Utrecht Vaartsche Rijn",
      "type": "railStation",
      "stopid": "NL:S:utvr",
      "location": {
        "latitude": 52.07827150300195,
        "longitude": 5.122849045356171
      }
    },
    {
      "city": "Utrecht",
      "name": "Utrecht Maliebaan",
      "type": "railStation",
      "stopid": "NL:S:utm",
      "location": {
        "latitude": 52.087809023879274,
        "longitude": 5.131532482637493
      }
    },
    {
      "city": "Utrecht",
      "name": "Utrecht Terwijde",
      "type": "railStation",
      "stopid": "NL:S:utt",
      "location": {
        "latitude": 52.10019656190806,
        "longitude": 5.0438497413938155
      }
    },
    {
      "city": "Utrecht",
      "name": "Utrecht Zuilen",
      "type": "railStation",
      "stopid": "NL:S:utzl",
      "location": {
        "latitude": 52.10316967248629,
        "longitude": 5.089423801125133
      }
    },
    {
      "city": "Utrecht",
      "name": "Utrecht Leidsche Rijn",
      "type": "railStation",
      "stopid": "NL:S:utlr",
      "location": {
        "latitude": 52.098953875629356,
        "longitude": 5.065327505925409
      }
    },
    {
      "city": "Utrecht",
      "name": "Utrecht Lunetten",
      "type": "railStation",
      "stopid": "NL:S:utln",
      "location": {
        "latitude": 52.06741104838206,
        "longitude": 5.142339025790679
      }
    },
    {
      "city": "Utrecht",
      "name": "Utrecht Overvecht",
      "type": "railStation",
      "stopid": "NL:S:uto",
      "location": {
        "latitude": 52.10998701595266,
        "longitude": 5.125376764947157
      }
    }
  ]
}
└─stopid
string
Unique identifier of the stop/location, usually adhering to a standardized format.
└─location
objectGeographical coordinates of the location.
└─latitude
numberLatitude coordinate in decimal degrees.
min: -90 max: 90
└─longitude
numberLongitude coordinate in decimal degrees.
min: -180 max: 180