← Back to directory

Computes perp mark vs spot price across venues and surfaces actually-earnable yi...

https://api.solenrich.com/entrypoints/perps-basis-signal/invoke

Overview

Computes perp mark vs spot price across venues and surfaces actually-earnable yield (funding APR on Hyperliquid + dYdX, not viable on pool perps Jupiter + Adrena). Returns per-venue trade economics, opportunities above threshold, and best trade. Threshold defaults to 5% APR.

Protocol x402 (POST)
Price $0.01
Payment Asset USDC
Payment Network solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp
Category uncategorized
Provider SolEnrich
Source bazaar
Indexed 2026-06-28 15:14:40

Health

Status healthy
Latency (p50) 399ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-10-31 07:14:57
Last Healthy 2026-10-31 07:14:57
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "asset": "SOL", "format": "json", "min_yield_apr_pct": 5 }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "output": { "asset": "SOL", "best_trade": { "direction": "short_perp_long_spot", "net_yield_pct": 12.085, "venue": "hyperliquid" }, "checked_at": 1790035810717, "min_yield_apr_pct": 5, "opportunities": [ { "available": true, "basis_bps": 9, "mark_price_usd": 118.68, "rate_apr_pct": 12.085, "rate_mechanism": "funding-rate", "type": "reference", "venue": "hyperliquid" } ], "spot": { "price_usd": 118.57, "sources": 2, "spread_pct": 0.06 }, "venues": [ { "available": true, "basis_bps": 0, "mark_price_usd": 118.57, "rate_apr_pct": 12.739, "rate_mechanism": "borrow-rate", "type": "solana-onchain", "venue": "jupiter-perps" } ] }, "run_id": "uuid", "status": "succeeded" }, "type": "json" }