x402-perpradar / tree / src/examples.js ยท raw (this view has old GitHub links rewritten for the mirror; raw is byte-exact)
// Example outputs for the Bazaar discovery declaration, OpenAPI and landing page (recorded 2026-10-22T18:52:54.632Z; trimmed lists).
export const LITE_EXAMPLE = {"symbol":"BTC","venues_ok":4,"funding":{"median_apr_pct":10.852,"median_8h_pct":0.00991,"oi_weighted_apr_pct":10.946,"min":{"venue":"aevo","apr_pct":5.256},"max":{"venue":"hyperliquid","apr_pct":10.95},"cross_venue_spread_apr_pct":5.694,"cheapest_to_be_long":"aevo","cheapest_to_be_short":"hyperliquid"},"open_interest_usd_total":3533643238,"positioning":"long_bias","positioning_note":"Longs pay shorts: mild long bias.","venues":[{"venue":"hyperliquid","market":"BTC","funding_8h_pct":0.01,"funding_apr_pct":10.95,"funding_interval_hours":1,"open_interest_usd":3506609547},{"venue":"dydx","market":"BTC-USD","funding_8h_pct":0.00983,"funding_apr_pct":10.76,"funding_interval_hours":1,"open_interest_usd":17320891}],"confidence":"high","sources_failed":[],"checked_at":"2026-10-22T18:52:54.632Z","tier":"lite","disclaimer":"Not financial advice. Past performance does not guarantee future results. Read-only market analytics from public venue data at the time of the request; funding rates change every hour and can reverse. PerpRadar never trades, holds funds or keys."};
export const FULL_EXAMPLE = {"symbol":"ETH","venues_ok":4,"venues_listed":["hyperliquid","dydx","paradex","aevo"],"funding":{"median_apr_pct":6.102,"median_8h_pct":0.00557,"oi_weighted_apr_pct":7.163,"min":{"venue":"dydx","apr_pct":-14.247},"max":{"venue":"hyperliquid","apr_pct":7.303},"cross_venue_spread_apr_pct":21.55,"cheapest_to_be_long":"dydx","cheapest_to_be_short":"hyperliquid"},"open_interest_usd_total":2668271569,"positioning":"neutral","positioning_note":"Funding is near zero: no strong positioning bias.","confidence":"high","sources_failed":[],"checked_at":"2026-10-22T18:52:56.021Z","venues":[{"venue":"hyperliquid","market":"ETH","funding_rate":0.0000083364,"funding_interval_hours":1,"funding_8h_pct":0.00667,"funding_apr_pct":7.303,"mark_price":2385.2,"index_price":2386.3,"premium_pct":-0.044,"open_interest":1108650.3543999998,"open_interest_usd":2644352825,"volume_24h_usd":1010629837},{"venue":"dydx","market":"ETH-USD","funding_rate":-0.00001626415094339623,"funding_interval_hours":1,"funding_8h_pct":-0.01301,"funding_apr_pct":-14.247,"mark_price":null,"index_price":2382.782031,"premium_pct":null,"open_interest":7116.24,"open_interest_usd":16956449,"volume_24h_usd":43372811}],"premium":{"median_pct":-0.044,"read":"perps trade near index"},"history":{"hyperliquid_7d":{"samples":168,"mean_apr_pct":7.768,"min_apr_pct":-11.915,"max_apr_pct":10.95,"latest_apr_pct":7.575,"zscore_latest":-0.04,"percentile_latest":31,"positive_share_pct":90},"dydx_100h":{"samples":100,"mean_apr_pct":14.674,"min_apr_pct":-16.863,"max_apr_pct":86.286,"latest_apr_pct":-2.299,"zscore_latest":-0.87,"percentile_latest":13,"positive_share_pct":55}},"regime":{"vs_recent":"funding within its recent range","zscore":-0.04,"percentile":31,"based_on":"hyperliquid_7d"},"carry":[{"venue":"hyperliquid","short_perp_funding_apr_pct":7.303,"note":"a short perp position currently receives funding"},{"venue":"dydx","short_perp_funding_apr_pct":-14.247,"note":"a short perp position currently pays funding"}],"carry_note":"Funding carry is the annualized funding a delta-neutral short-perp / long-spot position would receive at the current rate, before fees, slippage and borrow. Rates change hourly; not a return forecast.","tier":"full","disclaimer":"Not financial advice. Past performance does not guarantee future results. Read-only market analytics from public venue data at the time of the request; funding rates change every hour and can reverse. PerpRadar never trades, holds funds or keys."};
export const SCAN_EXAMPLE = {"mode":"universe","filters":{"min_oi_usd":1000000},"venues_ok":["dydx","hyperliquid","paradex"],"assets":118,"market":{"oi_weighted_funding_apr_pct":9.539,"positive_funding_share_pct":86,"read":"neutral"},"highest_funding":[{"symbol":"XMR","venues":[{"venue":"hyperliquid","funding_apr_pct":93.971,"funding_8h_pct":0.08582,"open_interest_usd":106206803,"premium_pct":0.2346}],"median_apr_pct":93.971,"spread_apr_pct":null,"oi_usd_total":106206803,"positioning":"crowded_long","single_venue":true},{"symbol":"APEX","venues":[{"venue":"hyperliquid","funding_apr_pct":33.591,"funding_8h_pct":0.03068,"open_interest_usd":1655347,"premium_pct":0.1137}],"median_apr_pct":33.591,"spread_apr_pct":null,"oi_usd_total":1655347,"positioning":"crowded_long","single_venue":true}],"lowest_funding":[{"symbol":"ALT","venues":[{"venue":"hyperliquid","funding_apr_pct":-2420.89,"funding_8h_pct":-2.21086,"open_interest_usd":1809419,"premium_pct":-2.2973}],"median_apr_pct":-2420.89,"spread_apr_pct":null,"oi_usd_total":1809419,"positioning":"crowded_short","single_venue":true},{"symbol":"ADA","venues":[{"venue":"hyperliquid","funding_apr_pct":-73.947,"funding_8h_pct":-0.06753,"open_interest_usd":30379619,"premium_pct":-0.0915}],"median_apr_pct":-73.947,"spread_apr_pct":null,"oi_usd_total":30379619,"positioning":"crowded_short","single_venue":true}],"widest_spreads":[{"symbol":"ETH","venues":[{"venue":"hyperliquid","funding_apr_pct":7.303,"funding_8h_pct":0.00667,"open_interest_usd":2644352825,"premium_pct":-0.044},{"venue":"dydx","funding_apr_pct":-14.247,"funding_8h_pct":-0.01301,"open_interest_usd":16956449,"premium_pct":null},{"venue":"paradex","funding_apr_pct":6.072,"funding_8h_pct":0.00554,"open_interest_usd":3010469,"premium_pct":0.0326}],"median_apr_pct":6.072,"spread_apr_pct":21.55,"oi_usd_total":2664319743,"positioning":"neutral","single_venue":false},{"symbol":"SOL","venues":[{"venue":"hyperliquid","funding_apr_pct":10.104,"funding_8h_pct":0.00923,"open_interest_usd":576024148,"premium_pct":-0.0527},{"venue":"dydx","funding_apr_pct":24.916,"funding_8h_pct":0.02275,"open_interest_usd":5692608,"premium_pct":null}],"median_apr_pct":17.51,"spread_apr_pct":14.812,"oi_usd_total":581716756,"positioning":"long_bias","single_venue":false}],"confidence":"high","sources_failed":[],"checked_at":"2026-10-22T18:52:56.514Z","tier":"scan","disclaimer":"Not financial advice. Past performance does not guarantee future results. Read-only market analytics from public venue data at the time of the request; funding rates change every hour and can reverse. PerpRadar never trades, holds funds or keys."};

agentgate-source: code mirror on Cloudflare Pages. All repos