{"id":118472,"recorded_at":"2026-10-26T14:40:13.090437Z","observed_at":"2026-10-26T14:40:13.090317Z","subject_kind":"source_record","subject":"x402_bazaar:https://perp-gap-api.perpgap.workers.dev/pm/scan","kind":"listing","method":"baseline/1","body":{"endpoints":[["x402","https://perp-gap-api.perpgap.workers.dev/pm/scan"]],"name":"Perp Gap API","owner_address":"0x2d82dcb9cc3a168d9ab25b62c1e33e278a51254f","raw":{"accepts":[{"amount":"50000","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","extra":{"name":"USD Coin","version":"2"},"maxTimeoutSeconds":120,"network":"eip155:8453","payTo":"0x2d82dcB9cC3a168d9Ab25b62C1E33E278A51254F","scheme":"exact"},{"amount":"50000","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","extra":{"feePayer":"D6ZhtNQ5nT9ZnTHUbqXZsTx5MH2rPFiBBggX4hY1WePM"},"maxTimeoutSeconds":120,"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","payTo":"5MoL8HNnvZUogGrqiF4T1StmAUpdU7ERA2GUJ7gLrEja","scheme":"exact"}],"description":"Use when an agent wants a ranked list of the most mispriced liquid prediction markets on Hyperliquid right now, across all crypto and tokenized-stock binary price markets, in one call. Each row has model probability vs bid/ask, edge in pp, spread, depth and book age; empty and illiquid books are filtered out. For scanners, trading agents and daily briefings. Errors: 400 bad params, 404 no books (free, never charged), 402, 502. Data, not advice.","extensions":{"bazaar":{"info":{"input":{"method":"GET","queryParams":{"max_spread_pp":"10","min_edge_pp":"2"},"type":"http"},"output":{"example":{"cache_updated_iso":"2026-10-17T13:10:56Z","count":1,"disclaimer":"Data, not financial advice. Not an offer or solicitation; Hyperliquid outcome markets are not available to US or other excluded persons.","filtered_out_empty_books":73,"filtered_out_illiquid":27,"filters":{"kind":"all","limit":20,"max_spread_pp":12,"min_depth_usd":50,"min_edge_pp":2},"generated_at_iso":"2026-10-17T13:11:39Z","label":"data, not advice","matched":1,"median_book_age_s":77,"method":"P(S_T > K) under a lognormal model with zero drift, S = live Hyperliquid perp mid, sigma = 7-day realized vol from Hyperliquid 1h candles (annualized x sqrt(8760)). No options data. Edges use executable bid/ask, never mid.","rows":[{"ask":0.3658,"ask_size":186,"asset":"SP500","best_edge_pp":4.3,"bid":0.2534,"bid_size":180,"book_age_s":55,"book_ts":"2026-10-17T13:10:43Z","depth_usd":{"ask":175.07,"bid":107.23,"levels":5,"window_pp":5},"edge_vs_ask_pp":-15.6,"edge_vs_bid_pp":4.3,"expiry":"2026-10-23T20:00:00Z","hours_to_expiry":150.81,"kind":"stocks","liquid":true,"mid":0.3096,"model_prob":0.2102,"outcome":13371,"perp":"xyz:SP500","question":"SP500 above 7740 at 2026-10-23 20:00:00 UTC","realized_vol_7d":0.1073,"settlement":{"side":"Yes pays 1 USDC if the price is above the strike at expiry","source":"the Pyth US500 index price","window_seconds":90},"signal":"yes_overpriced","spot_mid":7653.45,"spread_pp":11.2,"strike":7740}],"scanned":110,"source":"Hyperliquid info API (outcomeMeta, l2Book, allMids, candleSnapshot)","spot_live":true},"type":"json"}},"schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"additionalProperties":false,"properties":{"kind":{"default":"all","description":"Optional: crypto (BTC, ETH, HYPE, ZEC), stocks (trade.xyz stock, index and commodity perps) or all.","enum":["crypto","stocks","all"],"examples":["all"],"type":"string"},"limit":{"default":"20","description":"Optional max rows, 1-50. Default 20.","examples":["10"],"pattern":"^\\d{1,2}$","type":"string"},"max_spread_pp":{"default":"10","description":"Optional maximum bid-ask spread in percentage points. Default 10.","examples":["10"],"pattern":"^\\d+(\\.\\d+)?$","type":"string"},"min_depth_usd":{"default":"50","description":"Optional minimum USDC depth within 5 pp of the touch on BOTH sides. Default 50.","examples":["100"],"pattern":"^\\d+(\\.\\d+)?$","type":"string"},"min_edge_pp":{"default":"2","description":"Optional minimum edge in percentage points (model vs executable bid/ask). Default 2.","examples":["3"],"pattern":"^-?\\d+(\\.\\d+)?$","type":"string"}},"required":[],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"description":"Error responses are JSON {error: string}: 400 bad min_edge_pp / max_spread_pp / min_depth_usd / limit / kind (free); 404 order-book cache empty (free, never charged); 402 payment required; 502 upstream error.","properties":{"cache_updated_iso":{"type":"string"},"closest":{"description":"Only when rows is empty: the 3 liquid markets closest to min_edge_pp","items":{"properties":{"ask":{"description":"Best Yes ask (probability, 0-1)","type":"number"},"ask_size":{"type":"number"},"asset":{"type":"string"},"best_edge_pp":{"type":["number","null"]},"bid":{"description":"Best Yes bid (probability, 0-1)","type":"number"},"bid_size":{"type":"number"},"book_age_s":{"type":"integer"},"book_ts":{"format":"date-time","type":"string"},"depth_usd":{"description":"USDC notional resting within window_pp of the touch, top 5 levels","properties":{"ask":{"type":"number"},"bid":{"type":"number"},"levels":{"type":"integer"},"window_pp":{"type":"number"}},"type":"object"},"edge_vs_ask_pp":{"description":"(model_prob - ask) x 100: > 0 means you could buy Yes below model value","type":["number","null"]},"edge_vs_bid_pp":{"description":"(bid - model_prob) x 100: > 0 means you could sell Yes above model value","type":["number","null"]},"expiry":{"format":"date-time","type":"string"},"hours_to_expiry":{"type":"number"},"kind":{"enum":["crypto","stocks"],"type":"string"},"liquid":{"description":"spread <= 10 pp (scan: max_spread_pp) and >= $50 depth on both sides (scan: min_depth_usd)","type":"boolean"},"mid":{"type":"number"},"model_prob":{"description":"Model P(price > strike at expiry), 0-1","type":["number","null"]},"outcome":{"description":"Hyperliquid outcome id (Yes token = coin #<id>0)","type":"integer"},"perp":{"description":"Underlying Hyperliquid perp, e.g. BTC or xyz:META","type":"string"},"question":{"type":"string"},"realized_vol_7d":{"type":["number","null"]},"settlement":{"properties":{"side":{"type":"string"},"source":{"type":["string","null"]},"window_seconds":{"type":["number","null"]}},"type":"object"},"signal":{"enum":["yes_underpriced","yes_overpriced","fair","illiquid","no_model"],"type":"string"},"spot_mid":{"type":["number","null"]},"spread_pp":{"type":"number"},"strike":{"type":"number"}},"required":["outcome","asset","strike","expiry","bid","ask","depth_usd","liquid"],"type":"object"},"type":"array"},"count":{"type":"integer"},"disclaimer":{"type":"string"},"filtered_out_empty_books":{"type":"integer"},"filtered_out_illiquid":{"type":"integer"},"filters":{"type":"object"},"generated_at_iso":{"format":"date-time","type":"string"},"label":{"const":"data, not advice","type":"string"},"matched":{"type":"integer"},"median_book_age_s":{"type":["number","null"]},"method":{"type":"string"},"note":{"type":"string"},"rows":{"items":{"properties":{"ask":{"description":"Best Yes ask (probability, 0-1)","type":"number"},"ask_size":{"type":"number"},"asset":{"type":"string"},"best_edge_pp":{"type":["number","null"]},"bid":{"description":"Best Yes bid (probability, 0-1)","type":"number"},"bid_size":{"type":"number"},"book_age_s":{"type":"integer"},"book_ts":{"format":"date-time","type":"string"},"depth_usd":{"description":"USDC notional resting within window_pp of the touch, top 5 levels","properties":{"ask":{"type":"number"},"bid":{"type":"number"},"levels":{"type":"integer"},"window_pp":{"type":"number"}},"type":"object"},"edge_vs_ask_pp":{"description":"(model_prob - ask) x 100: > 0 means you could buy Yes below model value","type":["number","null"]},"edge_vs_bid_pp":{"description":"(bid - model_prob) x 100: > 0 means you could sell Yes above model value","type":["number","null"]},"expiry":{"format":"date-time","type":"string"},"hours_to_expiry":{"type":"number"},"kind":{"enum":["crypto","stocks"],"type":"string"},"liquid":{"description":"spread <= 10 pp (scan: max_spread_pp) and >= $50 depth on both sides (scan: min_depth_usd)","type":"boolean"},"mid":{"type":"number"},"model_prob":{"description":"Model P(price > strike at expiry), 0-1","type":["number","null"]},"outcome":{"description":"Hyperliquid outcome id (Yes token = coin #<id>0)","type":"integer"},"perp":{"description":"Underlying Hyperliquid perp, e.g. BTC or xyz:META","type":"string"},"question":{"type":"string"},"realized_vol_7d":{"type":["number","null"]},"settlement":{"properties":{"side":{"type":"string"},"source":{"type":["string","null"]},"window_seconds":{"type":["number","null"]}},"type":"object"},"signal":{"enum":["yes_underpriced","yes_overpriced","fair","illiquid","no_model"],"type":"string"},"spot_mid":{"type":["number","null"]},"spread_pp":{"type":"number"},"strike":{"type":"number"}},"required":["outcome","asset","strike","expiry","bid","ask","depth_usd","liquid"],"type":"object"},"type":"array"},"scanned":{"type":"integer"},"source":{"type":"string"},"spot_live":{"type":"boolean"}},"required":["rows","scanned","label","disclaimer"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"}}},"lastUpdated":"2026-10-17T13:17:59.802Z","quality":{"l30DaysTotalCalls":1,"l30DaysUniquePayers":1,"lastCalledAt":"2026-10-17T13:17:59.417Z"},"resource":"https://perp-gap-api.perpgap.workers.dev/pm/scan","serviceName":"Perp Gap API","tags":["Trading","Data","Prediction Markets","Signals","prediction-market-scanner"],"type":"http","x402Version":2},"source":"x402_bazaar","summary":"Use when an agent wants a ranked list of the most mispriced liquid prediction markets on Hyperliquid right now, across all crypto and tokenized-stock binary price markets, in one call. Each row has model probability vs bid/ask, edge in pp, spread, depth and book age; empty and illiquid books are filtered out. For scanners, trading agents and daily briefings. Errors: 400 bad params, 404 no books (free, never charged), 402, 502. Data, not advice."},"body_sha256":"24bbbd55adc2e02f0ae8031d1b212d80ccfe74fcf9c81182276e0dcf9ae8a457","prev_id":null,"leaf":"0xcd93ced5f963ad4952d372925517c9fc7bc99dee41f669bd8f960c923c0ed697","leaf_text":"{\"body\":\"24bbbd55adc2e02f0ae8031d1b212d80ccfe74fcf9c81182276e0dcf9ae8a457\",\"id\":118472,\"kind\":\"listing\",\"method\":\"baseline/1\",\"observed_us\":1793025613090317,\"prev\":null,\"subject\":\"x402_bazaar:https://perp-gap-api.perpgap.workers.dev/pm/scan\",\"subject_kind\":\"source_record\"}","day":{"day":"2026-10-26","leaves":296695,"root":"0xf43e8dcc3d451a4788b26be904c55e8c4c0fa75c9666796c51db38d37e2c0df8","chained":"0x702d5ac508f08b0d1accf36af25822d8e5660367494edd17a642fb61e158a57a","anchor_chain":"eip155:5042002","anchor_tx":"0x495162f8936e19f0039918feebe6c307f327cd6bf8c37219620b1970041fa9ae","anchor_block":69251483},"proof":["0xcd93b94b82e916bebd859acb5aa26585498b7e519555d135c23303594a22c058","0x66d1b021b7577e681e523e42ea75f7e44ecc507ce46fe38527f70d8136d261d7","0xc95caeb16e94a530694ac29e4d2f7728e09ae8271ff98bbd353936eaa519ed2f","0x5aee48f7d1452fd81effdc69fb888899844e254d20a6f65ecc36899d4d4aae71","0x427ea6758dde5e3ade5e734b97f2eb459e06244da46973bb6914355b5b1ed6c1","0xf1e9abb3b35cdb702c704da7179c2707208287b4691fbfcf1fb7b01aebdb2150","0xb10d0e814523dc157b9d5fdea6d5410b7e174516fc0b732107107661c7769c21","0x7a0bc93b13db24104f130e9239cdf4ef0bbbd1b44869f35306099f38399e4319","0x531583f2f64fabca8f0d172ee3a883826cf8eba8a8cb360cc5def5b603e0afc9","0xaeccad08de53b9a0fc92661c50baf377eabe2395bccae896e3122c57861cf518","0xbee3c0dbc9149e89a214e95afe49b5d8a825aaaf7aa1721b2d66bbb287d6fd4d","0xa45f4438c9296b0ba586fc2eec9f0202e5d3c61a1d3adc975b80f6a1f4a5ca57","0xe43762a621da83c0b4b63f549cd2e19c428ac702bfc1038d70233867b06c447f","0xefabf1105e09cf52c12c58e60cbb5048b9ac3f02631d1816a926e14bdd86fbdf","0xe94ca5b798e9899ad611e57835af42266e20f53f44977e487d81365e30972beb","0x703f95866af09c5e5d6ead7411e9a10f964a41a2aff64d4a55ff0053c023a023","0xd0651cb9bc8155eb52b5247d506e74b8a935057dc190ba52091702ac25ed3a40","0x9a9024edb5069d88a324facb310a5ce8e495214bbaa968f077bede437390194f","0x9b9ce5b74b9bab5121612ef6b64920a8d453cbf311096a423eef9702747e868a"]}