Transport for Czech Republic API

Free to Use Varies (check documentation)

Overview

The IDOS API provides public transport connection search for the Czech Republic, covering buses, trains, and urban transit. No authentication is required for basic use, making it accessible for beginners. It is the primary route-planning API used by Czech transit applications.

💡

Beginner Tip

No API key is required for basic queries. The API is primarily designed for connection searches between Czech cities — try searching for connections between Prague and Brno to see it in action.

Available Data

match scores and results
team standings
player statistics
schedule and fixtures
Use case: Integrate czech transport api data into web and mobile applications

Example Response

JSON Response
{
  "route": "Line 1",
  "origin": "Station A",
  "destination": "Station B",
  "departure": "08:30",
  "arrival": "09:15",
  "status": "On Time",
  "delays_min": 0
}

Field Reference

Connection A single travel connection from origin to destination
Trains List of train or vehicle segments in the journey
Departure Departure time for a journey segment
Arrival Arrival time for a journey segment
Via Intermediate transfer stop name if applicable

Implementation Example

const url = "https://www.chaps.cz/eng/products/idos-internet";
const response = await fetch(url);
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

No connections found Station names are not recognized or are in a non-Czech format
Use official Czech city and station names as they appear in the IDOS web app
403 Forbidden Commercial usage without a license agreement with CHAPS
Contact CHAPS at chaps.cz for a commercial API license if you plan to use it in a production application
Unexpected response format The API returns HTML for the web interface rather than JSON
Check the developer documentation for the correct JSON endpoint format; the public web is not the same as the API endpoint

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 15/20
🔒 Security 15/15
🛠 Developer XP 15/20
✓ Reliability 7/15
Response Time 288ms

Fully tested on Apr 5, 2026

Technical Specifications

Auth No Auth
HTTPS REQUIRED
CORS UNKNOWN
Category Transportation
Difficulty Beginner
Verified: 2026-04-04

Similar APIs

View All →