Get Perpetual Positions Data
Get Perpetual Positions Data
10000 (raw units)
price
1
calls / 30d
1
unique payers
2026-08-25
updated
Provider
api.nansen.ai · discovered, not yet claimed by its owner
Payment (x402 accepts[])
[
{
"scheme": "exact",
"network": "eip155:8453",
"payTo": "0x93053f1e7A5eFEDa532Fe69CbbE43cBEc3A0F13f",
"asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
"amount": "10000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:196",
"payTo": "0x93053f1e7A5eFEDa532Fe69CbbE43cBEc3A0F13f",
"asset": "0x779Ded0c9e1022225f8E0630b35a9b54bE713736",
"amount": "10000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:56",
"payTo": "0x93053f1e7A5eFEDa532Fe69CbbE43cBEc3A0F13f",
"asset": "0xcE24439F2D9C6a2289F741120FE202248B666666",
"amount": "10000000000000000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:56",
"payTo": "0x93053f1e7A5eFEDa532Fe69CbbE43cBEc3A0F13f",
"asset": "0x8d0d000ee44948fc98c9b98a4fa4921476f08b0d",
"amount": "10000000000000000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:56",
"payTo": "0x93053f1e7A5eFEDa532Fe69CbbE43cBEc3A0F13f",
"asset": "0x55d398326f99059fF775485246999027B3197955",
"amount": "10000000000000000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:56",
"payTo": "0x93053f1e7A5eFEDa532Fe69CbbE43cBEc3A0F13f",
"asset": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",
"amount": "10000000000000000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "eip155:143",
"payTo": "0x93053f1e7A5eFEDa532Fe69CbbE43cBEc3A0F13f",
"asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
"amount": "10000",
"maxTimeoutSeconds": 300
},
{
"scheme": "exact",
"network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
"payTo": "J7ZvJEspvwP1oRxQZ7mYmNmT22NTm3GWq3t7HEbvPZYx",
"asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"amount": "10000",
"maxTimeoutSeconds": 300
}
]Output schema
{
"bazaar": {
"info": {
"input": {
"body": {
"address": "0xa312114b5795dff9b8db50474dd57701aa78ad1e",
"filters": {
"position_value_usd": {
"min": 1000
},
"unrealized_pnl_usd": {
"max": 0
}
},
"order_by": [
{
"direction": "DESC",
"field": "position_value_usd"
}
]
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
},
"schema": {
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"properties": {
"address": {
"description": "User's Hyperliquid address in 42-character hexadecimal format",
"type": "string"
},
"filters": {
"description": "Additional filters to apply to the query.\n\n Examples:\n - `{\"positi",
"type": "object"
},
"order_by": {
"description": "\nCustom sort order to override the endpoint's default ordering.\n\nExamples:\n- [{\"",
"type": "array"
}
},
"required": [
"address"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST",
"PUT",
"PATCH"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}
}
}Use it
curl
curl "https://api.nansen.ai/api/v1/profiler/perp-positions" # -> 402 Payment Required, accepts[] lists how to pay # retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.nansen.ai/api/v1/profiler/perp-positions");
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://api.nansen.ai/api/v1/profiler/perp-positions")
if res.status_code == 402:
accepts = res.json()["accepts"]
# pay one of accepts[] via an x402 client, then retry with the payment headerMachine-readable
Everything on this page is also available as clean JSON at /resources/1302.json, and this resource appears in /discovery/resources and /discovery/search.