OneBusAway · Example Payload

Reportproblemwithtrip

TransitPublic TransitReal-TimeArrivalsDeparturesBusGTFSOpen-SourceStop DataTrip PlanningService AlertsVehicle PositionsOpen Data

Reportproblemwithtrip is an example object payload from OneBusAway, with 7 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummarydescriptiontagsparameters

Example Payload

Raw ↑
{
  "operationId": "reportProblemWithTrip",
  "method": "GET",
  "path": "/api/where/report-problem-with-trip/{tripID}.json",
  "summary": "Submit a user-generated problem report for a particular trip.",
  "description": "",
  "tags": [],
  "parameters": [
    {
      "name": "tripID",
      "in": "path",
      "required": true,
      "description": "The ID of the trip",
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "serviceDate",
      "in": "query",
      "required": false,
      "description": "The service date of the trip",
      "schema": {
        "type": "integer",
        "format": "int64"
      }
    },
    {
      "name": "vehicleID",
      "in": "query",
      "required": false,
      "description": "The vehicle actively serving the trip",
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "stopID",
      "in": "query",
      "required": false,
      "description": "A stop ID indicating where the user is experiencing the problem",
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "code",
      "in": "query",
      "required": false,
      "description": "A string code identifying the nature of the problem",
      "schema": {
        "type": "string",
        "enum": [
          "vehicle_never_came",
          "vehicle_came_early",
          "vehicle_came_late",
          "wrong_headsign",
          "vehicle_does_not_stop_here",
          "other"
        ]
      }
    },
    {
      "name": "userComment",
      "in": "query",
      "required": false,
      "description": "Additional comment text supplied by the user describing the problem",
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "userOnVehicle",
      "in": "query",
      "required": false,
      "description": "Indicator if the user is on the transit vehicle experiencing the problem",
      "schema": {
        "type": "boolean"
      }
    },
    {
      "name": "userVehicleNumber",
      "in": "query",
      "required": false,
      "description": "The vehicle number, as reported by the user",
      "schema": {
        "type": "string"
      }
    },
    {
      "name": "userLat",
      "in": "query",
      "required": false,
      "description": "The reporting user\u2019s current latitude",
      "schema": {
        "type": "number",
        "format": "float"
      }
    },
    {
      "name": "userLon",
      "in": "query",
      "required": false,
      "description": "The reporting user\u2019s current longitude",
      "schema": {
        "type": "number",
        "format": "float"
      }
    },
    {
      "name": "userLocationAccuracy",
      "in": "query",
      "required": false,
      "description": "The reporting user\u2019s location accuracy, in meters",
      "schema": {
        "type": "number",
        "format": "float"
      }
    }
  ]
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/reportProblemWithTrip"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.