APIFinance

Prediction Markets and Derivatives — Get the global leaderboard of smart wallets

Retrieve the global leaderboard of smart wallets with the BlockRun API. The sample response includes rankings and volumes. Request fields include pagination key (pagination_key), result limit (limit). Use it in financial research or market monitoring. The GET request schema also lists exclude_style, max_avg_buy_price. Use the data in market research, dashboard views, or scheduled data collection for the relevant markets.

Selected price
$0.0075 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...
USE THIS API

Prediction Markets and Derivatives — Get the global leaderboard of smart wallets

Prepare your request, then continue with your agent.

Selected price

$0.0075 / call

Provider
Pricing
Connect your agent
On this page

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
Optional parameters (31)
Comma-separated styles to exclude
Results per page
Maximum avg buy price (0-1)
Maximum avg sell price (0-1)
Maximum avg trade size in USD
Maximum entry edge (avg_sell - avg_buy)
Maximum profit factor
Maximum realized PnL in USD
Maximum ROI (decimal)
Maximum total PnL in USD (realized + unrealized - net fees)
Maximum trade count
Maximum volume in USD
Maximum wallet age in days
Maximum win rate (decimal)
Minimum avg buy price (0-1)
Minimum avg sell price (0-1)
Minimum avg trade size in USD
Minimum entry edge (avg_sell - avg_buy)
Minimum profit factor
Minimum realized PnL in USD
Minimum ROI (decimal)
Minimum total PnL in USD (realized + unrealized - net fees)
Minimum trade count
Minimum volume in USD
Minimum wallet age in days
Minimum win rate (decimal)
Sort order
Cursor for pagination
Sort field
Comma-separated styles to include (OR logic)
Time window for metrics

Sample response

{
  "entries": [
    {
      "entry_edge": -0.1767,
      "first_trade_at": 1759937958,
      "metrics": {
        "losses": 22,
        "positions_closed": 36,
        "profit_factor": 1.356352462114493,
        "realized_pnl": 113976.6107689999,
        "roi": 0.08029685867941634,
        "total_pnl": 142146.65895572648,
        "trades": 315,
        "volume": 1419440.4783329964,
        "win_rate": 0.3888888888888889,
        "wins": 14
      },
      "rank": 1,
      "trading_styles": {
        "is_active_trader": true,
        "is_buy_and_hold": false,
        "is_contrarian": false,
        "is_degen": false,
        "is_high_conviction": false,
        "is_market_maker": false,
        "is_value_hunter": false,
        "is_whale": true,
        "primary_style": "WHALE"
      },
      "user": "0x2c335066fe58fe9237c3d3dc7b275c2a034a0563"
    }
  ],
  "pagination": {
    "count": 1,
    "has_more": true,
    "limit": 1,
    "pagination_key": "eyJzdiI6MTQxOTQ0MC40NzgzMzI5OTY0LCJ1IjoiMHgyYzMzNTA2NmZlNThmZTkyMzdjM2QzZGM3YjI3NWMyYTAzNGEwNTYzIiwicm8iOjEsInNjb3BlIjp7IndpbmRvdyI6IjFkIiwic29ydF9ieSI6InZvbHVtZSIsIm9yZGVyIjoiZGVzYyIsInN0eWxlIjpudWxsLCJleGNsdWRlX3N0eWxlIjpudWxsLCJtaW5fcmVhbGl6ZWRfcG5sIjpudWxsLCJtYXhfcmVhbGl6ZWRfcG5sIjpudWxsLCJtaW5fdG90YWxfcG5sIjpudWxsLCJtYXhfdG90YWxfcG5sIjpudWxsLCJtaW5fdm9sdW1lIjpudWxsLCJtYXhfdm9sdW1lIjpudWxsLCJtaW5fdHJhZGVzIjpudWxsLCJtYXhfdHJhZGVzIjpudWxsLCJtaW5fcm9pIjpudWxsLCJtYXhfcm9pIjpudWxsLCJtaW5fcHJvZml0X2ZhY3RvciI6bnVsbCwibWF4X3Byb2ZpdF9mYWN0b3IiOm51bGwsIm1pbl93aW5fcmF0ZSI6bnVsbCwibWF4X3dpbl9yYXRlIjpudWxsLCJtaW5fYXZnX3RyYWRlX3VzZCI6bnVsbCwibWF4X2F2Z190cmFkZV91c2QiOm51bGwsIm1pbl93YWxsZXRfYWdlX2RheXMiOm51bGwsIm1heF93YWxsZXRfYWdlX2RheXMiOm51bGwsIm1pbl9hdmdfYnV5X3ByaWNlIjpudWxsLCJtYXhfYXZnX2J1eV9wcmljZSI6bnVsbCwibWluX2F2Z19zZWxsX3ByaWNlIjpudWxsLCJtYXhfYXZnX3NlbGxfcHJpY2UiOm51bGwsIm1pbl9lbnRyeV9lZGdlIjpudWxsLCJtYXhfZW50cnlfZWRnZSI6bnVsbH19"
  },
  "sort_by": "volume",
  "window": "1d"
}

