Perp premium and predicted

Basis for one perpetual: mark versus oracle premium in percent and basis points, impact premium, current funding and the predicted next funding per venue. Use it when an agent is evaluating a cash-and-carry, comparing funding across venues or deciding whether a perp is trading rich or cheap to spot.

TradingLiveeip155:8453Exactvia facilitator:payAI

Part of agent402.tools · 645 endpoints · See the whole service

CryptoDerivativesPerpetualsBasisPremium
Calls · 30d
1,242↑ 0.4%
This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 32 snapshots so far.
$212.24
Verified settled volume
18,840 settlements since 2026-11-05, relayed by a known x402 facilitator. Last 30 days: $212.24. By network: Base $121.78, Solana $86.96, Robinhood $3.47, eip155:57073 $0.03.
$0.0020
Listed price
As published in the catalog. Always read the live 402 before paying.
–
Calls · 30d
Upstream's own call count for this endpoint, not ours.
–
Unique payers · 30d
Never called
Paid to
0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0

The wallet the 402 directs payment to. Its full payment record is on the merchant page.

Asset 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913

Provider
Coming soonAgent402ERC-8004

Recent payments · which agents last used it

Every indexed settlement paid to this service’s wallet, newest first. The index does not record which endpoint a payment was for, so if this wallet serves more than one endpoint, the rows include payments for the others. Paged up to the newest 5,000; the full history is on the merchant page.

Payer PayeeChainAmountx402RouteAgeTxn hash
0x902d…82560xabf4…a9d0BaseBase$0.003100%Coinbase CDP1d ago0xa748a6…78b3de
0x902d…82560xabf4…a9d0BaseBase$0.002100%Coinbase CDP1d ago0x23de5a…1573fe
0x902d…82560xabf4…a9d0BaseBase$0.002100%Coinbase CDP1d ago0xa60220…3e0e6f
0x902d…82560xabf4…a9d0BaseBase$0.002100%Coinbase CDP1d ago0x2e64b1…0f21a9
0x902d…82560xabf4…a9d0BaseBase$0.002100%Coinbase CDP1d ago0xe6092e…c19cd5
0x902d…82560xabf4…a9d0BaseBase$0.002100%Coinbase CDP1d ago0x4f246f…0cb826
0x902d…82560xabf4…a9d0BaseBase$0.002100%Coinbase CDP1d ago0xdea19c…9d1238
0x902d…82560xabf4…a9d0BaseBase$0.002100%Coinbase CDP1d ago0x3cc361…8f9ece
0x902d…82560xabf4…a9d0BaseBase$0.002100%Coinbase CDP1d ago0x806176…280052
0x902d…82560xabf4…a9d0BaseBase$0.002100%Coinbase CDP1d ago0xf59f63…eda301
0x902d…82560xabf4…a9d0BaseBase$0.002100%Coinbase CDP1d ago0xf077a6…0bb71e
0x902d…82560xabf4…a9d0BaseBase$0.001100%Coinbase CDP1d ago0xb3acd8…89e084
0x902d…82560xabf4…a9d0BaseBase$0.001100%Coinbase CDP1d ago0x0db28b…9b9760
0x902d…82560xabf4…a9d0BaseBase$0.001100%Coinbase CDP1d ago0x1d2dde…cc0f47
0x902d…82560xabf4…a9d0BaseBase$0.001100%Coinbase CDP1d ago0x6f03fe…a3ac12
0x902d…82560xabf4…a9d0BaseBase$0.001100%Coinbase CDP1d ago0x16a84a…648980
0x902d…82560xabf4…a9d0BaseBase$0.001100%Coinbase CDP1d ago0xbef888…baa973
0x902d…82560xabf4…a9d0BaseBase$0.10100%Coinbase CDP1d ago0x692250…bc8650
0x902d…82560xabf4…a9d0BaseBase$0.10100%Coinbase CDP1d ago0x8a3994…9c37f7
0x902d…82560xabf4…a9d0BaseBase$0.10100%Coinbase CDP1d ago0x7584a3…6440a9
0x902d…82560xabf4…a9d0BaseBase$0.05100%Coinbase CDP1d ago0xcabfab…19e1f5
0x902d…82560xabf4…a9d0BaseBase$0.03100%Coinbase CDP1d ago0xb94305…1203c2
0x902d…82560xabf4…a9d0BaseBase$0.02100%Coinbase CDP1d ago0x9220de…cc2a46
0x902d…82560xabf4…a9d0BaseBase$0.02100%Coinbase CDP1d ago0x776910…bfc107
0x902d…82560xabf4…a9d0BaseBase$0.02100%Coinbase CDP1d ago0x5485f8…36725d

