# Agent Weather x402 XRPL Price Index

> Agent Weather x402 XRPL Price Index is a paid API for AI agents from api.agentweather.io, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-17).

Returns a live price index of x402-payable API endpoints on XRPL mainnet, including cheapest provider per capability category, price distribution, and price drift since the previous cycle.

## Facts

- Endpoint: GET https://api.agentweather.io/v1/price-index?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-weather-x402-xrpl-price-index-88f2c14f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_F6CxlSTVVh-O-t16AFKUJ

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 agent-weather-x402-xrpl-price-index-88f2c14f
```

Example prompt: Before I start paying for x402 APIs on XRPL, pull the current Agent Weather price index so I can see which capability categories have the cheapest live providers and how prices are distributed right now.

## When to prefer this

Use this endpoint when an agent needs to compare costs across multiple x402-payable API categories on XRPL mainnet before committing to a payment, or when building cost-aware routing logic that selects the cheapest live provider. Prefer this over individual endpoint probes when you need a broad market view rather than a single-endpoint preflight check.

## Known failure modes

- No live endpoints found if the XRPL mainnet has no valid 402 responses in the current cycle
- Stale data if the health checker cycle is delayed
- POST-only or unprobed resources are excluded from the live index
- Price drift data unavailable if this is the first cycle

## How this service works

Use when you want to compare what XRPL x402 resources cost per category before buying. Price index of live x402 resources payable on XRPL mainnet: cheapest live provider per capability category, USD-normalised price distribution, every live endpoint with its rails, and price changes since the previ…

## Output

A JSON object containing: the current cycle number and timestamp, XRP/USD rate, a list of all live x402 endpoints with their payment rails and USD-normalized prices, per-category summaries (cheapest provider, median price, live endpoint count), a USD price distribution with percentile bands, and price changes since the previous cycle. Also includes methodology references and data gap disclosures.

## 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": {},
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "example_data",
      "schema_version",
      "issued_at",
      "index",
      "sources",
      "data_gaps",
      "methodology"
     ],
     "properties": {
      "index": {
       "type": [
        "object",
        "null"
       ]
      },
      "sources": {
       "type": "array"
      },
      "data_gaps": {
       "type": "array"
      },
      "issued_at": {
       "type": "string",
       "format": "date-time"
      },
      "report_id": {
       "type": "string"
      },
      "methodology": {
       "type": "object"
      },
      "example_data": {
       "const": false
      },
      "schema_version": {
       "type": "string"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "index": {
   "as_of": "2026-10-12T02:31:28.000Z",
   "cycle": 516,
   "scope": "x402 resources payable on XRPL mainnet (xrpl:0) that returned a valid 402 to our unpaid GET in this cycle",
   "xrp_usd": 1.40682,
   "endpoints": [
    {
     "url": "https://x402.asksurf.ai/x402/xrpl/tools/ask_surf_chat",
     "name": null,
     "rails": [
      {
       "usd": 0.0005,
       "asset": "RLUSD",
       "units": 0.0005,
       "amount": "0.0005",
       "issuer": "rMxCKbEDwqr76QuheSUMdEGf4B9xJ8m5De",
       "usd_method": "USD stablecoin at 1.00"
      }
     ],
     "origin": "https://x402.asksurf.ai",
     "pay_to": "ra9b6JX5aPVbdJhogDDddsRAcasWg7gzC3",
     "category": "inference_llm",
     "cheapest_usd": 0.0005,
     "cheapest_rail": "RLUSD"
    }
   ],
   "categories": [
    {
     "max_usd": 19.999574,
     "category": "market_data",
     "cheapest": {
      "url": "https://api.printmoneylab.com/api/v1/xrpl/fx-rate",
      "usd": 0.001,
      "name": null,
      "rail": "RLUSD",
      "rails": [
       {
        "usd": 0.001,
        "asset": "RLUSD",
        "units": 0.001,
        "amount": "0.001",
        "issuer": "rMxCKbEDwqr76QuheSUMdEGf4B9xJ8m5De",
        "usd_method": "USD stablecoin at 1.00"
       }
      ],
      "origin": "https://api.printmoneylab.com"
     },
     "median_usd": 0.01,
     "live_endpoints": 17
    }
   ],
   "live_endpoints": 52,
   "distribution_usd": {
    "n": 52,
    "max": 19.999574,
    "min": 0.0005,
    "p25": 0.001407,
    "p75": 0.015551,
    "bands": [
     {
      "band_usd": "0",
      "endpoints": 0
     },
     {
      "band_usd": "<0.001",
      "endpoints": 2
     },
     {
      "band_usd": "0.001-0.002",
      "endpoints": 13
     },
     {
      "band_usd": "0.002-0.005",
      "endpoints": 1
     },
     {
      "band_usd": "0.005-0.01",
      "endpoints": 9
     },
     {
      "band_usd": "0.01-0.02",
      "endpoints": 14
     },
     {
      "band_usd": "0.02-0.20",
      "endpoints": 8
     },
     {
      "band_usd": ">0.20",
      "endpoints": 5
     }
    ],
    "median": 0.01
   }
  },
  "sources": [
   {
    "url": "https://api.agentweather.io/v1/methodology#price-index",
    "name": "Agent Weather health checker: unpaid GET 402 responses and merchants' own /.well-known/x402",
    "observed_at": "2026-10-12T02:31:28.000Z"
   }
  ],
  "data_gaps": [
   {
    "gap": "POST-only and unprobed resources",
    "reason": "only resources returning a valid 402 to a GET
… (truncated)
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-weather-x402-xrpl-price-index-88f2c14f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agentweather.io](https://www.zero.xyz/host/api.agentweather.io/llms.txt)