Response result

Response structure

Inferred from examples
  • entriesobject[]
    • entry_edgenumber
    • first_trade_atinteger
    • metricsobject
      • lossesinteger
      • positions_closedinteger
      • profit_factornumber
      • realized_pnlnumber
      • roinumber
      • total_pnlnumber
      • tradesinteger
      • volumenumber
      • win_ratenumber
      • winsinteger
    • rankinteger
    • trading_stylesobject
      • is_active_traderboolean
      • is_buy_and_holdboolean
      • is_contrarianboolean
      • is_degenboolean
      • is_high_convictionboolean
      • is_market_makerboolean
      • is_value_hunterboolean
      • is_whaleboolean
      • primary_stylestring
    • userstring
  • paginationobject
    • countinteger
    • has_moreboolean
    • limitinteger
    • pagination_keystring
  • sort_bystring
  • windowstring

Sellers

SellerPricingRequests · 30dPerformanceAccess
blockrunCurrent
Prediction Markets and Derivatives — Get the global leaderboard of smart wallets · GET · View API reference
$0.0075 / call—
—successP50—
Loading...
Selected pricing · blockrunUSD / call
Unit price
$0.0075

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 4. Price update time: not supplied.

calls

Total $0.75

API

Method
GET
Endpoint
https://api.openany.si/v1/agent-apis/blockrun/v1/pm/polymarket/leaderboard
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
  'https://api.openany.si/v1/agent-apis/blockrun/v1/pm/polymarket/leaderboard?limit=1&sort_by=volume&window=1d' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
exclude_styleURL query parametersquerystring | nullNoComma-separated styles to exclude
limitURL query parametersqueryintegerNoResults per page

minimum: 1 · maximum: 100

max_avg_buy_priceURL query parametersquerynumber | nullNoMaximum avg buy price (0-1)

minimum: 0 · maximum: 1

max_avg_sell_priceURL query parametersquerynumber | nullNoMaximum avg sell price (0-1)

minimum: 0 · maximum: 1

max_avg_trade_usdURL query parametersquerynumber | nullNoMaximum avg trade size in USD

minimum: 0

max_entry_edgeURL query parametersquerynumber | nullNoMaximum entry edge (avg_sell - avg_buy)

minimum: -1 · maximum: 1

max_profit_factorURL query parametersquerynumber | nullNoMaximum profit factor

minimum: 0

max_realized_pnlURL query parametersquerynumber | nullNoMaximum realized PnL in USD
max_roiURL query parametersquerynumber | nullNoMaximum ROI (decimal)
max_total_pnlURL query parametersquerynumber | nullNoMaximum total PnL in USD (realized + unrealized - net fees)
max_tradesURL query parametersqueryinteger | nullNoMaximum trade count

minimum: 1

