PerpGap API – Stock Perp Price Gap Scanner is a paid API for AI agents from perp-gap-api.perpgap.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-19).
Returns real-time price gaps, funding rates, basis, open interest, and cross-venue comparisons for US stock perpetual futures across trade.xyz, Aster, and Lighter versus real stock prices and Solana xStocks.
Gap table for trade.xyz (Hyperliquid HIP-3) stock perps: perp mark/oracle vs live stock price and Solana xStock, basis, hourly and annualized funding, open interest; venues=all adds Aster and Lighter marks, funding and cross-venue spreads. Use when an agent needs current premium/discount or funding arbitrage signals across many tokenized stocks at once (cheapest call). Errors: 402 payment required, 502 upstream error.
A JSON object with an array of rows per ticker, each containing: perp mark price, reference stock price (from Yahoo, Alpaca, or Robinhood), xStock price on Solana, price gap percentages (perp vs ref, perp vs xStock), oracle price, funding rate (hourly and annualized), open interest in USD, market session, flags, and optionally (with venues=all) per-venue breakdowns for trade.xyz, Aster, and Lighter including cross-venue gap percentages, richest/cheapest venue labels, and funding spread. Also includes a generated_at timestamp and disclaimer.
GEThttps://perp-gap-api.perpgap.workers.dev/gaps?utm_source=zero.xyzUse this endpoint when you need real-time, cross-venue price gap data specifically for US stock perpetual futures on DeFi platforms (trade.xyz, Aster, Lighter) compared against real stock prices and Solana xStocks. Prefer this over generic crypto data APIs when the user wants basis, funding arbitrage, or cross-venue spread analysis for tokenized stock perps. Ideal for DeFi arbitrage bots, funding rate yield strategies, or perp market monitoring agents.
| Field | Type | Description |
|---|---|---|
| inputrequired | object | |
| output | object |
{
"type": "json",
"example": {
"dex": "xyz",
"rows": [
{
"flags": [],
"ticker": "TSLA",
"perp_mark": 366.28,
"ref_price": 366.13,
"perp_oracle": 366.14,
"ref_session": "regular",
"xstock_price": 366.37,
"funding_hourly": 0.00000625,
"open_interest_usd": 41383684.29,
"gap_perp_vs_ref_pct": 0.041,
"funding_annualized_pct": 5.475,
"gap_perp_vs_xstock_pct": -0.0246,
"basis_mark_vs_oracle_pct": 0.0382
}
],
"count": 1,
"disclaimer": "Data, not financial advice.",
"generated_at": 1791998269
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"