# PitchPilot Crypto Price Lookup

> PitchPilot Crypto Price Lookup is a paid API for AI agents from pitchpilot-outreach-api.pitchpilot-agents.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Returns real-time spot, buy, and sell prices plus spread percentage for any cryptocurrency pair (e.g. BTC-USD)

## Facts

- Endpoint: GET https://pitchpilot-outreach-api.pitchpilot-agents.workers.dev/tools/crypto-price
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pitchpilot-crypto-price-lookup-7acc9c89
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_npJxmsasZi50vgMKFczSx

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 pitchpilot-crypto-price-lookup-7acc9c89
```

Example prompt: What's the current spot price of BTC in USD, along with the buy price, sell price, and spread?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call real-time crypto price quote without committing to a full market data subscription. Ideal for lightweight agents that only occasionally need price data, or for workflows where micro-payment per call (USDC on Base via x402) is preferred over API key management. Best for spot/buy/sell with spread in a single call.

## Known failure modes

- Invalid or unrecognized asset codes return an error
- Unsupported trading pairs may not be available
- Payment failure via x402/USDC on Base blocks the request
- Network timeout on the Cloudflare Worker edge
- Rate limiting if too many requests are made in quick succession

## How this service works

Paid micro-utilities for cold-email outreach agents: domain deliverability audits, cold-email grading, template generation, plus a tools toolbox (hashing, JWT decode, IDs, slugs, JSON, regex, crypto prices, domain age, weather). Paid via x402 (USDC on Base).

## Output

A JSON object containing the trading pair string (e.g. 'BTC-USD'), the spot price as a number, the buy price, the sell price, and the spread percentage between buy and sell prices.

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "from",
      "to"
     ],
     "properties": {
      "to": {
       "type": "string",
       "description": "Quote asset code, e.g. USD"
      },
      "from": {
       "type": "string",
       "description": "Base asset code, e.g. BTC"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "spot"
     ],
     "properties": {
      "buy": {
       "type": "number"
      },
      "pair": {
       "type": "string"
      },
      "sell": {
       "type": "number"
      },
      "spot": {
       "type": "number"
      },
      "spread_pct": {
       "type": "number"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "buy": 67150,
  "pair": "BTC-USD",
  "sell": 67090.1,
  "spot": 67123.45,
  "spread_pct": 0.0893
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pitchpilot-crypto-price-lookup-7acc9c89/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pitchpilot-outreach-api.pitchpilot-agents.workers.dev](https://www.zero.xyz/host/pitchpilot-outreach-api.pitchpilot-agents.workers.dev/llms.txt)
