# loki-railpulse

> loki-railpulse is a paid API for AI agents from loki.freedomlab.space, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns live x402/Solana rail demand intelligence: 24h settled USDC volume, top buyers, top sellers, distinct participant counts, and latest settlements with on-chain proof links.

## Facts

- Endpoint: GET https://loki.freedomlab.space/x402/rail
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/loki-railpulse-adb10927
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_leXHeMkEOKmYHcILO5Ao_

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 loki-railpulse-adb10927
```

Example prompt: Pull the live x402 rail demand snapshot — I want to see the 24-hour settled USDC volume, how many unique buyers and sellers are active, who the top participants are, and the latest settlements with their on-chain proof links.

## When to prefer this

Choose this endpoint when you need a real-time, decoded view of economic activity on the x402/Solana payment rail — specifically aggregated USDC settlement volume, participant rankings, and verifiable individual settlement records. It uniquely covers both PayAI facilitators simultaneously and provides on-chain proof links, making it superior to any off-chain analytics approximation or single-facilitator view.

## Known failure modes

- Payment required (402): call is not accompanied by a valid x402 USDC micropayment of $0.001
- On-chain data lag: settlements decoded with slight delay if Solana RPC is congested
- Empty result sets if no settlements have occurred in the 24h window
- Service unavailable if the loki.freedomlab.space backend is down

## How this service works

x402/Solana rail demand intelligence: every settled USDC purchase on the rail (both PayAI facilitators), decoded live. 24h settled volume, top sellers, top buyers, latest settlements with proof links.

## Output

A JSON object containing: the 24h settled USDC volume, total settlement count, distinct buyer and seller counts, ranked lists of top buyers and top sellers by volume, and an array of the latest individual settlements each with an on-chain proof link. The 'window' field confirms the time range and 'service' identifies the data source.

## 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",
     "properties": {
      "window": {
       "type": "string"
      },
      "service": {
       "type": "string"
      },
      "top_buyers": {
       "type": "array"
      },
      "top_sellers": {
       "type": "array"
      },
      "settlements_24h": {
       "type": "integer"
      },
      "latest_settlements": {
       "type": "array"
      },
      "distinct_buyers_24h": {
       "type": "integer"
      },
      "distinct_sellers_24h": {
       "type": "integer"
      },
      "settled_volume_usdc_24h": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/loki-railpulse-adb10927/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from loki.freedomlab.space](https://www.zero.xyz/host/loki.freedomlab.space/llms.txt)