max_volumeURL query parametersquerynumber | nullNoMaximum volume in USD

minimum: 0

max_wallet_age_daysURL query parametersqueryinteger | nullNoMaximum wallet age in days

minimum: 0

max_win_rateURL query parametersquerynumber | nullNoMaximum win rate (decimal)

minimum: 0 · maximum: 1

min_avg_buy_priceURL query parametersquerynumber | nullNoMinimum avg buy price (0-1)

minimum: 0 · maximum: 1

min_avg_sell_priceURL query parametersquerynumber | nullNoMinimum avg sell price (0-1)

minimum: 0 · maximum: 1

min_avg_trade_usdURL query parametersquerynumber | nullNoMinimum avg trade size in USD

minimum: 0

min_entry_edgeURL query parametersquerynumber | nullNoMinimum entry edge (avg_sell - avg_buy)

minimum: -1 · maximum: 1

min_profit_factorURL query parametersquerynumber | nullNoMinimum profit factor

minimum: 0

min_realized_pnlURL query parametersquerynumber | nullNoMinimum realized PnL in USD
min_roiURL query parametersquerynumber | nullNoMinimum ROI (decimal)
min_total_pnlURL query parametersquerynumber | nullNoMinimum total PnL in USD (realized + unrealized - net fees)
min_tradesURL query parametersqueryinteger | nullNoMinimum trade count

minimum: 1

min_volumeURL query parametersquerynumber | nullNoMinimum volume in USD

minimum: 0

min_wallet_age_daysURL query parametersqueryinteger | nullNoMinimum wallet age in days

minimum: 0

min_win_rateURL query parametersquerynumber | nullNoMinimum win rate (decimal)

minimum: 0 · maximum: 1

orderURL query parametersquerystringNoSort order

enum: "asc", "desc"

pagination_keyURL query parametersquerystring | nullNoCursor for pagination
sort_byURL query parametersquerystringNoSort field

enum: "realized_pnl", "total_pnl", "volume", "roi", "profit_factor", "win_rate", "trades"

styleURL query parametersquerystring | nullNoComma-separated styles to include (OR logic)
windowURL query parametersquerystringNoTime window for metrics

enum: "1d", "7d", "30d", "all_time"

Required markers inside a nested object or variant apply when that object or variant is used.

Sample response

Sample response · Documented HTTP 200 Published documentation example. Verify the actual response after an approved call.

