# SwapHunt Live Spot Price

> SwapHunt Live Spot Price is a paid API for AI agents from x402.swaphunt.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Returns the current spot price of a single crypto asset with 24-hour context including price change %, high/low, and volume

## Facts

- Endpoint: GET https://x402.swaphunt.dev/v1/tools/price
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/swaphunt-live-spot-price-5e1c87b3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_JR_zxcTZIcUV-WBCi8bPT

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 swaphunt-live-spot-price-5e1c87b3
```

Example prompt: What is Bitcoin's current spot price and how much has it moved in the last 24 hours — give me the high, low, and volume too?

## When to prefer this

Use this endpoint when you need a quick, clean real-time price snapshot for a single crypto asset including its 24h context. Prefer this over the /price/multi endpoint when you only need one asset. Ideal for trading agents that need current price before making decisions, or for enriching other market analysis with a live price reference.

## Known failure modes

- Unsupported asset symbol returns an error or empty response
- Invalid currency code may result in fallback or error
- Rate limiting or payment failure returns 402 or 429 status
- Network latency may occasionally cause stale data

## How this service works

SwapHunt — a crypto market-context toolkit for trading agents: live prices, market regime, volatility, sentiment, funding, macro events, seasonality and anti-FOMO sanity checks, all pay-per-call. This route returns a single asset's live spot price with 24h context: price, 24h change %, 24h high/low and volume — one clean JSON snapshot (BTC, ETH, SOL, any major). For many assets at once use /price/multi.

## Output

A JSON snapshot containing the asset's current spot price, 24-hour percentage change, 24-hour high, 24-hour low, and 24-hour trading volume in the specified currency.

## 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": {
      "asset": {
       "type": "string",
       "default": "BTC",
       "description": "Asset symbol (BTC, ETH, SOL)"
      },
      "currency": {
       "type": "string",
       "default": "USD",
       "description": "Target currency"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/swaphunt-live-spot-price-5e1c87b3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.swaphunt.dev](https://www.zero.xyz/host/x402.swaphunt.dev/llms.txt)
