# x402-farm French Transport Data

> x402-farm French Transport Data is a paid API for AI agents from x402-farm.vercel.app, paid per call via x402, $0.01/call, status down (last checked 2026-09-15).

Returns public transit feed data (GTFS URLs) for a given French region or locality query via a pay-per-call x402 endpoint

## Facts

- Endpoint: GET https://x402-farm.vercel.app/v1/fr/transport
- Price: $0.01/call
- Payment: x402
- Status: down
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-farm-french-transport-data-98d06750
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VoWZAYxzTkEPZyxp9Qp91

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 x402-farm-french-transport-data-98d06750
```

Example prompt: Can you find the public transit GTFS feed URLs for Guadeloupe so I can access bus and transport schedule data for that region?

## When to prefer this

Choose this endpoint when you need to programmatically discover GTFS public transit feed URLs for French regions, departments, or overseas territories without needing an account or API key — particularly useful in agent workflows requiring pay-per-call micropayment access via the x402/USDC protocol. Prefer this over manual web searches or static datasets when you need structured, machine-readable transit feed discovery at low cost.

## Known failure modes

- No datasets found for the queried region — empty datasets array returned
- Invalid or missing 'input' object results in schema validation error
- Payment failure via x402 protocol if USDC balance is insufficient
- Region name misspelled or not recognized — returns empty or irrelevant results
- Service unavailability on Vercel hosting causing 5xx errors

## How this service works

Pay-per-call APIs for AI agents — x402 protocol, USDC on Base, no account needed.

## Output

A JSON object containing the query string used, and an array of datasets each with a type (e.g. 'public-transit'), a list of feeds with their URLs and formats (e.g. GTFS), and a title for the dataset — enabling downstream transit data ingestion or route planning.

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "query": "Guadeloupe",
  "datasets": [
   {
    "type": "public-transit",
    "feeds": [
     {
      "url": "https://...",
      "format": "GTFS"
     }
    ],
    "titre": "..."
   }
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-farm-french-transport-data-98d06750/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-farm.vercel.app](https://www.zero.xyz/host/x402-farm.vercel.app/llms.txt)
