TraderSpy Smart money API

The Smart money API from TraderSpy — 7 operation(s) for smart money.

GitHub OpenAPI

Operations 7

GET /v1/smart-money/traders Top traders #
GET /v1/smart-money/traders/elite Elite leaderboard #
GET /v1/smart-money/traders/{source}/{traderId} Trader profile #
GET /v1/smart-money/traders/{source}/{traderId}/history Trader history #
GET /v1/smart-money/positions Smart-money positions #
GET /v1/smart-money/stats Smart-money statistics #
GET /v1/smart-money/exchanges Tracked exchanges #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/traderspy-app:traderspy-app-smart-money-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

traderspy-app-smart-money-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: TraderSpy Signals Smart money API
  version: 1.0.0
  description: 'Read-only crypto futures market data: AI signals, smart-money positioning, prices, candles, derivatives, technical indicators, a screener and condition backtests; and, for a key you allow to, your own strategies and the alerts they sent. Nothing else from your account, and no trading. Every request counts as one call against the plan of the key’s account. A key can be restricted to IP addresses (for servers) or to websites (for web pages), and capped per day.'
  x-docs: https://traderspy.app/api
servers:
- url: https://api.traderspy.app
security:
- bearerKey: []
- headerKey: []
tags:
- name: Smart money
paths:
  /v1/smart-money/traders:
    get:
      operationId: tradersList
      summary: Top traders
      description: Ranked smart-money traders across exchanges, with ROI, PnL and SmartScore. Same data as the MCP tool `get_top_traders`.
      tags:
      - Smart money
      parameters:
      - name: source
        in: query
        required: false
        description: Exchange to read, or `all`.
        schema:
          type: string
          enum:
          - all
          - binance
          - hyperliquid
          - bybit
          - okx
          default: all
      - name: timeRange
        in: query
        required: false
        description: Performance window of the ranking.
        schema:
          type: string
          enum:
          - 24h
          - 3D
          - 7D
          - 30D
          default: 30D
      - name: rankingType
        in: query
        required: false
        description: Which leaderboard snapshot to read.
        schema:
          type: string
          enum:
          - ROI
          - PNL
          default: ROI
      - name: sortBy
        in: query
        required: false
        description: Sort metric (defaults to the ranking type).
        schema:
          type: string
          enum:
          - ROI
          - PNL
          - SCORE
      - name: order
        in: query
        required: false
        description: Sort direction.
        schema:
          type: string
          enum:
          - DESC
          - ASC
          default: DESC
      - name: limit
        in: query
        required: false
        description: Traders to return.
        schema:
          type: integer
          minimum: 1
          maximum: 200
          default: 20
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
        '400':
          description: '`invalid_request`: A parameter is missing, unknown or out of range. `details` names it.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: '`missing_api_key`: No API key was sent. Send it as `Authorization: Bearer tspy_…` or `X-API-Key`. `invalid_api_key`: The key does not exist, was revoked, or its account is closed.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: '`plan_not_included`: The account’s plan does not include API access. `ip_not_allowed`: The key only works from the IP addresses set on it; this request came from another one. `origin_not_allowed`: The key only works from the websites set on it; this request named another website, or none.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: '`not_found`: No such endpoint, or the record (signal, trader) does not exist. `no_data`: TraderSpy has no data for that symbol or timeframe.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: '`rate_limited`: More than the per-minute limit. Wait `Retry-After` seconds. `daily_limit_reached`: The plan’s calls for this UTC day are used. Resets at 00:00 UTC. `key_daily_limit_reached`: The key’s own daily cap is used (the account may have calls left). Resets at 00:00 UTC.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: '`internal_error`: Something failed on our side. Quote the `requestId` to support.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: '`service_unavailable`: A data source did not answer in time. Retry after `Retry-After` seconds; the call was not counted.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/smart-money/traders/elite:
    get:
      operationId: tradersElite
      summary: Elite leaderboard
      description: The cross-exchange elite leaderboard by SmartScore, recalculated daily. Same data as the MCP tool `get_elite_leaderboard`.
      tags:
      - Smart money
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
        '400':
          description: '`invalid_request`: A parameter is missing, unknown or out of range. `details` names it.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: '`missing_api_key`: No API key was sent. Send it as `Authorization: Bearer tspy_…` or `X-API-Key`. `invalid_api_key`: The key does not exist, was revoked, or its account is closed.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: '`plan_not_included`: The account’s plan does not include API access. `ip_not_allowed`: The key only works from the IP addresses set on it; this request came from another one. `origin_not_allowed`: The key only works from the websites set on it; this request named another website, or none.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: '`not_found`: No such endpoint, or the record (signal, trader) does not exist. `no_data`: TraderSpy has no data for that symbol or timeframe.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: '`rate_limited`: More than the per-minute limit. Wait `Retry-After` seconds. `daily_limit_reached`: The plan’s calls for this UTC day are used. Resets at 00:00 UTC. `key_daily_limit_reached`: The key’s own daily cap is used (the account may have calls left). Resets at 00:00 UTC.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: '`internal_error`: Something failed on our side. Quote the `requestId` to support.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: '`service_unavailable`: A data source did not answer in time. Retry after `Retry-After` seconds; the call was not counted.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/smart-money/traders/{source}/{traderId}:
    get:
      operationId: tradersGet
      summary: Trader profile
      description: One trader’s metrics and latest positions. Same data as the MCP tool `get_trader_profile`.
      tags:
      - Smart money
      parameters:
      - name: source
        in: path
        required: true
        description: Exchange the trader is on.
        schema:
          type: string
          enum:
          - binance
          - hyperliquid
          - bybit
          - okx
      - name: traderId
        in: path
        required: true
        description: The trader id (from the top traders list).
        schema:
          type: string
      - name: timeRange
        in: query
        required: false
        description: Performance window of the ranking.
        schema:
          type: string
          enum:
          - 24h
          - 3D
          - 7D
          - 30D
          default: 30D
      - name: rankingType
        in: query
        required: false
        description: Which leaderboard snapshot to read.
        schema:
          type: string
          enum:
          - ROI
          - PNL
          default: ROI
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
        '400':
          description: '`invalid_request`: A parameter is missing, unknown or out of range. `details` names it.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: '`missing_api_key`: No API key was sent. Send it as `Authorization: Bearer tspy_…` or `X-API-Key`. `invalid_api_key`: The key does not exist, was revoked, or its account is closed.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: '`plan_not_included`: The account’s plan does not include API access. `ip_not_allowed`: The key only works from the IP addresses set on it; this request came from another one. `origin_not_allowed`: The key only works from the websites set on it; this request named another website, or none.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: '`not_found`: No such endpoint, or the record (signal, trader) does not exist. `no_data`: TraderSpy has no data for that symbol or timeframe.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: '`rate_limited`: More than the per-minute limit. Wait `Retry-After` seconds. `daily_limit_reached`: The plan’s calls for this UTC day are used. Resets at 00:00 UTC. `key_daily_limit_reached`: The key’s own daily cap is used (the account may have calls left). Resets at 00:00 UTC.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: '`internal_error`: Something failed on our side. Quote the `requestId` to support.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: '`service_unavailable`: A data source did not answer in time. Retry after `Retry-After` seconds; the call was not counted.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/smart-money/traders/{source}/{traderId}/history:
    get:
      operationId: tradersHistory
      summary: Trader history
      description: A trader’s closed positions, newest first. Same data as the MCP tool `get_trader_position_history`.
      tags:
      - Smart money
      parameters:
      - name: source
        in: path
        required: true
        description: Exchange the trader is on.
        schema:
          type: string
          enum:
          - binance
          - hyperliquid
          - bybit
          - okx
      - name: traderId
        in: path
        required: true
        description: The trader id.
        schema:
          type: string
      - name: page
        in: query
        required: false
        description: Page number.
        schema:
          type: integer
          minimum: 1
          maximum: 500
          default: 1
      - name: limit
        in: query
        required: false
        description: Positions per page.
        schema:
          type: integer
          minimum: 1
          maximum: 50
          default: 20
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
        '400':
          description: '`invalid_request`: A parameter is missing, unknown or out of range. `details` names it.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: '`missing_api_key`: No API key was sent. Send it as `Authorization: Bearer tspy_…` or `X-API-Key`. `invalid_api_key`: The key does not exist, was revoked, or its account is closed.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: '`plan_not_included`: The account’s plan does not include API access. `ip_not_allowed`: The key only works from the IP addresses set on it; this request came from another one. `origin_not_allowed`: The key only works from the websites set on it; this request named another website, or none.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: '`not_found`: No such endpoint, or the record (signal, trader) does not exist. `no_data`: TraderSpy has no data for that symbol or timeframe.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: '`rate_limited`: More than the per-minute limit. Wait `Retry-After` seconds. `daily_limit_reached`: The plan’s calls for this UTC day are used. Resets at 00:00 UTC. `key_daily_limit_reached`: The key’s own daily cap is used (the account may have calls left). Resets at 00:00 UTC.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: '`internal_error`: Something failed on our side. Quote the `requestId` to support.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: '`service_unavailable`: A data source did not answer in time. Retry after `Retry-After` seconds; the call was not counted.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/smart-money/positions:
    get:
      operationId: positionsList
      summary: Smart-money positions
      description: Open and closed positions of the tracked traders, filterable by exchange and symbol. Same data as the MCP tool `get_positions`.
      tags:
      - Smart money
      parameters:
      - name: status
        in: query
        required: false
        description: Position status.
        schema:
          type: string
          enum:
          - all
          - open
          - closed
          default: all
      - name: source
        in: query
        required: false
        description: Exchange to read, or `all`.
        schema:
          type: string
          enum:
          - all
          - binance
          - hyperliquid
          - bybit
          - okx
          default: all
      - name: symbol
        in: query
        required: false
        description: Only this coin (`BTC`, `ETHUSDT`).
        schema:
          type: string
      - name: limit
        in: query
        required: false
        description: Positions per page.
        schema:
          type: integer
          minimum: 1
          maximum: 50
          default: 20
      - name: offset
        in: query
        required: false
        description: Positions to skip.
        schema:
          type: integer
          minimum: 0
          maximum: 10000
          default: 0
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
        '400':
          description: '`invalid_request`: A parameter is missing, unknown or out of range. `details` names it.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: '`missing_api_key`: No API key was sent. Send it as `Authorization: Bearer tspy_…` or `X-API-Key`. `invalid_api_key`: The key does not exist, was revoked, or its account is closed.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: '`plan_not_included`: The account’s plan does not include API access. `ip_not_allowed`: The key only works from the IP addresses set on it; this request came from another one. `origin_not_allowed`: The key only works from the websites set on it; this request named another website, or none.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: '`not_found`: No such endpoint, or the record (signal, trader) does not exist. `no_data`: TraderSpy has no data for that symbol or timeframe.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: '`rate_limited`: More than the per-minute limit. Wait `Retry-After` seconds. `daily_limit_reached`: The plan’s calls for this UTC day are used. Resets at 00:00 UTC. `key_daily_limit_reached`: The key’s own daily cap is used (the account may have calls left). Resets at 00:00 UTC.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: '`internal_error`: Something failed on our side. Quote the `requestId` to support.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: '`service_unavailable`: A data source did not answer in time. Retry after `Retry-After` seconds; the call was not counted.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/smart-money/stats:
    get:
      operationId: smartMoneyStats
      summary: Smart-money statistics
      description: Aggregate open positions, long/short split, PnL and win rate of closed positions. Same data as the MCP tool `get_market_stats`.
      tags:
      - Smart money
      parameters:
      - name: source
        in: query
        required: false
        description: Exchange to read, or `all`.
        schema:
          type: string
          enum:
          - all
          - binance
          - hyperliquid
          - bybit
          - okx
          default: all
      - name: period
        in: query
        required: false
        description: Window for the closed-position statistics.
        schema:
          type: string
          enum:
          - 4h
          - 8h
          - 24h
          - 7d
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
        '400':
          description: '`invalid_request`: A parameter is missing, unknown or out of range. `details` names it.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: '`missing_api_key`: No API key was sent. Send it as `Authorization: Bearer tspy_…` or `X-API-Key`. `invalid_api_key`: The key does not exist, was revoked, or its account is closed.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: '`plan_not_included`: The account’s plan does not include API access. `ip_not_allowed`: The key only works from the IP addresses set on it; this request came from another one. `origin_not_allowed`: The key only works from the websites set on it; this request named another website, or none.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: '`not_found`: No such endpoint, or the record (signal, trader) does not exist. `no_data`: TraderSpy has no data for that symbol or timeframe.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: '`rate_limited`: More than the per-minute limit. Wait `Retry-After` seconds. `daily_limit_reached`: The plan’s calls for this UTC day are used. Resets at 00:00 UTC. `key_daily_limit_reached`: The key’s own daily cap is used (the account may have calls left). Resets at 00:00 UTC.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: '`internal_error`: Something failed on our side. Quote the `requestId` to support.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: '`service_unavailable`: A data source did not answer in time. Retry after `Retry-After` seconds; the call was not counted.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
  /v1/smart-money/exchanges:
    get:
      operationId: smartMoneyExchanges
      summary: Tracked exchanges
      description: The exchanges smart-money tracking covers. Same data as the MCP tool `get_exchanges`.
      tags:
      - Smart money
      parameters: []
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
        '400':
          description: '`invalid_request`: A parameter is missing, unknown or out of range. `details` names it.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: '`missing_api_key`: No API key was sent. Send it as `Authorization: Bearer tspy_…` or `X-API-Key`. `invalid_api_key`: The key does not exist, was revoked, or its account is closed.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: '`plan_not_included`: The account’s plan does not include API access. `ip_not_allowed`: The key only works from the IP addresses set on it; this request came from another one. `origin_not_allowed`: The key only works from the websites set on it; this request named another website, or none.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: '`not_found`: No such endpoint, or the record (signal, trader) does not exist. `no_data`: TraderSpy has no data for that symbol or timeframe.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: '`rate_limited`: More than the per-minute limit. Wait `Retry-After` seconds. `daily_limit_reached`: The plan’s calls for this UTC day are used. Resets at 00:00 UTC. `key_daily_limit_reached`: The key’s own daily cap is used (the account may have calls left). Resets at 00:00 UTC.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: '`internal_error`: Something failed on our side. Quote the `requestId` to support.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '503':
          description: '`service_unavailable`: A data source did not answer in time. Retry after `Retry-After` seconds; the call was not counted.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    Error:
      type: object
      required:
      - error
      properties:
        error:
          type: object
          required:
          - code
          - message
          - requestId
          properties:
            code:
              type: string
              enum:
              - invalid_request
              - missing_api_key
              - invalid_api_key
              - plan_not_included
              - ip_not_allowed
              - origin_not_allowed
              - strategies_not_allowed
              - not_found
              - no_data
              - rate_limited
              - daily_limit_reached
              - key_daily_limit_reached
              - body_too_large
              - internal_error
              - service_unavailable
            message:
              type: string
            requestId:
              type: string
            details:
              type: array
              items:
                type: object
                properties:
                  param:
                    type: string
                  message:
                    type: string
  securitySchemes:
    bearerKey:
      type: http
      scheme: bearer
      description: '`Authorization: Bearer tspy_…`. Never in the URL.'
    headerKey:
      type: apiKey
      in: header
      name: X-API-Key
      description: The same key in its own header.