# ForgeMesh Travel Agent – Transit Providers Lookup

> ForgeMesh Travel Agent – Transit Providers Lookup is a paid API for AI agents from travel-agent.forgemesh.io, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Returns transit and mobility provider options (subway, bus, rail, ferry, etc.) for a given origin, destination, or location, helping agents identify which transit providers serve an area.

## Facts

- Endpoint: GET https://travel-agent.forgemesh.io/api/transit-providers
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/forgemesh-travel-agent-transit-providers-lookup-657a9207
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_y9q21BObVJ7M2tbmpm85G

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 forgemesh-travel-agent-transit-providers-lookup-657a9207
```

Example prompt: What transit providers — subway, bus, commuter rail, or ferry — are available in Boston if I'm coming from Providence for a day trip?

## When to prefer this

Use this endpoint when an agent needs to identify which transit agencies or mobility providers operate in or between locations, especially for trip planning, day-trip briefs, or multimodal itinerary building. Prefer this over live departure APIs when the goal is provider discovery rather than real-time scheduling. Best suited for pre-trip research where knowing available transit modes and agencies is sufficient.

## Known failure modes

- Missing or unrecognized location returns empty matches array
- Unsupported transportation_type filter may yield no results
- Ambiguous city names without country/region context may return incorrect providers
- Service does not confirm live availability or real-time disruptions — agents may misinterpret results as live data
- Payment failure (402) if USDC balance is insufficient or x402 protocol not supported by client

## How this service works

Returns a short list of transit provider matches (name, ID, transportation modes) for a location and transport type. Use to identify rail, metro, bus, or ferry options before booking.

## Output

A JSON object with a list of matched transit providers including their name, provider ID, and supported transportation modes (e.g. subway, bus, commuter rail, ferry), along with a category label ('mobility_options') and a list of caveats explaining what the data does not confirm (live departures, fares, accessibility, disruptions).

## 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",
     "properties": {
      "origin": {
       "type": "string"
      },
      "location": {
       "type": "string"
      },
      "trip_style": {
       "type": "string"
      },
      "destination": {
       "type": "string"
      },
      "transportation_type": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "data": {
       "type": "object"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "data": {
   "matches": [
    {
     "name": "MBTA",
     "provider_id": "mbta",
     "transportation": [
      "subway",
      "bus",
      "commuter rail",
      "ferry"
     ]
    }
   ],
   "category": "mobility_options",
   "why_not_high": [
    "Mobility guidance is provider/strategy-level and does not confirm live departures, fares, route availability, accessibility, or service disruptions."
   ]
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/forgemesh-travel-agent-transit-providers-lookup-657a9207/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from travel-agent.forgemesh.io](https://www.zero.xyz/host/travel-agent.forgemesh.io/llms.txt)
