/api/v1/public_transport_stops/nearby.json?latitude=40.7306&longitude=-73.9352&radius=1
Returns stops near a coordinate, ordered by distance, with details for their lines and live availability on bike stations.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
latitude |
number | Yes | Origin latitude. |
longitude |
number | Yes | Origin longitude. |
radius |
integer | No | Radius in miles. Defaults to 1. |
limit |
integer | No | Maximum records. Defaults to 20. |
transport_type |
string | No | Filter by subway, bus, citi_bike, railroad, or ferry. |
city_uuids[] / city_names[] |
array | No | Filter by cities. |
Example request
curl --get 'https://hoodsdk.com/api/v1/public_transport_stops/nearby.json?latitude=40.7306&longitude=-73.9352&radius=1'
Example response 200 OK
[
{
"id": 9,
"name": "Greenpoint Av",
"latitude": 40.7314,
"longitude": -73.9544,
"transport_type": "subway",
"lines": ["G"],
"wheelchair_boarding": 1,
"lines_details": [{"id": 12, "public_id": "G", "name": "G", "color": "6CBE45", "text_color": "FFFFFF"}],
"distance": 0.3
},
{
"id": 4102,
"name": "Manhattan Av & Greenpoint Av",
"latitude": 40.7304,
"longitude": -73.9541,
"transport_type": "citi_bike",
"lines": [],
"lines_details": [],
"distance": 0.35,
"live": {
"bike_availability": {
"as_of": "2026-08-16T11:03:12.000-04:00",
"bikes_available": 9,
"bikes_disabled": 1,
"docks_available": 12,
"docks_disabled": 0,
"scooters_available": 2,
"scooters_unavailable": 0,
"renting": true,
"returning": true,
"installed": true
}
}
}
]