# SwapHunt Multi-Asset Spot Price Batch

> SwapHunt Multi-Asset Spot Price Batch is a paid API for AI agents from x402.swaphunt.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-15).

Fetches spot price, 24h change, and volume for up to 20 crypto assets in a single request, keyed by symbol.

## Facts

- Endpoint: GET https://x402.swaphunt.dev/v1/tools/price/multi
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/swaphunt-multi-asset-spot-price-batch-95c5c9e8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_M3ZQvsOrUidtwaJpQjNd6

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-multi-asset-spot-price-batch-95c5c9e8
```

Example prompt: Can you pull the current spot prices, 24-hour change, and volume for BTC, ETH, SOL, BNB, and XRP all at once in USD?

## When to prefer this

Use this endpoint when you need prices for 2 or more crypto assets simultaneously and want to avoid making N separate API calls. It is the cost-efficient choice for pricing portfolios, watchlists, or baskets of up to 20 assets, especially when 24h change and volume context is also needed alongside the spot price.

## Known failure modes

- More than 20 symbols provided — request will fail or be rejected
- Invalid or unrecognized symbol causes missing or error entry for that asset
- Unsupported target currency returns an error or empty result
- Network or upstream data feed outage returns a 5xx error
- Payment of 0.003 USDC not completed via x402 protocol results in 402 Payment Required

## How this service works

Batch spot prices for up to 20 assets in one call — each with price, 24h change and volume, keyed by symbol. The cost-efficient way to price a basket or portfolio in a single request instead of N calls.

## Output

A symbol-keyed map where each entry contains the asset's current spot price in the target currency, its 24-hour percentage change, and its 24-hour trading volume — returned for all requested assets in a single response.

## 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": {
      "assets": {
       "type": "string",
       "default": "BTC,ETH",
       "description": "Comma-separated symbols, max 20"
      },
      "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-multi-asset-spot-price-batch-95c5c9e8/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)
