Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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.
openapi: 3.2.0
info:
title: Transitland Onestop Id API
version: 2.0.0
contact:
email: info@interline.io
description: 'Operations tagged Onestop Id across 2 of this provider''s published API definitions: transitland-rest-openapi.json, transitland-rest-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- description: Transitland REST API
url: https://transit.land/api/v2/rest
tags:
- name: Onestop Id
paths:
/onestop_id/{onestop_id}:
get:
parameters:
- description: Onestop ID lookup key
in: path
name: onestop_id
required: true
schema:
type: string
responses:
'302':
description: Redirect to entity by Onestop ID
'404':
description: Onestop ID not found or invalid format
summary: Onestop ID Entity Redirect
tags:
- Onestop Id
operationId: getOnestopIdByOnestopId
x-operation-id-source: derived
servers:
- description: Transitland REST API
url: https://transit.land/api/v2/rest
x-refined-from:
- transitland-rest-openapi.json
- transitland-rest-openapi.yml
x-provenance:
method: harvested
publisher: TransitLand
source: https://transit.land/api/v2/rest/openapi.json
note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
stamped by stamp-openapi-provenance.py (roadmap#793)