Transit Score
Get a bus transit accessibility score (0–100) for any coordinates. Useful for property listings, venue pages, or any application that needs to communicate transit access without requiring users to look up stops manually.
GET/v1/score
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| lat | float | Required | Latitude (e.g. -33.8982) |
| lng | float | Required | Longitude (e.g. 151.1783) |
Example
cURL
curl "https://api.transitkit.dev/v1/score?lat=-33.8982&lng=151.1783" \
-H "Authorization: Bearer YOUR_API_KEY"Response
200 OK
{
"location": { "lat": -33.8982, "lng": 151.1783 },
"score": 92,
"summary": "Excellent",
"nearby_stops": 30,
"closest_stop": {
"stop_id": "204210",
"name": "Newtown Station, Newtown",
"distance_metres": 61
}
}Scoring
Scores are calculated from three components based on bus stops within 1km:
| Component | Points |
|---|---|
| Stops within 500m | 4 pts each, max 10 stops (40 pts) |
| Stops within 1000m | 2 pts each, max 10 stops (20 pts) |
| Closest stop <100m | +40 pts |
| Closest stop <200m | +30 pts |
| Closest stop <400m | +20 pts |
| Closest stop <800m | +10 pts |
Summary Labels
| Score | Summary |
|---|---|
| 81–100 | Excellent |
| 61–80 | Good |
| 41–60 | Average |
| 21–40 | Below Average |
| 0–20 | Minimal |
Example Scores
| Location | Score | Summary |
|---|---|---|
| Newtown Station | 92 | Excellent |
| Sydney CBD | 64 | Good |
| Penrith | ~20 | Minimal |
| Ocean / harbour | 0 | Minimal |
Note: Scores reflect bus stop accessibility specifically, not all transport modes. A location next to a train station with no bus stops nearby may score lower than expected.