{"uid":"cap_skStHeYYT8hm-hQj8ch1u","slug":"alphapipeline-oracle-gap-bp-51c5e121","name":"AlphaPipeline Oracle Gap BP","description":"Cheapest-tier thin wrapper around oracle-gap - just the mid/mark vs oracle bp gap numbers and the elevated flag, no absolute prices. Paid in USDC on Base.","url":"https://alphapipeline-eu.onrender.com/v1/market/oracle-gap-bp?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["coin"],"properties":{"coin":{"type":"string","description":"Hyperliquid perpetual ticker, e.g. ETH or BTC."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"OracleGapBpResponse","required":["generated_at","coin","elevated","alert_threshold_bp","data_source"],"properties":{"coin":{"type":"string","title":"Coin"},"notice":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Notice","default":null},"elevated":{"type":"boolean","title":"Elevated","description":"True when abs(mid_oracle_gap_bp) >= alert_threshold_bp. A fixed-threshold boolean, not a manipulation determination."},"data_source":{"type":"string","title":"Data Source"},"generated_at":{"type":"object","title":"TimestampPair","required":["utc","kst"],"properties":{"kst":{"type":"string","title":"Kst"},"utc":{"type":"string","title":"Utc"}}},"mid_oracle_gap_bp":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Mid Oracle Gap Bp","default":null},"alert_threshold_bp":{"type":"number","title":"Alert Threshold Bp"},"mark_oracle_gap_bp":{"anyOf":[{"type":"number"},{"type":"null"}],"title":"Mark Oracle Gap Bp","default":null}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_bgLoHtPDcJnyVtAmcZex2","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the mid/mark price deviation from the oracle price in basis points for a Hyperliquid perpetual, plus an elevated flag — cheapest tier, no absolute prices.","exampleAgentPrompt":"What's the current oracle gap in basis points for ETH on Hyperliquid — is it elevated right now?","exampleUseCases":[{"title":"Pre-trade oracle deviation check","prompt":"Before I open a position, check the oracle gap in basis points for BTC on Hyperliquid and tell me if the mid price deviation is elevated."},{"title":"Real-time oracle alert for SOL perp","prompt":"Is the mid-to-oracle gap for SOL on Hyperliquid currently flagged as elevated? Give me the basis point numbers."},{"title":"Automated risk monitoring for ARB perp","prompt":"Pull the oracle gap BP data for ARB on Hyperliquid — I need the mid and mark gaps in bps and whether the elevated flag is triggered."}],"resultDescription":"Returns a JSON object with mid_oracle_gap_bp (mid price vs oracle in basis points), mark_oracle_gap_bp (mark price vs oracle in basis points), an elevated boolean flag (true when abs(mid_oracle_gap_bp) >= alert_threshold_bp), the alert_threshold_bp value, the coin ticker, data source, and a UTC/KST timestamp pair. No absolute prices are included — basis point gaps only.","failureModes":["Invalid or unsupported coin ticker returns an error","Hyperliquid data source unavailable causes null gap values","Payment failure (USDC on Base) blocks the request","Rate limits or server cold start on free render tier may cause latency spikes","mid_oracle_gap_bp or mark_oracle_gap_bp may return null if pricing data is stale"],"whenToPreferThis":"Choose this endpoint when you only need the oracle gap deviation in basis points (not absolute prices) for a Hyperliquid perpetual and want the lowest-cost option. Prefer the full AlphaPipeline Oracle Gap endpoint if you also need absolute price levels. Ideal for automated risk monitors, pre-trade checks, and alert pipelines where cost per call matters and raw BP deviation is sufficient signal.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-12-02T14:30:16.599Z","isFirstParty":false,"canonicalSlug":"alphapipeline-oracle-gap-bp-51c5e121"}