Transportation & TransitFreeAPI Gateway (Edge Cache)

Swiss Federal Railways (SBB)Free REST API

This API provides departure, delay, and cancellation data from the Swiss Federal Railways (SBB) for the previous day. It compares scheduled (soll) vs.

Best for:Full-stack prototyping, developer tooling, production apps, and hackathons.
Direct Public REST Service
Official Documentation
Ctrl + D to bookmark page
Rate Limit
Free (No auth required)
Auth
Gateway (Zero-Setup)
Security & CORS
HTTPS • CORS Enabled
Payload Format
JSON / REST

FreeAPI Smart Gateway Supported (Recommended)

Zero account setup or API key registration needed. Call directly through FreeAPI Smart Edge Gateway with in-memory cache, automatic CORS support, and normalized JSON output.

Query Params

Live Test Console & 3D Assistant

Launch our 3D companion to execute real-time REST JSON queries against this endpoint with zero CORS friction.

Quickstart Code Snippets

Copy-paste ready boilerplate for your tech stack.

Bypass browser CORS restrictions. Protected by in-memory RAM cache and automated circuit breaker.
Get Free API Key →
// Call via FreeAPI Smart Edge Gateway (In-Memory Cache + CORS Guard)
// Endpoint: https://findfreeapi.com/api/v1/gateway/swiss-federal-railways-sbb

async function callSwissFederalRailwaysSBB() {
  try {
    const response = await fetch("https://findfreeapi.com/api/v1/gateway/swiss-federal-railways-sbb", {
      headers: {
        "Accept": "application/json",
        // "x-freeapi-key": "fapi_live_your_api_key" // FreeAPI Gateway Key
      }
    });

    if (!response.ok) {
      throw new Error(`Gateway HTTP error! status: ${response.status}`);
    }

    const data = await response.json();
    console.log("FreeAPI Live Data:", data);
  } catch (error) {
    console.error("FreeAPI Gateway Error:", error);
  }
}

callSwissFederalRailwaysSBB();
Running this API inside a bot, microservice, or backend daemon?

Share with Devs & GitHub Badge

Share this public endpoint with your team or embed verified status badge in your README.md.

GitHub README.md Badge (Live SVG):
[![Swiss Federal Railways (SBB) - Free Public API](https://findfreeapi.com/api/badge/swiss-federal-railways-sbb?style=flat)](https://findfreeapi.com/en/service/swiss-federal-railways-sbb?utm_source=github_badge&utm_medium=readme&utm_campaign=readme_badge)

Key Advantages (Pros)

  • Zero-Auth: No API key or registration required to start querying.
  • Documented Rate Limit: Free (No auth required).
  • HTTPS & CORS Enabled: Can be queried directly from client browsers or server backends.

Considerations & Limits (Cons)

  • Rate Limited: Excessive rapid requests may receive HTTP 429 status.
  • Third-party SLA: Service uptime depends on the upstream provider.

Frequently Asked Questions (FAQ)

Technical and integration answers for Swiss Federal Railways (SBB).

Yes, Swiss Federal Railways (SBB) is listed as a free endpoint on FreeAPI Directory with an allowance of: Free (No auth required).

GitHub README Verified Badge

Embed this live verified badge in your project or repository.

Preview:Swiss Federal Railways (SBB) FreeAPI Verified Badge
[![Swiss Federal Railways (SBB) - Free Public API](https://findfreeapi.com/api/badge/swiss-federal-railways-sbb?style=flat)](https://findfreeapi.com/en/service/swiss-federal-railways-sbb?utm_source=github_badge&utm_medium=readme&utm_campaign=readme_badge)
Official Service Provider Ownership: Swiss Federal Railways (SBB)

All data feeds, trademarks, and documentation belong directly to the original API provider. FreeAPI serves purely as a discovery index and documentation reference for developers.

DMCA / Takedown Request

Top Alternatives in Transportation & Transit

Transportation & Transit

OpenRouteService

Open-source directions, route navigation, isochrones, and geocoding

FeaturedAPI KEY2000 req/day
Transportation & Transit

GraphHopper

Fast vehicle routing engine, delivery route optimization, and turn-by-turn

API KEY500 req/day
Transportation & Transit

NHTSA Vehicle API

NHTSA vehicle safety ratings, VIN decoding, recalls, and manufacturer data

ZERO-AUTHUnlimited
Transportation & Transit

TransitLand

Open platform aggregating GTFS public transit schedules and network routes

API KEYVariable