{"slug":"perp-gap-api-perpgap-workers-dev-quote-313764","title":"Use when an agent needs the best live price for a stock across venues before tra","host":"perp-gap-api.perpgap.workers.dev","method":"GET","resource":"https://perp-gap-api.perpgap.workers.dev/quote","category":"market","description":"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","price_listed":0.01,"price_asked":0.01,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":37,"reported_calls_30d":3,"reported_payers_30d":2,"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"ticker":"NVDA"},"type":"http"},"output_schema":{"$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"},"history":[{"day":"2026-10-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":true,"latency_ms":37,"error":null}],"description_full":"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.","last_updated":"2026-10-23T07:13:40.007Z","schemes":["exact"]}