Use when an agent needs the best live price for a stock across venues before tra
Use when an agent needs the best live price for a stock across venues before trading. For 1-10 tickers: perp mark and mid on trade.xyz (Hyperliquid), Aster, Lighter and OKX, xStocks and Ondo token prices per share, last US close, the session reference price, gap % vs it, cross-venue spread, best bid/ask and freshness. Unpaid calls get 402; bad or unknown tickers get 400/404 before any charge. Errors: 400, 402, 404, 502. Data, not advice.
Answeringour last check, 2026-10-24
1 of 1checks answered this week
37 msmedian answer time
$0.01listed price per call
$0.01price 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://perp-gap-api.perpgap.workers.dev/quote
| Category | Market data |
|---|---|
| Provider host | perp-gap-api.perpgap.workers.dev |
| Networks | eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 3 from 2 payers (the provider's figure, not ours) |
Our checks, last 30 days
| Day | Result | HTTP | Asked | Time |
|---|---|---|---|---|
| 2026-10-24 | valid payment request | 402 | $0.01 | 37 ms |
Example input (from the provider)
{
"method": "GET",
"queryParams": {
"ticker": "NVDA"
},
"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"
],
"type": "string"
},
"queryParams": {
"additionalProperties": false,
"properties": {
"ticker": {
"description": "Stock ticker, case-insensitive (free list: GET /catalog).",
"examples": [
"NVDA"
],
"pattern": "^[A-Za-z0-9.]{1,12}$",
"type": "string"
},
"tickers": {
"description": "Optional alternative to ticker: up to 10 comma-separated tickers.",
"examples": [
"NVDA,TSLA"
],
"pattern": "^[A-Za-z0-9.,]{1,130}$",
"type": "string"
}
},
"required": [
"ticker"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"description": "Error responses are JSON {error: string, hint?: string}. 400 bad params (never charged); 402 payment required; 404 ticker/market not listed (checked before settlement, never charged); 502 upstream error. Full field docs: /openapi.json.",
"properties": {
"as_of": {
"type": "string"
},
"last_close": {
"type": "object"
},
"perps": {
"type": "object"
},
"reference": {
"type": "object"
},
"sources": {
"type": "array"
},
"summary": {
"type": "object"
},
"ticker": {
"type": "string"
},
"tokens": {
"type": "object"
},
"us_session": {
"type": "string"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}