# Beggar Bot Price Lookback

> Beggar Bot Price Lookback 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-24).

Looks up historical price data for a cryptocurrency token by CoinGecko ID, chain address, or mint address

## Facts

- Endpoint: GET https://beggar-bot-demand.beggarbot.workers.dev/v1/pricelookback?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-24
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/beggar-bot-price-lookback-024d85b0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_1XGhoi4Vwv637ofRiTdRD

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-price-lookback-024d85b0
```

Example prompt: Can you look up the recent price history for USDC on Base — use the contract address 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 and pull the lookback data?

## When to prefer this

Use this endpoint when you need historical price lookback data for a specific crypto token and can identify it by CoinGecko ID, EVM contract address (with optional chain prefix), or Solana mint address. It is particularly useful for agents operating in the Base/EVM ecosystem that already have x402 USDC payment capability set up and need lightweight, pay-per-call token price history without a full data provider subscription.

## Known failure modes

- Invalid or unrecognized coin identifier returns an error
- Payment not provided or insufficient USDC results in HTTP 402 response
- Unsupported network or token not indexed by CoinGecko returns empty or error
- Rate limiting or worker timeout may occur under high load
- Malformed query parameter format causes a 400 bad request

## 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 containing historical price data for the specified cryptocurrency token, including price points over a lookback window, keyed by the token identifier provided (CoinGecko ID, chain:address, raw 0x address, or Solana mint).

## 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": {
      "coin": {
       "type": "string",
       "description": "coingecko id, chain:address, 0x.. or Solana mint"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/beggar-bot-price-lookback-024d85b0/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)
