S

SolEnrich · Perps Venue Comparison Invoke

by SolEnrich

POSTBaseSolana

$0.02

per call · USD Coin on Base

Builds on cross-venue funding with size-aware fields: Jupiter Quote spot slippage at requested size, per-venue fee, OI cap headroom, first-hour borrow cost, and total entry cost. Returns rankings by entry cost / borrow APR / headroom plus a recommendation venue with warnings. Use when sizing a real position; use perps-cross-venue-funding for rates-only context.

Endpoint

POST https://api.solenrich.com/entrypoints/perps-venue-comparison/invoke

1

Calls / 30d

1

Unique payers / 30d

Aug 23

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";

const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);

const res = await fetchWithPay("https://api.solenrich.com/entrypoints/perps-venue-comparison/invoke", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    "market": "SOL",
    "size_usd": 5000
  }),
});
const data = await res.json();
cURL
curl -X POST \
  "https://api.solenrich.com/entrypoints/perps-venue-comparison/invoke" \
  -H "Content-Type: application/json" \
  -d '{"market":"SOL","size_usd":5000}' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

{
  "output": {
    "briefing": "string (llm format) or object (json format)"
  },
  "run_id": "uuid",
  "status": "succeeded"
}

Payment details

Pay to0x8ede9ed2e6acdd9b2bafa42ff4078d3f3263607c
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Market Data and the homepage with a featured placement.

Get featured →

More from SolEnrich & similar services