# AgniHub Trading Indicators API

> AgniHub Trading Indicators API is a paid API for AI agents from api.agnichub.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-20).

Returns technical trading indicators for financial instruments given user-specified parameters

## Facts

- Endpoint: POST https://api.agnichub.xyz/v1/custom/trading-indicators/Indicators?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-agnichub-xyz-7ae7ae6d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Do1PXgVbdM8QqebomVKUZ

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 api-agnichub-xyz-7ae7ae6d -d '<json body>'
```

Example prompt: Can you run trading indicators — specifically RSI, MACD, and the 20-day moving average — on Bitcoin (BTC/USDT) using the 1-hour interval?

## When to prefer this

Use this endpoint when you need on-demand technical indicator computation for a specific trading symbol and timeframe, especially in crypto or equity trading automation workflows that require signals like RSI, MACD, or moving averages without maintaining your own data pipeline.

## Known failure modes

- Invalid or unsupported trading symbol returns 400 or empty result
- Unsupported indicator type returns error
- Missing required parameters (symbol, interval) returns 400 bad request
- Payment not received or x402 payment failure blocks the request
- Rate limiting or server error returns 429 or 500

## How this service works

Pay with base

## Output

Returns computed technical indicator values (e.g. RSI, MACD, moving averages, Bollinger Bands) for the specified trading symbol and timeframe, enabling the agent to assess market conditions or momentum.

## Example request

```json
{
 "coin": "BTC",
 "symbol": "BTC/USDT",
 "interval": "1h",
 "indicators": [
  {
   "name": "RSI",
   "period": 14
  },
  {
   "name": "MACD"
  },
  {
   "name": "SMA",
   "period": 20
  }
 ]
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-agnichub-xyz-7ae7ae6d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agnichub.xyz](https://www.zero.xyz/host/api.agnichub.xyz/llms.txt)
