DEVELOPER DOCUMENTATION
Jupiter Lend API
Check the latest window for free, then purchase the full JSON report when you need it.
Check report freshness
curl -fsS https://api.traverseengine.com/v1/reports/jupiter-lend/status
The status route returns HTTP 200 with fresh,
stale, or unavailable, plus price, vault IDs,
and the latest known window. Compare window.end between
polls to detect a new report. Window bounds are Unix seconds, start
inclusive and end exclusive. ageSeconds measures time since
the window ended. Reports expire for purchase after six hours.
Buy a report with x402
GET /v1/reports/jupiter-lend costs 0.01 USDC on Solana or
Base. An unpaid request returns HTTP 402 with a Base64-encoded
PAYMENT-REQUIRED header. The buyer signs the selected
payment and retries with PAYMENT-SIGNATURE. A successful
purchase returns HTTP 200, JSON, and PAYMENT-RESPONSE. HTTP
503 means the report or payment service is unavailable. Check settlement
before retrying an ambiguous purchase.
Download the runnable Base example. Use Node.js 22 or newer and a dedicated wallet funded with USDC on Base. The example reads your key locally and checks the price and recipient before signing.
npm install @x402/core@2.30.0 @x402/evm@2.30.0 viem@2
node --env-file=.env buy-report.mjs
Set TRAVERSE_BUYER_KEY in the local .env file
and keep the file outside version control.
Read the response
coverageBasis- The index used to find receipts. Coverage is limited to that source.
vaults- Per-vault results keyed by Jupiter Lend vault ID.
failedNetworkFeesLamports- Network fees for failed attempts, expressed as a decimal string in lamports.