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 Stops Nearby

GET
https://api.infoplaza.com/v1/transit/stop/nearby

Description

List of available transit near a specified location, based on latitude and longitude coordinates. If there are more then 3 routes closer within 1000m routes within 1000m will be returned, if there are less then 3 outes all routes within 5000m will be returned

Parameters

ParameterTypeRequiredDefaultDescription
latnumberRequired-Latitude of the center point
lonnumberRequired-Longitude of the center point

Response

PropertyTypeDescription
stopplaces
arrayArray of stopplace objects representing transit stops near the location.
minItems: 1
└─id
stringUnique identifier for the stopplace, including country code and numeric ID (e.g., NL:S:51280960).
└─name
stringName of the stopplace.
└─town
stringName of the town or city where the stopplace is located.

Example Request

curl "https://api.infoplaza.com/v1/transit/stop/nearby
     ?lat=52.02 
     &lon=5.16 
     &api_key=$INFOPLAZA_API_KEY"

Example Response

{
  "stopplaces": [
    {
      "id": "NL:S:51280960",
      "name": "Weteringshoek",
      "town": "Houten",
      "links": {
        "departures": "https://developer.infoplaza.com/api/v1/transit/stops/departures?stopplace_id=NL:S:51280960"
      },
      "coordinates": {
        "latitude": 52.019034,
        "longitude": 5.163319
      }
    },
    {
      "id": "NL:S:51280680",
      "name": "Oude Dorp",
      "town": "Houten",
      "links": {
        "departures": "https://developer.infoplaza.com/api/v1/transit/stops/departures?stopplace_id=NL:S:51280680"
      },
      "coordinates": {
        "latitude": 52.024968,
        "longitude": 5.159924
      }
    }
  ]
}
└─links
objectLinks to related resources for this stopplace.
└─departures
stringURL to retrieve departure information for this stopplace.
format: uri
└─coordinates
objectGeographical coordinates of the stopplace.
└─latitude
numberLatitude in decimal degrees.
min: -90 max: 90
└─longitude
numberLongitude in decimal degrees.
min: -180 max: 180