Live 402 challenge

Captured by the enrichment pass, not read just now. Prices can change. Always read the 402 the endpoint answers with.

{
  "error": "Payment required",
  "accepts": [
    {
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USD Coin",
        "version": "2"
      },
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "amount": "2000",
      "scheme": "exact",
      "network": "eip155:8453",
      "outputSchema": {
        "type": "object"
      },
      "maxTimeoutSeconds": 300
    },
    {
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "extra": {
        "name": "USD Coin",
        "version": "2"
      },
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "amount": "2000",
      "scheme": "exact",
      "network": "eip155:137",
      "maxTimeoutSeconds": 300
    },
    {
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "extra": {
        "name": "USD Coin",
        "version": "2"
      },
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "amount": "2000",
      "scheme": "exact",
      "network": "eip155:42161",
      "maxTimeoutSeconds": 300
    },
    {
      "asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
      "extra": {
        "name": "USDC",
        "version": "2"
      },
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "amount": "2000",
      "scheme": "exact",
      "network": "eip155:143",
      "maxTimeoutSeconds": 300
    },
    {
      "asset": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
      "extra": {
        "name": "USD Coin",
        "version": "2"
      },
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "amount": "2000",
      "scheme": "exact",
      "network": "eip155:43114",
      "maxTimeoutSeconds": 300
    },
    {
      "asset": "0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392",
      "extra": {
        "name": "USDC",
        "version": "2"
      },
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "amount": "2000",
      "scheme": "exact",
      "network": "eip155:1329",
      "maxTimeoutSeconds": 300
    },
    {
      "asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
      "extra": {
        "name": "USD Coin",
        "version": "2"
      },
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "amount": "3000",
      "scheme": "exact",
      "network": "eip155:10",
      "maxTimeoutSeconds": 300
    },
    {
      "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
      "extra": {
        "name": "Global Dollar",
        "version": "1"
      },
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "amount": "10000",
      "scheme": "exact",
      "network": "eip155:4663",
      "maxTimeoutSeconds": 300
    },
    {
      "asset": "0xcebA9300f2b948710d2653dD7B07f33A8B32118C",
      "extra": {
        "name": "USDC",
        "version": "2"
      },
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "amount": "2000",
      "scheme": "exact",
      "network": "eip155:42220",
      "maxTimeoutSeconds": 300
    },
    {
      "asset": "0x3600000000000000000000000000000000000000",
      "extra": {
        "name": "USDC",
        "version": "2"
      },
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "amount": "2000",
      "scheme": "exact",
      "network": "eip155:5042",
      "maxTimeoutSeconds": 300
    },
    {
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "USD Coin",
        "version": "2",
        "facilitatorAddress": "0x14fDa13953Fc30428938E6BF950d036e77214e52",
        "assetTransferMethod": "permit2"
      },
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "amount": "2000",
      "scheme": "upto",
      "network": "eip155:8453",
      "maxTimeoutSeconds": 300
    },
    {
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "extra": {
        "feePayer": "BENrLoUbndxoNMUS5JXApGMtNykLjFXXixMtpDwDR9SP",
        "transactionVersions": [
          0,
          1
        ]
      },
      "payTo": "J7aN3PLJnTCF5qpEnvJHJsnCjcGuqC2rYtEM8Gv3xwg",
      "amount": "2000",
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "maxTimeoutSeconds": 300
    },
    {
      "asset": "CCW67TSZV3SSS2HXMBQ5JFGCKJNXKZM7UQUWUZPUTHXSTZLEO7SJMI75",
      "extra": {
        "areFeesSponsored": true
      },
      "payTo": "GDNJXCKW7ZM7GEEVP674TWPU26YJNBQ2FI4ZIPRKTPTNUEJMDHFJWWRL",
      "amount": "20000",
      "scheme": "exact",
      "network": "stellar:pubnet",
      "maxTimeoutSeconds": 300
    },
    {
      "asset": "31566704",
      "extra": {
        "tag": "x402-global-challenge",
        "feePayer": "ZMFK2OI7ZBD2U27ISERZC4S6LKM6WMFJPZQ4MYNJDZ2VNBNMBA67RA22AA"
      },
      "payTo": "C7IIHG7SPLPZ5H7ZT6HW3UV2OQMQQE6Y2HBNGZXSLRJULE42BEE2OY2XIE",
      "amount": "2000",
      "scheme": "exact",
      "network": "algorand:wGHE2Pwdvd7S12BL5FaOP20EGYesN73k",
      "maxTimeoutSeconds": 300
    },
    {
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "extra": {
        "name": "GatewayWalletBatched",
        "version": "1",
        "verifyingContract": "0x77777777dcc4d5a8b6e418fd04d8997ef11000ee"
      },
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "amount": "2000",
      "scheme": "exact",
      "network": "eip155:8453",
      "maxTimeoutSeconds": 604900
    },
    {
      "asset": "0x3600000000000000000000000000000000000000",
      "extra": {
        "name": "GatewayWalletBatched",
        "version": "1",
        "verifyingContract": "0x77777777dcc4d5a8b6e418fd04d8997ef11000ee"
      },
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "amount": "2000",
      "scheme": "exact",
      "network": "eip155:5042",
      "maxTimeoutSeconds": 604900
    }
  ],
  "resource": {
    "url": "https://agent402.tools/api/perp-basis",
    "tags": [
      "crypto",
      "derivatives",
      "perpetuals",
      "basis",
      "premium"
    ],
    "iconUrl": "https://agent402.tools/favicon.ico",
    "mimeType": "application/json",
    "description": "Basis for one perpetual: mark versus oracle premium in percent and basis points, impact premium, current funding and the predicted next funding per venue. Use it when an agent is evaluating a cash-and-carry, comparing funding across venues or deciding whether a perp is trading rich or cheap to spot.",
    "serviceName": "Perp premium and predicted"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "coin": "BTC"
          },
          "type": "http",
          "method": "POST",
          "bodyType": "json"
        },
        "output": {
          "type": "json",
          "example": {
            "coin": "BTC",
            "midPx": 77266.5,
            "markPx": 77267,
            "source": "hyperliquid",
            "funding": {
              "per8h": 0.0001,
              "aprPct": 10.95,
              "hourly": 0.0000125
            },
            "oraclePx": 77236,
            "fetchedAt": "2026-08-22T12:00:00.000Z",
            "impactPremiumPct": 0.0388,
            "predictedFunding": [
              {
                "per8h": 0.0001,
                "venue": "HlPerp",
                "aprPct": 10.95,
                "fundingRate": 0.0000125,
                "nextFundingTime": "2026-08-22T13:00:00.000Z",
                "fundingIntervalHours": 1
              }
            ],
            "markOraclePremiumBps": 4.01,
            "markOraclePremiumPct": 0.0401
          }
        }
      },
      "schema": {
        "type": "object",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "required": [
          "input"
        ],
        "properties": {
          "input": {
            "type": "object",
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "properties": {
              "body": {
                "required": [
                  "coin"
                ],
                "properties": {
                  "coin": {
                    "type": "string",
                    "description": "Perp ticker, e.g. BTC, ETH, SOL."
                  }
                }
              },
              "type": {
                "type": "string",
                "const": "http"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              }
            },
            "additionalProperties": false
          },
          "output": {
            "type": "object",
            "required": [
              "type"
            ],
            "properties": {
              "type": {
                "type": "string"
              },
              "example": {
                "type": "object"
              }
            }
          }
        }
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_b4aw4uzd"
      },
      "schema": {
        "type": "object",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "a": {
            "type": "string",
            "pattern": "^[a-z0-9_]{1,32}$",
            "description": "App builder code"
          },
          "s": {
            "type": "array",
            "items": {
              "type": "string",
              "pattern": "^[a-z0-9_]{1,32}$"
            },
            "maxItems": 11,
            "description": "Service builder codes"
          },
          "w": {
            "type": "string",
            "pattern": "^[a-z0-9_]{1,32}$",
            "description": "Wallet builder code"
          }
        },
        "additionalProperties": false
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "type": "object",
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "required": [
          "required"
        ],
        "properties": {
          "id": {
            "type": "string",
            "pattern": "^[a-zA-Z0-9_-]+$",
            "maxLength": 128,
            "minLength": 16
          },
          "required": {
            "type": "boolean"
          }
        }
      }
    }
  },
  "x402Version": 2
}

