Api Endpoint

SwapHunt Price Tool

SwapHunt is a crypto market-context API for trading agents, with live prices, funding, volatility and market regime from Hyperliquid perpetuals, the SwapHunt Alt Season Index, Fear & Greed, the halving and session context, all pay-per-call (docs and pricing at https://swaphunt.dev/api). This route returns one asset's live price from Hyperliquid perpetuals (USDC-margined), quoted in USDC: the perp mark price (or the order-book mid with price_type=mid), 24h mark change % and 24h notional volume in USDC. high_24h/low_24h are null. Any active Hyperliquid perp such as BTC, ETH or SOL; see /v1/tools/price/supported. For many assets at once use /v1/tools/price/multi

Open interactive test console

Offering

Provider
x402.swaphunt.dev
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
Blockchain And Crypto
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://x402.swaphunt.dev/v1/tools/price
MIME type
application/json
First seen
2026-10-16T01:50:19.913Z
Last seen
Tags
None supplied

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.001 USDC
Atomic price: 1000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Payment option 2
0.001 USDC
Atomic price: 1000 · Network: eip155:137 · Asset: USDC · Scheme: exact
Payment option 3
0.001 USDC
Atomic price: 1000 · Network: eip155:42161 · Asset: USDC · Scheme: exact
Payment option 4
0.001 USDC
Atomic price: 1000 · Network: solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "1000",
    "payTo": "0xD6b585DD2F48263D08FB75EA28c1598d845d23a8"
  },
  {
    "scheme": "exact",
    "network": "eip155:137",
    "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
    "amount": "1000",
    "payTo": "0xD6b585DD2F48263D08FB75EA28c1598d845d23a8"
  },
  {
    "scheme": "exact",
    "network": "eip155:42161",
    "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
    "amount": "1000",
    "payTo": "0xD6b585DD2F48263D08FB75EA28c1598d845d23a8"
  },
  {
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "amount": "1000",
    "payTo": "J418iHcSHTNadqgVkyeia3PcB2LbjoQ26tsmnAj1HZ1U"
  }
]

Observed health

Status
Healthy
Latest latency
532 ms
Average latency
1667 ms
HTTP status
402
Last checked
Reachability
93.3% over 15 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET",
        "HEAD",
        "DELETE"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "asset": {
          "type": "string",
          "default": "BTC",
          "description": "Asset symbol (BTC, ETH, SOL); BTCUSDT and BTC-PERP also mean BTC"
        },
        "currency": {
          "type": "string",
          "default": "USDC",
          "description": "Quote currency: USDC only (USD and USDT accepted as aliases)"
        },
        "price_type": {
          "type": "string",
          "default": "mark",
          "description": "mark (perp mark price) or mid (order-book mid)"
        }
      }
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "type": "json",
  "example": {
    "asset": "BTC",
    "price": 67250,
    "low_24h": 65800,
    "currency": "USD",
    "high_24h": 68100,
    "change_24h": 2.3,
    "volume_24h": 31500000000
  }
}