{
  "x402Version": 2,
  "id": 6008,
  "slug": "6008",
  "resource": "https://travel-agent.forgemesh.io/api/transit-providers",
  "description": "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.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x7F7C9bfF1DDF2817641740962A9872e6421eBBFc",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 1800
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "location": "Boston",
            "transportation_type": "rail",
            "trip_style": "car-light day trip"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "data": {
              "category": "mobility_options",
              "matches": [
                {
                  "name": "MBTA",
                  "provider_id": "mbta",
                  "transportation": [
                    "subway",
                    "bus",
                    "commuter rail",
                    "ferry"
                  ]
                }
              ],
              "why_not_high": [
                "Mobility guidance is provider/strategy-level and does not confirm live departures, fares, route availability, accessibility, or service disruptions."
              ]
            },
            "ok": true
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "properties": {
                  "destination": {
                    "type": "string"
                  },
                  "location": {
                    "type": "string"
                  },
                  "origin": {
                    "type": "string"
                  },
                  "transportation_type": {
                    "type": "string"
                  },
                  "trip_style": {
                    "type": "string"
                  }
                },
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "data": {
                    "type": "object"
                  },
                  "ok": {
                    "type": "boolean"
                  }
                },
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_4ypyymtf"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "offer-receipt": {
      "info": {
        "offers": [
          {
            "acceptIndex": 0,
            "format": "eip712",
            "payload": {
              "amount": "10000",
              "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
              "network": "eip155:8453",
              "payTo": "0x7F7C9bfF1DDF2817641740962A9872e6421eBBFc",
              "resourceUrl": "https://travel-agent.forgemesh.io/api/transit-providers",
              "scheme": "exact",
              "validUntil": 1788912909,
              "version": 1
            },
            "signature": "0x4f8e0319960b8623c6731f610ba3f18428bd82ea982b0b7561874360b76f9c6a149101eb8dbf0a919260afe029c0f6e16243dec973fde8174742ffe1ce2e67f61c"
          }
        ]
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "offers": {
            "items": {
              "properties": {
                "acceptIndex": {
                  "type": "integer"
                },
                "format": {
                  "type": "string"
                },
                "payload": {
                  "properties": {
                    "amount": {
                      "type": "string"
                    },
                    "asset": {
                      "type": "string"
                    },
                    "network": {
                      "type": "string"
                    },
                    "payTo": {
                      "type": "string"
                    },
                    "resourceUrl": {
                      "type": "string"
                    },
                    "scheme": {
                      "type": "string"
                    },
                    "validUntil": {
                      "type": "integer"
                    },
                    "version": {
                      "type": "integer"
                    }
                  },
                  "required": [
                    "version",
                    "resourceUrl",
                    "scheme",
                    "network",
                    "asset",
                    "payTo",
                    "amount"
                  ],
                  "type": "object"
                },
                "signature": {
                  "type": "string"
                }
              },
              "required": [
                "format",
                "signature"
              ],
              "type": "object"
            },
            "type": "array"
          }
        },
        "required": [
          "offers"
        ],
        "type": "object"
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code",
    "offer-receipt",
    "payment-identifier"
  ],
  "sourceHost": "travel-agent.forgemesh.io",
  "lastUpdated": "2026-09-09T00:10:09.884Z",
  "quality": {
    "calls30d": 4,
    "uniquePayers30d": 4,
    "lastCalledAt": "2026-09-09T00:10:09.674Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "travel-agent.forgemesh.io",
    "manifest_name": "travel-agent.forgemesh.io",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}