# agentdataapi.onrender.com Sales Ledger Detail

> agentdataapi.onrender.com Sales Ledger Detail is a paid API for AI agents from agentdataapi.onrender.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Returns the full per-settlement payment history for this API since last restart, including timestamps, endpoints called, amounts, payer addresses, networks, and transaction references.

## Facts

- Endpoint: GET https://agentdataapi.onrender.com/stats/detail
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentdataapi-onrender-com-sales-ledger-detail-147fa12f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_MmGYe6VPpdleKYVKHN7yK

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 agentdataapi-onrender-com-sales-ledger-detail-147fa12f
```

Example prompt: Pull up the full detailed payment ledger for the agentdataapi — I want to see every settlement record with timestamps, which endpoint was called, how much was paid, the payer address, the network, and the transaction reference since the last restart.

## When to prefer this

Use this endpoint when you need granular, per-settlement detail about API payment activity — including individual payer addresses, transaction hashes, and per-call amounts. Prefer this over /stats when you need auditable, machine-readable records rather than aggregate summaries.

## Known failure modes

- Server has restarted recently and ledger is empty — returns empty array
- Service unavailable due to Render cold start — 502 or timeout
- Payment of $0.01 USDC not completed — 402 Payment Required response
- Ledger data temporarily inconsistent during high traffic — partial records

## How this service works

Sales ledger of this API: per-settlement records with timestamp, endpoint, amount, payer address, network, and transaction reference. Filter by payer with ?address=0x...&chain=base to get payment history for a specific wallet. Self-referential x402 economics — auditable, machine-readable payment history. Free aggregate view at /stats.

## Output

An array of per-settlement records, each containing: timestamp of payment, endpoint that was called, amount paid (in USDC), payer wallet address, network used, and transaction reference hash. Covers all transactions since the server's last restart.

## 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/agentdataapi-onrender-com-sales-ledger-detail-147fa12f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentdataapi.onrender.com](https://www.zero.xyz/host/agentdataapi.onrender.com/llms.txt)