Documentation example (source abbreviated)
{
  "entries": [
    {
      "entry_edge": -0.1767,
      "first_trade_at": 1759937958,
      "metrics": {
        "losses": 22,
        "positions_closed": 36,
        "profit_factor": 1.356352462114493,
        "realized_pnl": 113976.6107689999,
        "roi": 0.08029685867941634,
        "total_pnl": 142146.65895572648,
        "trades": 315,
        "volume": 1419440.4783329964,
        "win_rate": 0.3888888888888889,
        "wins": 14
      },
      "rank": 1,
      "trading_styles": {
        "is_active_trader": true,
        "is_buy_and_hold": false,
        "is_contrarian": false,
        "is_degen": false,
        "is_high_conviction": false,
        "is_market_maker": false,
        "is_value_hunter": false,
        "is_whale": true,
        "primary_style": "WHALE"
      },
      "user": "0x2c335066fe58fe9237c3d3dc7b275c2a034a0563"
    }
  ],
  "pagination": {
    "count": 1,
    "has_more": true,
    "limit": 1,
    "pagination_key": "eyJzdiI6MTQxOTQ0MC40NzgzMzI5OTY0LCJ1IjoiMHgyYzMzNTA2NmZlNThmZTkyMzdjM2QzZGM3YjI3NWMyYTAzNGEwNTYzIiwicm8iOjEsInNjb3BlIjp7IndpbmRvdyI6IjFkIiwic29ydF9ieSI6InZvbHVtZSIsIm9yZGVyIjoiZGVzYyIsInN0eWxlIjpudWxsLCJleGNsdWRlX3N0eWxlIjpudWxsLCJtaW5fcmVhbGl6ZWRfcG5sIjpudWxsLCJtYXhfcmVhbGl6ZWRfcG5sIjpudWxsLCJtaW5fdG90YWxfcG5sIjpudWxsLCJtYXhfdG90YWxfcG5sIjpudWxsLCJtaW5fdm9sdW1lIjpudWxsLCJtYXhfdm9sdW1lIjpudWxsLCJtaW5fdHJhZGVzIjpudWxsLCJtYXhfdHJhZGVzIjpudWxsLCJtaW5fcm9pIjpudWxsLCJtYXhfcm9pIjpudWxsLCJtaW5fcHJvZml0X2ZhY3RvciI6bnVsbCwibWF4X3Byb2ZpdF9mYWN0b3IiOm51bGwsIm1pbl93aW5fcmF0ZSI6bnVsbCwibWF4X3dpbl9yYXRlIjpudWxsLCJtaW5fYXZnX3RyYWRlX3VzZCI6bnVsbCwibWF4X2F2Z190cmFkZV91c2QiOm51bGwsIm1pbl93YWxsZXRfYWdlX2RheXMiOm51bGwsIm1heF93YWxsZXRfYWdlX2RheXMiOm51bGwsIm1pbl9hdmdfYnV5X3ByaWNlIjpudWxsLCJtYXhfYXZnX2J1eV9wcmljZSI6bnVsbCwibWluX2F2Z19zZWxsX3ByaWNlIjpudWxsLCJtYXhfYXZnX3NlbGxfcHJpY2UiOm51bGwsIm1pbl9lbnRyeV9lZGdlIjpudWxsLCJtYXhfZW50cnlfZWRnZSI6bnVsbH19"
  },
  "sort_by": "volume",
  "window": "1d"
}

Agent integration

Copy the resource contract without sharing an API key.

View API Markdown
API Markdown
# Prediction Markets and Derivatives — Get the global leaderboard of smart wallets

Retrieve the global leaderboard of smart wallets with the BlockRun API. The sample response includes rankings and volumes. Request fields include pagination key (pagination_key), result limit (limit). Use it in financial research or market monitoring. The GET request schema also lists exclude_style, max_avg_buy_price. Use the data in market research, dashboard views, or scheduled data collection for the relevant markets.
## Available implementations
blockrun · Prediction Markets and Derivatives — Get the global leaderboard of smart wallets: https://openany.si/markets/apis/capabilities/blockrun-prediction-markets-and-derivatives-get-the-global-leaderboard-of-smart-wallets?offering=00c787ba-e0af-4d28-8497-20293a276923 · $0.0075 / call

## Selected API contract
Documentation: https://openany.si/apis/00c787ba-e0af-4d28-8497-20293a276923
Method: GET
Endpoint: https://api.openany.si/v1/agent-apis/blockrun/v1/pm/polymarket/leaderboard
Price: $0.0075 / call
Provider: blockrun
Contract revision: 4
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.

Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.

## Prepared request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/blockrun/v1/pm/polymarket/leaderboard?limit=1&sort_by=volume&window=1d' \
  -X GET \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json'
