Plan a journey
API · /swisstransit-api
Swiss Transit API
Switzerland's public-transport timetable as an API, powered by the official Swiss open transport service (transport.opendata.ch, built on the search.ch timetable). One of the densest and most punctual transit networks in the world — trains (SBB/CFF/FFS), trams, city and postbuses, boats, funiculars and cable cars — in a single clean API. Find stops, stations and addresses by name with their identifier and coordinates; plan a complete door-to-door journey between any two places with optional via stop, date and time and the option to search by arrival time, getting each connection's departure and arrival times and platforms, total duration in minutes, the number of transfers, the transport products used (for example IC 8 or S 8) and the full leg-by-leg breakdown including any walking sections; and read a station's live departure or arrival board with the line, destination, time, platform and any real-time delay. Ideal for journey-planner and mobility apps, travel tools, logistics and tourism in Switzerland. Place names accept stop names or station ids from the locations endpoint, and times include live delays where available. Data from transport.opendata.ch (Swiss open transport data); covers Switzerland and immediate cross-border connections.
API salute
degradato- Tempo di attività
- 90.91%
- Sondaggi del server · 24 ore su 24
- Latenza media
- 631 ms
- Sondaggi del server · 24 ore su 24
- Abbonati
- 4,141
- attiva
- Chiamate totali
- 24
- ultimi 7 giorni
Prezzi
Scegli un livello: fatturazione mensile, annullamento in qualsiasi momento.
Free
Gratis
- 595 chiamate/mese
- 2 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 595 calls/month
- 2 req/sec
- Locations, journeys & boards
- No credit card
Starter
€7.10 /mese
- 21,600 chiamate/mese
- 6 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 21.6k calls/month
- 6 req/sec
- Journey planning
- Email support
Pro
€21.50 /mese
- 91,200 chiamate/mese
- 15 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 91.2k calls/month
- 15 req/sec
- Mobility & travel apps
- Priority support
Mega
€59.50 /mese
- 388,000 chiamate/mese
- 40 richieste/secondo
- Tetto rigido (429 sopra la quota, nessuna eccedenza)
- 388k calls/month
- 40 req/sec
- High-volume routing
- Dedicated SLA
Costruito da
Correlato APIs
Altro APIs con tag sovrapposti.
Domande frequenti
Risposte rapide su prezzi, quote e integrazione.
Come ottengo una chiave API per Swiss Transit API?
Qual è il limite di velocità di Swiss Transit API?
Quanto costa Swiss Transit API?
Posso cancellare l'abbonamento in qualsiasi momento?
Swiss Transit API è conforme al GDPR?
Scegli un endpoint dall'elenco a sinistra per visualizzarne i dettagli e provarlo.
Frammenti di codice
Iscriviti per ottenere una chiave API, quindi chiama qualsiasi percorso sotto il tuo slug.
curl https://api.oanor.com/swisstransit-api/SOME_PATH \
-H "x-oanor-key: oanor_test_..."
const res = await fetch("https://api.oanor.com/swisstransit-api/SOME_PATH", {
headers: { "x-oanor-key": "oanor_test_..." }
});
const data = await res.json();
$ch = curl_init("https://api.oanor.com/swisstransit-api/SOME_PATH");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
$response = curl_exec($ch);
import requests
r = requests.get(
"https://api.oanor.com/swisstransit-api/SOME_PATH",
headers={"x-oanor-key": "oanor_test_..."},
)
print(r.json())
Valutazioni
Accedi per votare.
Nessuna recensione ancora.
Discussione
Fai domande, condividi consigli, ricevi risposte dal provider e dagli altri sviluppatori. Pubblico — chiunque può leggere.
Accedi per scrivere o rispondere.
AccediNuova discussione
·
-
Risposta del provider
🔒 Discussione bloccata — non si può più rispondere.
-
·
- Nessuna discussione — inizia tu.
Supporto
Supporto privato 1:1 con il provider — fatturazione, integrazione, account. Solo tu e il team del provider vedete questi thread.
Accedi per aprire un ticket di supporto.
AccediApri nuovo ticket
Descrivi cosa ti serve. Il team del provider riceve un'email e risponde sulla pagina del ticket.
-
·
Urgente - Nessun ticket per questa API.