Accepts

The payment requirements as published to the catalog. Read the live 402 before paying: a price here is a claim, not a quote.

2000units
on solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp · exact scheme

That figure is in the token’s smallest units. Roundhouse does not hold this contract’s decimals, so it is shown as published rather than converted.

Token contract
EPjFWd…TDt1v
Payment window
5 minutes
0.002USDC≈ $0.002 USD
on Base · exact scheme

Pay 0.002 USDC on Base to 0xaBF4…2a9D0. The signed payment is good for 5 minutes.

USD Coin contract
0x8335…02913
Payment window
5 minutes
As published
2000 smallest units
The catalog’s raw entry
[
  {
    "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
    "extra": {
      "feePayer": "CjNFTjvBhbJJd2B5ePPMHRLx1ELZpa8dwQgGL727eKww"
    },
    "payTo": "J7aN3PLJnTCF5qpEnvJHJsnCjcGuqC2rYtEM8Gv3xwg",
    "amount": "2000",
    "scheme": "exact",
    "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
    "maxTimeoutSeconds": 300
  },
  {
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "extra": {
      "name": "USD Coin",
      "version": "2"
    },
    "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
    "amount": "2000",
    "scheme": "exact",
    "network": "eip155:8453",
    "maxTimeoutSeconds": 300
  }
]

