# SiteCheck Shop & Social – FlixBus/FlixTrain Trip Search

> SiteCheck Shop & Social – FlixBus/FlixTrain Trip Search is a paid API for AI agents from api.shopsocial-api.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-10-29).

Returns FlixBus and FlixTrain trip options between two cities on a given date, including departure/arrival times and stations, duration, transfers, price in EUR, seats left, and availability status.

## Facts

- Endpoint: GET https://api.shopsocial-api.workers.dev/api/ecommerce/flixbus?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sitecheck-shop-social-flixbus-flixtrain-trip-search-c3e7b03c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5176FrHQDE-muQ-bD9sS_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability sitecheck-shop-social-flixbus-flixtrain-trip-search-c3e7b03c
```

Example prompt: What FlixBus trips are available from Berlin to Munich on October 30, 2026? I want to see departure times, prices, and how many seats are left.

## When to prefer this

Use this endpoint when you need real-time FlixBus and FlixTrain schedule, pricing, and seat availability data for a specific city-pair and date, without requiring user authentication or booking. It is ideal for travel comparison agents, itinerary planners, or budget-monitoring workflows that need structured European intercity bus data. Prefer this over scraping FlixBus directly, as it wraps the official public search API and returns clean structured JSON.

## Known failure modes

- City name not recognized by FlixBus API — returns empty or error response
- No trips found for the requested route/date combination — returns count:0 with empty trips array
- Date outside the 180-day booking window — may return error or empty results
- Misspelled or ambiguous city names leading to wrong city match
- FlixBus API rate limiting or downtime causing upstream failure

## How this service works

Pay-per-call e-commerce, product, price and social media data tools for AI agents, from public sources. Payment: x402, USDC on Base, Solana, Arc, Polygon, Arbitrum, Monad, World Chain, Optimism, Avalanche, Celo or Stellar, or RLUSD/XRP on the XRP Ledger. No signup, no API key; a failed call is not charged.

## Output

A JSON object containing the from/to city metadata, the travel date, total trip count, and an array of trips each with: status (available/sold out), departure and arrival ISO timestamps, departure and arrival station names, duration in minutes, number of transfers, price in EUR (with and without platform fee), seats left, and provider name. Also includes the source API URL and a checkedAt timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Arrival city name, e.g. Munich (required)"
      },
      "date": {
       "type": "string",
       "description": "Travel date YYYY-MM-DD, today to 180 days ahead (default: 7 days from today)"
      },
      "from": {
       "type": "string",
       "description": "Departure city name, e.g. Berlin (required)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "to": {
   "id": "40d901a5-8646-11e6-9066-549f350fcb0c",
   "name": "Munich",
   "country": "de"
  },
  "date": "2026-10-30",
  "from": {
   "id": "40d8f682-8646-11e6-9066-549f350fcb0c",
   "name": "Berlin",
   "country": "de"
  },
  "count": 23,
  "trips": [
   {
    "status": "available",
    "arrival": "2026-10-30T17:35:00+01:00",
    "priceEur": 59.48,
    "provider": "flixbus",
    "departure": "2026-10-30T07:15:00+01:00",
    "seatsLeft": 22,
    "transfers": 1,
    "arrivalStation": "Munich Fröttmaning",
    "durationMinutes": 620,
    "priceWithFeeEur": 60.47,
    "departureStation": "Berlin Südkreuz"
   },
   {
    "status": "available",
    "arrival": "2026-10-30T15:35:00+01:00",
    "priceEur": 47.99,
    "provider": "flixbus",
    "departure": "2026-10-30T07:40:00+01:00",
    "seatsLeft": 25,
    "transfers": 0,
    "arrivalStation": "Munich central bus station",
    "durationMinutes": 475,
    "priceWithFeeEur": 48.98,
    "departureStation": "Berlin central bus station"
   }
  ],
  "source": "https://global.api.flixbus.com/search/service/v4/search",
  "checkedAt": "2026-10-23T09:37:43.214Z"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sitecheck-shop-social-flixbus-flixtrain-trip-search-c3e7b03c/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.shopsocial-api.workers.dev](https://www.zero.xyz/host/api.shopsocial-api.workers.dev/llms.txt)
