X4
Sustainability · x402 · early usage

Jupiter's JLP liquidity pool, decoded from the Perpetuals program's on-chain accounts (…

Jupiter's JLP liquidity pool, decoded from the Perpetuals program's on-chain accounts (not the Jupiter API): AUM (USD), JLP supply and virtual price (AUM ÷ supply), pool-wide long/short trader exposure, and each asset (SOL, ETH, WBTC, USDC, USDT) with holding…

by x402stock.xyz · discovered, not yet claimed by its owner · updated 2026-10-09

30d calls4
30d payers3
MethodGET
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Jupiter's JLP liquidity pool, decoded from the Perpetuals program's on-chain accounts (not the Jupiter API): AUM (USD), JLP supply and virtual price (AUM ÷ supply), pool-wide long/short trader exposure, and each asset (SOL, ETH, WBTC, USDC, USDT) with holdings, owned/locked, utilization %, and long/short USD. Keyless public-chain data, no Jupiter API. From x402stock

Tags: bazaar

Call contract

Method
GET
Input
query parameters
Output
json
Last paid call
2026-10-09
Input example from Bazaar metadata
{}
Output example
{
  "as_of": "2026-06-08T00:00:00.000Z",
  "asset_count": 5,
  "assets": [
    {
      "amount": 696322.138,
      "custody": "7xS2gz2bTp3fwCC7knJvUWTEU9Tycczu6VhJYKgi1wdz",
      "decimals": 9,
      "global_short_usd": 15930818.93,
      "guaranteed_usd": 20569389.92,
      "locked": 388987.585,
      "mint": "So11111111111111111111111111111111111111112",
      "owned": 5188215.681,
      "symbol": "SOL",
      "token_account": "BUvduFTd2sWFagCunBPLupG8fBTJqweLw9DuhruNFSCm",
      "utilization_percent": 7.5
    },
    {
      "amount": 32196.633,
      "custody": "AQCGyheWPLeo6Qp9WpYS9m3Qj479t7R636N9ey1rEjEn",
      "decimals": 8,
      "global_short_usd": 8122859.96,
      "guaranteed_usd": 3369168.13,
      "locked": 2526.548,
      "mint": "7vfCXTUXx5WJV5JADk17DUJ4ksgau7utNKj4b963voxs",
      "owned": 32163.067,
      "symbol": "ETH",
      "token_account": "Bgarxg65CEjN3kosjCW5Du3wEqvV3dpCGDR3a2HRQsYJ",
      "utilization_percent": 7.86
    },
    {
      "amount": 1906.135,
      "custody": "5Pv3gM9JrFFH883SWAhvJC9RPYmo8UNxuFtv5bMMALkm",
      "decimals": 8,
      "global_short_usd": 11237473.23,
      "guaranteed_usd": 10616029.85,
      "locked": 215.198,
      "mint": "3NZ9JMVBmGAqocybic2c7LQCJScmgsAZ6vQqTDzcqmJh",
      "owned": 1906.135,
      "symbol": "WBTC",
      "token_account": "FgpXg2J3TzSs7w3WGYYE7aWePdrxBVLCXSxmAKnCZNtZ",
      "utilization_percent": 11.29
    },
    {
      "amount": 129752920.228,
      "custody": "G18jKKXQwBbrHeiK3C9MRXhkHsLHf7XgCSisykV46EZa",
      "decimals": 6,
      "global_short_usd": 0,
      "guaranteed_usd": 0,
      "locked": 35300919.614,
      "mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "owned": 125182681.963,
      "symbol": "USDC",
      "token_account": "WzWUoCmtVv7eqAbU3BfKPU3fhLP6CXR8NCJH78UK9VS",
      "utilization_percent": 28.2
    },
    {
      "amount": 99316.265,
      "custody": "4vkNeXiYEUizLdrpdPS1eC2mccyM4NUPRtERrk6ZETkk",
      "decimals": 6,
      "global_short_usd": 0,
      "guaranteed_usd": 0,
      "locked": 0,
      "mint": "Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB",
      "owned": 0,
      "symbol": "USDT",
      "token_account": "Gex24YznvguMad1mBzTQ7a64U1CJy59gvsStQmNnnwAd",
      "utilization_percent": 0
    }
  ],
  "aum_usd": 743260404.04,
  "chain": "solana",
  "jlp_mint": "27G8MtK7VtTcCHkpASjSDdkWWYfoqT6ggEuKidVJidD4",
  "jlp_supply": 220936259.555971,
  "jlp_virtual_price": 3.36414,
  "pool": "5BUwFW4nRbftYTDMbgxykoFWqWHPzahFSNAaaaJtVKsq",
  "program": "PERPHjGBqRHArX4DySjwM6UJHiR3sWAatqfdBS2qQJu",
  "protocol": "jupiter-perps",
  "source": "x402stock",
  "total_guaranteed_usd": 34555587.87,
  "total_short_usd": 35291152.12,
  "venue": "jupiter"
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/39935.json for the price and payment options.
  3. Pay. Call GET https://x402stock.xyz/api/v1/solana/jlp. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.02 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Demand
4 calls · 3 unique payers in 30d (public x402 Bazaar data)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.020x3070Fbb3803819fB5BdfE9286fdc6325A877fA85300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0x3070Fbb3803819fB5BdfE9286fdc6325A877fA85",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "20000",
    "amountUsd": 0.02,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "additionalProperties": false,
      "properties": {
        "as_of": {
          "type": "string"
        },
        "asset_count": {
          "type": "number"
        },
        "assets": {
          "items": {
            "additionalProperties": false,
            "properties": {
              "amount": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Physical on-chain holdings (custody token-account balance, UI amount)."
              },
              "custody": {
                "description": "The Perpetuals custody account for this asset.",
                "type": "string"
              },
              "decimals": {
                "type": "number"
              },
              "global_short_usd": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Open short USD exposure for this asset."
              },
              "guaranteed_usd": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Long positions' guaranteed USD exposure for this asset."
              },
              "locked": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Amount reserved to back open trader positions."
              },
              "mint": {
                "type": "string"
              },
              "owned": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "Pool-accounting owned amount (can differ from physical `amount`)."
              },
              "symbol": {
                "type": "string"
              },
              "token_account": {
                "description": "SPL account holding the physical balance.",
                "type": "string"
              },
              "utilization_percent": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "description": "locked ÷ owned × 100 — the JLP yield driver."
              }
            },
            "required": [
              "symbol",
              "mint",
              "decimals",
              "custody",
              "token_account",
              "amount",
              "owned",
              "locked",
              "utilization_percent",
              "guaranteed_usd",
              "global_short_usd"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "aum_usd": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "description": "Pool assets under management in USD (cached on-chain)."
        },
        "chain": {
          "const": "solana",
          "type": "string"
        },
        "jlp_mint": {
          "type": "string"
        },
        "jlp_supply": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ]
        },
        "jlp_virtual_price": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "description": "aum_usd ÷ jlp_supply — the JLP token's backing value."
        },
        "pool": {
          "description": "The JLP Pool account address.",
          "type": "string"
        },
        "program": {
          "description": "Jupiter Perpetuals program ID.",
          "type": "string"
        },
        "protocol": {
          "type": "string"
        },
        "source": {
          "const": "x402stock",
          "type": "string"
        },
        "total_guaranteed_usd": {
          "description": "Pool-wide long (guaranteed) USD exposure.",
          "type": "number"
        },
        "total_short_usd": {
          "description": "Pool-wide open short USD exposure.",
          "type": "number"
        },
        "venue": {
          "const": "jupiter",
          "type": "string"
        }
      },
      "required": [
        "source",
        "as_of",
        "venue",
        "chain",
        "protocol",
        "program",
        "pool",
        "jlp_mint",
        "aum_usd",
        "jlp_supply",
        "jlp_virtual_price",
        "total_guaranteed_usd",
        "total_short_usd",
        "asset_count",
        "assets"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "as_of": "string",
    "asset_count": 0,
    "assets": [
      {
        "amount": null,
        "custody": "string",
        "decimals": 0,
        "global_short_usd": null,
        "guaranteed_usd": null,
        "locked": null,
        "mint": "string",
        "owned": null,
        "symbol": "string",
        "token_account": "string",
        "utilization_percent": null
      }
    ],
    "aum_usd": null,
    "chain": "string",
    "jlp_mint": "string",
    "jlp_supply": null,
    "jlp_virtual_price": null,
    "pool": "string",
    "program": "string",
    "protocol": "string",
    "source": "string",
    "total_guaranteed_usd": 0,
    "total_short_usd": 0,
    "venue": "string"
  },
  "type": "string"
}

Examples

curl
curl "https://x402stock.xyz/api/v1/solana/jlp"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://x402stock.xyz/api/v1/solana/jlp");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://x402stock.xyz/api/v1/solana/jlp")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
x402stock.xyz
Endpoint
https://x402stock.xyz/api/v1/solana/jlp
Machine-readable
/resources/39935.json