Extensions

{
  "bazaar": {
    "info": {
      "input": {
        "body": {
          "coin": "BTC"
        },
        "type": "http",
        "method": "POST",
        "bodyType": "json"
      },
      "output": {
        "type": "json",
        "example": {
          "coin": "BTC",
          "midPx": 77266.5,
          "markPx": 77267,
          "source": "hyperliquid",
          "funding": {
            "per8h": 0.0001,
            "aprPct": 10.95,
            "hourly": 0.0000125
          },
          "oraclePx": 77236,
          "fetchedAt": "2026-08-22T12:00:00.000Z",
          "impactPremiumPct": 0.0388,
          "predictedFunding": [
            {
              "per8h": 0.0001,
              "venue": "HlPerp",
              "aprPct": 10.95,
              "fundingRate": 0.0000125,
              "nextFundingTime": "2026-08-22T13:00:00.000Z",
              "fundingIntervalHours": 1
            }
          ],
          "markOraclePremiumBps": 4.01,
          "markOraclePremiumPct": 0.0401
        }
      }
    },
    "schema": {
      "type": "object",
      "$schema": "https://json-schema.org/draft/2020-12/schema",
      "required": [
        "input"
      ],
      "properties": {
        "input": {
          "type": "object",
          "required": [
            "type",
            "method",
            "bodyType",
            "body"
          ],
          "properties": {
            "body": {
              "required": [
                "coin"
              ],
              "properties": {
                "coin": {
                  "type": "string",
                  "description": "Perp ticker, e.g. BTC, ETH, SOL."
                }
              }
            },
            "type": {
              "type": "string",
              "const": "http"
            },
            "method": {
              "enum": [
                "POST"
              ],
              "type": "string"
            },
            "bodyType": {
              "enum": [
                "json",
                "form-data",
                "text"
              ],
              "type": "string"
            }
          },
          "additionalProperties": false
        },
        "output": {
          "type": "object",
          "required": [
            "type"
          ],
          "properties": {
            "type": {
              "type": "string"
            },
            "example": {
              "type": "object"
            }
          }
        }
      }
    }
  }
}

Provenance

Seen in the source catalog
2026-11-05 21:14Z
Last indexed by Roundhouse
2026-12-02 16:15Z
Last enriched (probe, favicon, geo)
2026-11-06 00:45Z
x402 version
2
Max timeout
300s
Liveness probe
HTTP 402
Report

Hand this page to an agent

Copy the prompt and paste it into Claude, an MCP client or your own agent: it will vet this service and call it over the free read API. No key, no account.

GET api.roundhouseai.io/v0/endpoints

This endpoint's own trailing-30-day call count, as published by the upstream catalog and snapshotted daily. 32 snapshots so far. Verified volume counts only settlements relayed by a known x402 facilitator.

Open skill.md
Show the prompt
Using Roundhouse, look up the x402 service Perp premium and predicted and tell me whether it is
worth paying: what a call costs, whether the endpoint answered when last probed, and what
its payment record actually shows.

curl -s 'https://api.roundhouseai.io/v0/endpoints?q=Perp%20premium%20and%20predicted'
curl -s 'https://api.roundhouseai.io/v0/merchants/<the payTo wallet returned above>'

Then call it: read the price from the live 402 at https://agent402.tools/api/perp-basis, never from
a cached figure, and pay with an x402 client.

The /v0 API needs an API key (`authorization: Bearer rh_live_…`) on everything except
/v0/unified* and /v0/endpoints. Either pay over x402 (mint a personal key for $0.01 at
GET https://api.roundhouseai.io/v0/test/x402), or ask me for an organization key, which I create at
https://roundhouseai.io/dashboard/connections. If you have neither, ask before going further.

If you do not have Roundhouse tools or skills installed, read
https://roundhouseai.io/skill.md first — it is the whole procedure.
Perp premium and predicted · Roundhouse