# Realedger Basis Ledger Packet

> Realedger Basis Ledger Packet is a paid API for AI agents from api.realedger.xyz, paid per call via x402, $0.99/call, status unknown (last checked 2026-09-14).

Returns the latest on-chain read plus a 7-day append-only series of 15-minute interval reads per asset, alongside a flow index showing pool creation activity (total, 24h, 7d, per day) for each token.

## Facts

- Endpoint: GET https://api.realedger.xyz/v1/basis/packet
- Price: $0.99/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/realedger-basis-ledger-packet-231f46a4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lu0ka-HzlEzWGkZv0dYwc

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 realedger-basis-ledger-packet-231f46a4
```

Example prompt: Pull the full Realedger basis ledger packet — I want the latest on-chain read for each asset plus the 7-day series of 15-minute reads and the flow index showing how many pools have been created against each token over the past 24 hours, 7 days, and per day.

## When to prefer this

Choose this endpoint when you need a comprehensive, time-series-enriched view of on-chain basis reads combined with DeFi pool creation flow metrics in a single call. It is ideal for agents building dashboards, monitoring liquidity trends, or performing time-series analysis on tokenized assets without having to stitch together multiple data sources. Prefer it over raw blockchain queries when you want pre-aggregated 15-minute granularity data with flow indexing already computed.

## Known failure modes

- Payment not made or x402 payment header missing — returns 402 Payment Required
- Invalid or malformed GET request — returns 400 Bad Request
- Upstream on-chain data temporarily unavailable — returns 503 or delayed stale data
- Rate limiting if called excessively — returns 429 Too Many Requests
- Empty or sparse data if a token has low on-chain activity

## How this service works

Basis Ledger packet: the newest read plus the append only seven day series of fifteen minute reads per asset and the flow index (pools created against each token, total, 24h, 7d, per day).

## Output

A JSON response containing: (1) the most recent on-chain basis read per asset, (2) an append-only 7-day series of 15-minute interval reads per asset, and (3) a flow index per token including total pools created, pools created in the last 24 hours, pools created in the last 7 days, and a per-day breakdown of pool creation activity.

## 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",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "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/realedger-basis-ledger-packet-231f46a4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.realedger.xyz](https://www.zero.xyz/host/api.realedger.xyz/llms.txt)
