ToolAssay

Use when the user asks the current price of one coin

Use when the user asks the current price of one coin. Returns the mark price (or order-book mid with price_type=mid) on Hyperliquid perpetuals in USDC, 24h change % and 24h notional volume; high/low are null. For several coins use /v1/tools/price/multi. Ex: symbol=ETH

Answeringour last check, 2026-11-26
7 of 7checks answered this week
1373 msmedian answer time
$0.005listed price per call
$0.005price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

GET https://x402.swaphunt.dev/v1/tools/price

CategoryMarket data
Provider hostx402.swaphunt.dev
Networkseip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Payment schemesexact
Self-reported calls, 30 days15 from 5 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-11-26 valid payment request 402$0.005 1445 ms
2026-11-25 valid payment request 402$0.005 1377 ms
2026-11-24 valid payment request 402$0.005 1299 ms
2026-11-23 valid payment request 402$0.005 1373 ms
2026-11-22 valid payment request 402$0.005 1283 ms
2026-11-21 valid payment request 402$0.005 1307 ms
2026-11-20 valid payment request 402$0.005 1433 ms
2026-11-19 valid payment request 402$0.005 1308 ms
2026-11-18 valid payment request 402$0.005 1423 ms
2026-11-17 valid payment request 402$0.005 1278 ms
2026-11-16 valid payment request 402$0.005 1292 ms
2026-11-15 valid payment request 402$0.005 1270 ms
2026-11-14 valid payment request 402$0.005 1298 ms
2026-11-13 valid payment request 402$0.005 1283 ms
2026-11-12 valid payment request 402$0.005 1307 ms
2026-11-11 valid payment request 402$0.005 1443 ms
2026-11-10 valid payment request 402$0.001 1310 ms
2026-11-09 valid payment request 402$0.001 1313 ms
2026-11-08 valid payment request 402$0.001 1559 ms
2026-11-07 valid payment request 402$0.001 1318 ms
2026-11-06 valid payment request 402$0.001 1404 ms
2026-11-05 valid payment request 402$0.001 1450 ms
2026-11-04 valid payment request 402$0.001 1444 ms
2026-11-03 valid payment request 402$0.001 1333 ms
2026-11-02 valid payment request 402$0.001 1347 ms
2026-11-01 no x402 terms 404 1436 ms
2026-10-31 valid payment request 402$0.001 1299 ms
2026-10-29 valid payment request 402$0.001 1323 ms

Example input (from the provider)

{
  "method": "GET",
  "queryParams": {
    "price_type": "mark",
    "symbol": "BTC"
  },
  "type": "http"
}

Promised output schema (from the provider)

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET",
            "HEAD",
            "DELETE"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "price_type": {
              "default": "mark",
              "description": "mark (perp mark price) or mid (order-book mid)",
              "enum": [
                "mark",
                "mid"
              ],
              "type": "string"
            },
            "symbol": {
              "default": "BTC",
              "description": "Coin symbol, e.g. BTC, ETH, SOL (BTCUSDT and BTC-PERP also mean BTC)",
              "type": "string"
            }
          },
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}

This page as JSON