# x402rail.net x402-Directory Feed

> x402rail.net x402-Directory Feed is a paid API for AI agents from x402rail.net, paid per call via x402, $0.005/call, status unknown (last checked 2026-09-14).

Returns a probed directory of known x402-enabled services, listing endpoints that accept x402 micropayments.

## Facts

- Endpoint: GET https://x402rail.net/v1/data/:feed
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402rail-net-x402-directory-feed-288eeef9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8iZJz_WR3SjNXccbQiZFE

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 x402rail-net-x402-directory-feed-288eeef9
```

Example prompt: Can you pull the x402-directory feed from x402rail so I can see the full list of currently known x402-enabled services and their endpoints?

## When to prefer this

Use this endpoint when an AI agent needs to discover which services support x402 micropayments, build a list of payable APIs, or bootstrap its own service discovery for x402-based workflows. It is the canonical probed directory rather than a self-reported registry, meaning listed services have been confirmed to respond to x402 payment flows.

## Known failure modes

- Invalid feed identifier returns an error — only 'x402-directory' is supported
- Payment failure if x402 payment of $0.005 USDC is not successfully processed before the request
- Network timeout if the underlying probe data is being refreshed
- Empty or stale directory if no x402 services have been recently probed

## How this service works

Fetches an owned, continuously-maintained niche data feed. Current feed `x402-directory`: a probed directory of known x402 services with their live reliability scores, networks, and last-probe timestamps.

## Output

A structured directory of known x402 services that have been probed and confirmed to accept x402 micropayments, including their endpoint details and metadata.

## 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"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "feed"
     ],
     "properties": {
      "feed": {
       "enum": [
        "x402-directory"
       ],
       "type": "string",
       "description": "Feed identifier. Supported: `x402-directory` (the probed directory of known x402 services)."
      }
     }
    },
    "queryParams": {
     "type": "object",
     "required": [
      "feed"
     ],
     "properties": {
      "feed": {
       "enum": [
        "x402-directory"
       ],
       "type": "string",
       "description": "Feed identifier. Supported: `x402-directory` (the probed directory of known x402 services)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402rail-net-x402-directory-feed-288eeef9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402rail.net](https://www.zero.xyz/host/x402rail.net/llms.txt)
