# AmanChain Pool Analytics

> AmanChain Pool Analytics is a paid API for AI agents from amanchain-relay.gitajhd.workers.dev, paid per call via x402, $0.009331/call, status unknown (last checked 2026-09-13).

Fetches on-chain liquidity pool analytics from AmanChain's live consensus state, including pool metrics, balances, and performance data, paid per call via x402 in USDC.

## Facts

- Endpoint: POST https://amanchain-relay.gitajhd.workers.dev/api/x402/aman-pool-analytics
- Price: $0.009331/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amanchain-pool-analytics-077fa9b2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1eBZs6Y0EvZkyijjZsnEm

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 amanchain-pool-analytics-077fa9b2 -d '<json body>'
```

Example prompt: Pull the current pool analytics for the AMAN/USDC pool from AmanChain — I want to see TVL, reserves, and any performance metrics available right now.

## When to prefer this

Choose this endpoint when you need deterministic, node-verified on-chain pool analytics from AmanChain's live consensus state without requiring an API key or account setup. It is best suited for agents that need trustless, pay-per-call pool data settled in USDC on Base, especially when integrating with AmanChain's AMM ecosystem or verifying pool state against real blocks.

## Known failure modes

- Invalid or unrecognized pool identifier in the request string returns an error or empty result
- Payment failure or insufficient USDC balance via x402 prevents call execution
- Network or consensus node unavailability may cause timeout or failed response
- Malformed JSON body with missing serviceId or request fields returns a validation error
- Pool not found on AmanChain consensus state returns null or empty data

## How this service works

DEX pool analytics — reserves, TVL, LP APR and live price for any AMM liquidity pool; DeFi liquidity API. Deterministic on-chain execution by the AmanChain node — live consensus state, real blocks, pools and balances. Pay per call via x402 (USDC on Base), no account, no API key. POST JSON {"serviceId":"aman-pool-analytics","request":"<input>"}.

## Output

Returns on-chain pool analytics sourced directly from AmanChain's live consensus state, including liquidity pool metrics such as reserve balances, total value locked, pool composition, and performance indicators, settled deterministically against real blocks.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "example": {
      "ok": true
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amanchain-pool-analytics-077fa9b2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from amanchain-relay.gitajhd.workers.dev](https://www.zero.xyz/host/amanchain-relay.gitajhd.workers.dev/llms.txt)
