Greyhound trip itinerary API

Use the Greyhound trip itinerary API to retrieve journey segments and endpoints, station and stop records, carrier records and transport operators as structured JSON from Greyhound. Choose origin, destination and date as optional query conditions to select the source records or view required for your request. Use these results to compare journey options for the selected route and dates before choosing a travel itinerary. The detail page includes parameter definitions, paired request and response examples, and usage pricing for this operation.

Selected price
$0.002 / billing creditPublished pricing
Sellers / implementations
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...

Run sends a real API request. Charges follow the published API contract.

Request parameters
Optional parameters (11)
Trip uid from `/greyhound/v1/search` (`direct:…` or `interconnection:…`).
Instead of `uid`: departure city (with `to`).
Arrival city.
Travel date `YYYY-MM-DD` (with `from`/`to`).
Days from today (with `from`/`to`).
Which departure of that day (0 = first).
0 leaves out the bulky `raw` source blocks (often 10-30x smaller).
Comma-separated fields to return, e.g. `posts.id,posts.title`. Call metadata is always included.
1 skips the 24-hour cache and fetches live.
JSON only for this OpenAny product. Omit output or use json; CSV and NDJSON are not supported.
With output=csv|ndjson: the top-level list to turn into rows (e.g. `reviews`), or `.` for the whole object as one row.

Sample response

{
  "arrival": {
    "address": "700 Atlantic Ave",
    "city": "Boston, MA",
    "country": "US",
    "description": "Greyhound and FlixBus buses will arrive and depart from the South Wing and departure gate numbers will be Gates #13, #14, and #18-27.",
    "lat": 42.350469,
    "lng": -71.05618,
    "name": "Boston (South Station)",
    "zip_code": "02111"
  },
  "cached": false,
  "credits_used": 1,
  "departure": {
    "address": "625 8Th Ave",
    "city": "New York, NY",
    "country": "US",
    "description": "Bus will stop at the Port Authority Bus Terminal located at 625 8th Avenue. The ticket counter is located in the North wing on the subway level. Bus gates are on the lower level 60 - 68 and 79 - 85.",
    "lat": 40.75695,
    "lng": -73.9905,
    "name": "New York Port Authority",
    "zip_code": "10018"
  },
  "fetched_at": "2026-11-19T12:25:09.662Z",
  "legs": [
    {
      "brand": "Greyhound",
      "brand_type": "core",
      "carriers": [
        "Greyhound Lines, Inc."
      ],
      "line": "US0230",
      "line_destination": "Boston (South Station)",
      "line_id": 49133,
      "messages": {
        "from": null,
        "to": null
      },
      "operators": [
        "Greyhound Lines, Inc"
      ],
      "stops": [
        {
          "arrival": null,
          "departure": "2026-12-19T01:00:00-05:00",
          "name": "New York Port Authority",
          "time": "2026-12-19T01:00:00-05:00"
        },
        {
          "arrival": "2026-12-19T03:30:00-05:00",
          "departure": "2026-12-19T03:45:00-05:00",
          "name": "Hartford (Union Station)",
          "time": "2026-12-19T03:30:00-05:00"
        },
        {
          "arrival": "2026-12-19T05:30:00-05:00",
          "departure": null,
          "name": "Boston (South Station)",
          "time": "2026-12-19T05:30:00-05:00"
        }
      ],
      "sub_brand": null,
      "transfer_minutes": null,
      "type": "ride",
      "warnings": []
    }
  ],
  "uid": "direct:6d9dedb5-1502-4892-949c-1c1a5fd2667a:e204bb66-8ab9-4437-8d0d-2b603cdf0c43:9b6bfd56-3ecb-11ea-8017-02437075395e"
}

Response result

Response structure

Inferred from examples
  • arrivalobject
    • addressstring
    • citystring
    • countrystring
    • descriptionstring
    • latnumber
    • lngnumber
    • namestring
    • zip_codestring
  • cachedboolean
  • credits_usedinteger
  • departureobject
    • addressstring
    • citystring
    • countrystring
    • descriptionstring
    • latnumber
    • lngnumber
    • namestring
    • zip_codestring
  • fetched_atstring
  • legsobject[]
    • brandstring
    • brand_typestring
    • carriersstring[]
    • linestring
    • line_destinationstring
    • line_idinteger
    • messagesobject
      • fromnull
      • tonull
    • operatorsstring[]
    • stopsobject[]
      • arrivalnull | string
      • departurestring | null
      • namestring
      • timestring
    • sub_brandnull
    • transfer_minutesnull
    • typestring
    • warningsunknown[]
  • uidstring

Loading related APIs…

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Greyhound trip itinerary API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.