# Beggar Bot dYdX Candles (Base mainnet)

> Beggar Bot dYdX Candles (Base mainnet) is a paid API for AI agents from beggar-bot-demand.beggarbot.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-11-23).

Fetches dYdX perpetual futures candlestick (OHLCV) price data via a paid x402 micropayment endpoint on Base mainnet.

## Facts

- Endpoint: GET https://beggar-bot-demand.beggarbot.workers.dev/v1/dydxcandles?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/beggar-bot-dydx-candles-base-mainnet-f0644962
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fmp2AUHuDfh6hUJe9zTRd

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 beggar-bot-dydx-candles-base-mainnet-f0644962
```

Example prompt: Can you pull the last 24 hourly candles for BTC-USD from dYdX perpetuals so I can see recent price action?

## When to prefer this

Use this endpoint when you need dYdX-specific perpetual futures candlestick data accessible via x402 micropayments without requiring a dYdX API key or account. Prefer this over direct dYdX API calls when operating in an agent context that handles x402 payments natively on Base mainnet.

## Known failure modes

- Payment not provided or insufficient USDC — returns HTTP 402 requiring x402 payment of $0.02 USDC on Base mainnet
- Invalid or unsupported trading pair symbol — returns error or empty dataset
- Unsupported candle resolution parameter — may return error or default resolution
- Network connectivity issues to dYdX data source — may return 500 or timeout
- Rate limiting or worker capacity issues — may return 429 or 503

## How this service works

Paid: /v1/verify, /v1/risk, /v1/receipt cost $0.01 USDC per call on Base mainnet via x402 (payTo 0x719227f384b66BFEF00093D6d8d32fA9dC2B40e7); utilities analyze Base mainnet (USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913) by default, network=base-sepolia optional; /v1/receipt/verify and discovery files are free. Operator: Beggar Bot.

## Output

Returns JSON candlestick (OHLCV) data for the requested dYdX perpetual futures trading pair, including open, high, low, close prices and volume for each candle period, indexed by timestamp.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "properties": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/beggar-bot-dydx-candles-base-mainnet-f0644962/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from beggar-bot-demand.beggarbot.workers.dev](https://www.zero.xyz/host/beggar-bot-demand.beggarbot.workers.dev/llms.txt)