```

## API contract
```json
{
  "resource_type": "api",
  "name": "Prediction Markets and Derivatives — Get the global leaderboard of smart wallets",
  "endpoint": "https://api.openany.si/v1/agent-apis/blockrun/v1/pm/polymarket/leaderboard",
  "method": "GET",
  "content_type": "none",
  "execution_mode": "sync",
  "authentication": {
    "type": "bearer",
    "environment_variable": "OPENANY_API_KEY"
  },
  "inputs": [
    {
      "description": "Comma-separated styles to exclude",
      "location": "query",
      "name": "exclude_style",
      "nullable": true,
      "required": false,
      "type": "string"
    },
    {
      "description": "Results per page",
      "location": "query",
      "maximum": "100",
      "minimum": "1",
      "name": "limit",
      "nullable": false,
      "required": false,
      "type": "integer"
    },
    {
      "description": "Maximum avg buy price (0-1)",
      "location": "query",
      "maximum": "1.0",
      "minimum": "0.0",
      "name": "max_avg_buy_price",
      "nullable": true,
      "required": false,
      "type": "number"
    },
    {
      "description": "Maximum avg sell price (0-1)",
      "location": "query",
      "maximum": "1.0",
      "minimum": "0.0",
      "name": "max_avg_sell_price",
      "nullable": true,
      "required": false,
      "type": "number"
    },
    {
      "description": "Maximum avg trade size in USD",
      "location": "query",
      "minimum": "0.0",
      "name": "max_avg_trade_usd",
      "nullable": true,
      "required": false,
      "type": "number"
    },
    {
      "description": "Maximum entry edge (avg_sell - avg_buy)",
      "location": "query",
      "maximum": "1.0",
      "minimum": "-1.0",
      "name": "max_entry_edge",
      "nullable": true,
      "required": false,
      "type": "number"
    },
    {
      "description": "Maximum profit factor",
      "location": "query",
      "minimum": "0.0",
      "name": "max_profit_factor",
      "nullable": true,
      "required": false,
      "type": "number"
    },
    {
      "description": "Maximum realized PnL in USD",
      "location": "query",
      "name": "max_realized_pnl",
      "nullable": true,
      "required": false,
      "type": "number"
    },
    {
      "description": "Maximum ROI (decimal)",
      "location": "query",
      "name": "max_roi",
      "nullable": true,
      "required": false,
      "type": "number"
    },
    {
      "description": "Maximum total PnL in USD (realized + unrealized - net fees)",
      "location": "query",
      "name": "max_total_pnl",
      "nullable": true,
      "required": false,
      "type": "number"
    },
    {
      "description": "Maximum trade count",
      "location": "query",
      "minimum": "1",
      "name": "max_trades",
      "nullable": true,
      "required": false,
      "type": "integer"
    },
    {
      "description": "Maximum volume in USD",
      "location": "query",
      "minimum": "0.0",
      "name": "max_volume",
      "nullable": true,
      "required": false,
      "type": "number"
    },
    {
      "description": "Maximum wallet age in days",
      "location": "query",
      "minimum": "0",
      "name": "max_wallet_age_days",
      "nullable": true,
      "required": false,
      "type": "integer"
    },
    {
      "description": "Maximum win rate (decimal)",
      "location": "query",
      "maximum": "1.0",
      "minimum": "0.0",
      "name": "max_win_rate",
      "nullable": true,
      "required": false,
      "type": "number"
    },
    {
      "description": "Minimum avg buy price (0-1)",
      "location": "query",
      "maximum": "1.0",
      "minimum": "0.0",
      "name": "min_avg_buy_price",
      "nullable": true,
      "required": false,
      "type": "number"
    },
    {
      "description": "Minimum avg sell price (0-1)",
      "location": "query",
      "maximum": "1.0",
      "minimum": "0.0",
      "name": "min_avg_sell_price",
      "nullable": true,
      "required": false,
      "type": "number"
    },
    {
      "description": "Minimum avg trade size in USD",
      "location": "query",
      "minimum": "0.0",
      "name": "min_avg_trade_usd",
      "nullable": true,
      "required": false,
      "type": "number"
    },
    {
      "description": "Minimum entry edge (avg_sell - avg_buy)",
      "location": "query",
      "maximum": "1.0",
      "minimum": "-1.0",
      "name": "min_entry_edge",
      "nullable": true,
      "required": false,
      "type": "number"
    },
    {
      "description": "Minimum profit factor",
      "location": "query",
      "minimum": "0.0",
      "name": "min_profit_factor",
      "nullable": true,
      "required": false,
      "type": "number"
    },
    {
      "description": "Minimum realized PnL in USD",
      "location": "query",
      "name": "min_realized_pnl",
      "nullable": true,
      "required": false,
      "type": "number"
    },
    {
      "description": "Minimum ROI (decimal)",
      "location": "query",
      "name": "min_roi",
      "nullable": true,
      "required": false,
      "type": "number"
    },
    {
      "description": "Minimum total PnL in USD (realized + unrealized - net fees)",
      "location": "query",
      "name": "min_total_pnl",
      "nullable": true,
      "required": false,
      "type": "number"
    },
    {
      "description": "Minimum trade count",
      "location": "query",
      "minimum": "1",
      "name": "min_trades",
      "nullable": true,
      "required": false,
      "type": "integer"
    },
    {
      "description": "Minimum volume in USD",
      "location": "query",
      "minimum": "0.0",
      "name": "min_volume",
      "nullable": true,
      "required": false,
      "type": "number"
    },
    {
      "description": "Minimum wallet age in days",
      "location": "query",
      "minimum": "0",
      "name": "min_wallet_age_days",
      "nullable": true,
      "required": false,
      "type": "integer"
    },
    {
      "description": "Minimum win rate (decimal)",
      "location": "query",
      "maximum": "1.0",
      "minimum": "0.0",
      "name": "min_win_rate",
      "nullable": true,
      "required": false,
      "type": "number"
    },
    {
      "description": "Sort order",
      "enum_values": [
        "asc",
        "desc"
      ],
      "location": "query",
      "name": "order",
      "nullable": false,
      "required": false,
      "type": "string"
    },
    {
      "description": "Cursor for pagination",
      "location": "query",
      "name": "pagination_key",
      "nullable": true,
      "required": false,
      "type": "string"
    },
    {
      "description": "Sort field",
      "enum_values": [
        "realized_pnl",
        "total_pnl",
        "volume",
        "roi",
        "profit_factor",
        "win_rate",
        "trades"
      ],
      "location": "query",
      "name": "sort_by",
      "nullable": false,
      "required": false,
      "type": "string"
    },
    {
      "description": "Comma-separated styles to include (OR logic)",
      "location": "query",
      "name": "style",
      "nullable": true,
      "required": false,
      "type": "string"
    },
    {
      "description": "Time window for metrics",
      "enum_values": [
        "1d",
        "7d",
        "30d",
        "all_time"
      ],
      "location": "query",
      "name": "window",
      "nullable": false,
      "required": false,
      "type": "string"
    }
  ],
  "billing": {
    "currency": "USD",
    "mode": "fixed",
    "priceMicroUsd": "7500",
    "rounding": null,
    "unit": "call",
    "unitQuantity": null
  },
  "examples": [
    {
      "http_status": 200,
      "name": "Documentation example (source abbreviated)",
      "request": {
        "body": null,
        "headers": {},
        "path": {},
        "query": {
          "limit": 1,
          "sort_by": "volume",
          "window": "1d"
        }
      },
      "response_body": {
        "entries": [
          {
            "entry_edge": -0.1767,
            "first_trade_at": 1759937958,
            "metrics": {
              "losses": 22,
              "positions_closed": 36,
              "profit_factor": 1.356352462114493,
              "realized_pnl": 113976.6107689999,
              "roi": 0.08029685867941634,
              "total_pnl": 142146.65895572648,
              "trades": 315,
              "volume": 1419440.4783329964,
              "win_rate": 0.3888888888888889,
              "wins": 14
            },
            "rank": 1,
            "trading_styles": {
              "is_active_trader": true,
              "is_buy_and_hold": false,
              "is_contrarian": false,
              "is_degen": false,
              "is_high_conviction": false,
              "is_market_maker": false,
              "is_value_hunter": false,
              "is_whale": true,
              "primary_style": "WHALE"
            },
            "user": "0x2c335066fe58fe9237c3d3dc7b275c2a034a0563"
          }
        ],
        "pagination": {
          "count": 1,
          "has_more": true,
          "limit": 1,
          "pagination_key": "eyJzdiI6MTQxOTQ0MC40NzgzMzI5OTY0LCJ1IjoiMHgyYzMzNTA2NmZlNThmZTkyMzdjM2QzZGM3YjI3NWMyYTAzNGEwNTYzIiwicm8iOjEsInNjb3BlIjp7IndpbmRvdyI6IjFkIiwic29ydF9ieSI6InZvbHVtZSIsIm9yZGVyIjoiZGVzYyIsInN0eWxlIjpudWxsLCJleGNsdWRlX3N0eWxlIjpudWxsLCJtaW5fcmVhbGl6ZWRfcG5sIjpudWxsLCJtYXhfcmVhbGl6ZWRfcG5sIjpudWxsLCJtaW5fdG90YWxfcG5sIjpudWxsLCJtYXhfdG90YWxfcG5sIjpudWxsLCJtaW5fdm9sdW1lIjpudWxsLCJtYXhfdm9sdW1lIjpudWxsLCJtaW5fdHJhZGVzIjpudWxsLCJtYXhfdHJhZGVzIjpudWxsLCJtaW5fcm9pIjpudWxsLCJtYXhfcm9pIjpudWxsLCJtaW5fcHJvZml0X2ZhY3RvciI6bnVsbCwibWF4X3Byb2ZpdF9mYWN0b3IiOm51bGwsIm1pbl93aW5fcmF0ZSI6bnVsbCwibWF4X3dpbl9yYXRlIjpudWxsLCJtaW5fYXZnX3RyYWRlX3VzZCI6bnVsbCwibWF4X2F2Z190cmFkZV91c2QiOm51bGwsIm1pbl93YWxsZXRfYWdlX2RheXMiOm51bGwsIm1heF93YWxsZXRfYWdlX2RheXMiOm51bGwsIm1pbl9hdmdfYnV5X3ByaWNlIjpudWxsLCJtYXhfYXZnX2J1eV9wcmljZSI6bnVsbCwibWluX2F2Z19zZWxsX3ByaWNlIjpudWxsLCJtYXhfYXZnX3NlbGxfcHJpY2UiOm51bGwsIm1pbl9lbnRyeV9lZGdlIjpudWxsLCJtYXhfZW50cnlfZWRnZSI6bnVsbH19"
        },
        "sort_by": "volume",
        "window": "1d"
      }
    }
  ]
}
```

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Documentation example (source abbreviated)

Published documentation example. Verify the actual response after an approved call.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 31

    Review these request fields before running. Keep the published provider and request method unchanged.

    exclude_style
    Comma-separated styles to exclude
    limit
    Results per page
    max_avg_buy_price
    Maximum avg buy price (0-1)
    max_avg_sell_price
    Maximum avg sell price (0-1)
    max_avg_trade_usd
    Maximum avg trade size in USD
    max_entry_edge
    Maximum entry edge (avg_sell - avg_buy)
    max_profit_factor
    Maximum profit factor
    max_realized_pnl
    Maximum realized PnL in USD
    max_roi
    Maximum ROI (decimal)
    max_total_pnl
    Maximum total PnL in USD (realized + unrealized - net fees)
    max_trades
    Maximum trade count
    max_volume
    Maximum volume in USD
    max_wallet_age_days
    Maximum wallet age in days
    max_win_rate
    Maximum win rate (decimal)
    min_avg_buy_price
    Minimum avg buy price (0-1)
    min_avg_sell_price
    Minimum avg sell price (0-1)
    min_avg_trade_usd
    Minimum avg trade size in USD
    min_entry_edge
    Minimum entry edge (avg_sell - avg_buy)
    min_profit_factor
    Minimum profit factor
    min_realized_pnl
    Minimum realized PnL in USD
    min_roi
    Minimum ROI (decimal)
    min_total_pnl
    Minimum total PnL in USD (realized + unrealized - net fees)
    min_trades
    Minimum trade count
    min_volume
    Minimum volume in USD
    min_wallet_age_days
    Minimum wallet age in days
    min_win_rate
    Minimum win rate (decimal)
    order
    Sort order
    pagination_key
    Cursor for pagination
    sort_by
    Sort field
    style
    Comma-separated styles to include (OR logic)
    window
    Time window for metrics
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/blockrun/v1/pm/polymarket/leaderboard?limit=1&sort_by=volume&window=1d' \
      -X GET \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json'
  3. Check the response

    Sample response · Documented HTTP 200

    Sample response
    {
      "entries": [
        {
          "entry_edge": -0.1767,
          "first_trade_at": 1759937958,
          "metrics": {
            "losses": 22,
            "positions_closed": 36,
            "profit_factor": 1.356352462114493,
            "realized_pnl": 113976.6107689999,
            "roi": 0.08029685867941634,
            "total_pnl": 142146.65895572648,
            "trades": 315,
            "volume": 1419440.4783329964,
            "win_rate": 0.3888888888888889,
            "wins": 14
          },
          "rank": 1,
          "trading_styles": {
            "is_active_trader": true,
            "is_buy_and_hold": false,
            "is_contrarian": false,
            "is_degen": false,
            "is_high_conviction": false,
            "is_market_maker": false,
            "is_value_hunter": false,
            "is_whale": true,
            "primary_style": "WHALE"
          },
          "user": "0x2c335066fe58fe9237c3d3dc7b275c2a034a0563"
        }
      ],
      "pagination": {
        "count": 1,
        "has_more": true,
        "limit": 1,
        "pagination_key": "eyJzdiI6MTQxOTQ0MC40NzgzMzI5OTY0LCJ1IjoiMHgyYzMzNTA2NmZlNThmZTkyMzdjM2QzZGM3YjI3NWMyYTAzNGEwNTYzIiwicm8iOjEsInNjb3BlIjp7IndpbmRvdyI6IjFkIiwic29ydF9ieSI6InZvbHVtZSIsIm9yZGVyIjoiZGVzYyIsInN0eWxlIjpudWxsLCJleGNsdWRlX3N0eWxlIjpudWxsLCJtaW5fcmVhbGl6ZWRfcG5sIjpudWxsLCJtYXhfcmVhbGl6ZWRfcG5sIjpudWxsLCJtaW5fdG90YWxfcG5sIjpudWxsLCJtYXhfdG90YWxfcG5sIjpudWxsLCJtaW5fdm9sdW1lIjpudWxsLCJtYXhfdm9sdW1lIjpudWxsLCJtaW5fdHJhZGVzIjpudWxsLCJtYXhfdHJhZGVzIjpudWxsLCJtaW5fcm9pIjpudWxsLCJtYXhfcm9pIjpudWxsLCJtaW5fcHJvZml0X2ZhY3RvciI6bnVsbCwibWF4X3Byb2ZpdF9mYWN0b3IiOm51bGwsIm1pbl93aW5fcmF0ZSI6bnVsbCwibWF4X3dpbl9yYXRlIjpudWxsLCJtaW5fYXZnX3RyYWRlX3VzZCI6bnVsbCwibWF4X2F2Z190cmFkZV91c2QiOm51bGwsIm1pbl93YWxsZXRfYWdlX2RheXMiOm51bGwsIm1heF93YWxsZXRfYWdlX2RheXMiOm51bGwsIm1pbl9hdmdfYnV5X3ByaWNlIjpudWxsLCJtYXhfYXZnX2J1eV9wcmljZSI6bnVsbCwibWluX2F2Z19zZWxsX3ByaWNlIjpudWxsLCJtYXhfYXZnX3NlbGxfcHJpY2UiOm51bGwsIm1pbl9lbnRyeV9lZGdlIjpudWxsLCJtYXhfZW50cnlfZWRnZSI6bnVsbH19"
      },
      "sort_by": "volume",
      "window": "1d"
    }

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use Prediction Markets and Derivatives — Get the global leaderboard of smart wallets with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.