Swiss Whale Intelligence BTC API

Bitcoin whale transactions, address metrics, bulk CSV export.

GitHub OpenAPI

Operations 5

GET /address/{addr} Address metrics (whale-tracked only) #
GET /address/{addr}/lookup Public any-address lookup (Research-tier) #
GET /whale/{txid} Single transaction detail #
GET /whales/export.csv Streaming CSV export (bulk data) #
GET /whales/recent Recent whale transactions (paginated) #

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/swisswhaleintelligence-com:swisswhaleintelligence-com-btc-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

swisswhaleintelligence-com-btc-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: hello@swisswhaleintelligence.com
    url: https://swisswhaleintelligence.com
  description: 'Multi-asset on-chain whale intelligence: Bitcoin, Ethereum, Solana, USDT (ETH + Tron), and tokenized gold (XAUT + PAXG). Endpoints expose whale transactions, address metrics, entity clusters, treasury events, and confidence-weighted sentiment. Routes are grouped by chain: default = BTC, /eth/* = ETH, /sol/* = SOL, /usdt/* = USDT. All endpoints (except /ping) require Bearer token. Rate limits: Trial 10k req/month, Research 100k req/month + 60 req/min. Successful and 4xx-after-key-lookup responses include X-RateLimit-Limit-Monthly, X-RateLimit-Limit-Per-Min, X-API-Tier headers.'
  license:
    name: Commercial
    url: https://swisswhaleintelligence.com/terms/
  termsOfService: https://swisswhaleintelligence.com/terms/
  title: Swiss Whale Intelligence BTC API
  version: 1.0.0
servers:
- description: Production
  url: https://swisswhaleintelligence.com/v1
security:
- BearerAuth: []
tags:
- description: Bitcoin whale transactions, address metrics, bulk CSV export.
  name: BTC
paths:
  /address/{addr}:
    get:
      operationId: whaleAddress
      parameters:
      - example: bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh
        in: path
        name: addr
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddressMetrics'
          description: Aggregated address metrics
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Address not in whale-metrics cache — try /address/{addr}/lookup for any-address resolution
      summary: Address metrics (whale-tracked only)
      tags:
      - BTC
  /address/{addr}/lookup:
    get:
      description: 'Resolves ANY valid Bitcoin address by proxying mempool.space (cached 5 min, rate-limited 5 QPS globally). Differentiation vs /address/{addr}: this works for addresses NOT in the whale-tracked set — useful for ad-hoc forensics, academic research, journalist source-checks. Returns balance_btc, tx_count, mempool stats. Optionally include UTXOs + recent TXs.'
      operationId: whaleAddressLookup
      parameters:
      - in: path
        name: addr
        required: true
        schema:
          type: string
      - description: Include up to 50 unspent UTXOs
        in: query
        name: utxos
        schema:
          default: false
          type: boolean
      - description: Include recent confirmed/mempool TXs
        in: query
        name: txs
        schema:
          default: false
          type: boolean
      - description: Max recent TXs when txs=1
        in: query
        name: tx_limit
        schema:
          default: 25
          maximum: 50
          type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AddressLookupResponse'
          description: Address summary + optional UTXOs/TXs
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
          description: Address has no on-chain history per mempool.space
        '429':
          $ref: '#/components/responses/RateLimited'
        '502':
          $ref: '#/components/responses/BadGateway'
      summary: Public any-address lookup (Research-tier)
      tags:
      - BTC
  /whale/{txid}:
    get:
      operationId: whaleTx
      parameters:
      - example: f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16
        in: path
        name: txid
        required: true
        schema:
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WhaleTx'
          description: Transaction metadata
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
      summary: Single transaction detail
      tags:
      - BTC
  /whales/export.csv:
    get:
      description: Analyst-grade bulk export. Max 100k rows/request. Counts as 1 API call.
      operationId: whaleExportCsv
      parameters:
      - in: query
        name: days
        schema:
          default: 30
          maximum: 365
          type: integer
      - in: query
        name: min_btc
        schema:
          default: 100
          type: number
      - description: Filter by flow classification. self_send = internal change-output sweeps.
        in: query
        name: flow
        schema:
          enum:
          - to_exchange
          - from_exchange
          - wallet_to_wallet
          - exchange_to_exchange
          - self_send
          type: string
      - in: query
        name: limit
        schema:
          default: 100000
          maximum: 100000
          type: integer
      responses:
        '200':
          content:
            text/csv:
              example: txid,btc_amount,usd_at_tx,block_height,ts,flow_type,...\nf4184fc...,1247.83,87412345.50,902456,2026-04-30T08:14:22+00:00,to_exchange,...
              schema:
                type: string
          description: text/csv stream (16 columns, UTF-8)
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
      summary: Streaming CSV export (bulk data)
      tags:
      - BTC
  /whales/recent:
    get:
      operationId: whaleRecent
      parameters:
      - in: query
        name: limit
        schema:
          default: 50
          maximum: 500
          type: integer
      - in: query
        name: min_btc
        schema:
          default: 100
          type: number
      - description: Filter by flow classification. self_send = internal change-output sweeps (Hot-Cold consolidations, not real cross-address flows).
        in: query
        name: flow
        schema:
          enum:
          - to_exchange
          - from_exchange
          - wallet_to_wallet
          - exchange_to_exchange
          - self_send
          type: string
      - description: Opaque cursor from previous page's next_cursor field (historical pagination).
        in: query
        name: before
        schema:
          type: string
      - description: Legacy frontier streaming cursor — only works for rows since 2026-04 with populated id column.
        in: query
        name: since_id
        schema:
          type: integer
      - in: query
        name: lang
        schema:
          default: en
          enum:
          - en
          - de
          - es
          type: string
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WhaleListResponse'
          description: Array of whale objects with intent classification
        '401':
          $ref: '#/components/responses/Unauthorized'
        '429':
          $ref: '#/components/responses/RateLimited'
      summary: Recent whale transactions (paginated)
      tags:
      - BTC
components:
  schemas:
    ErrorResponse:
      properties:
        error:
          properties:
            code:
              example: missing_auth
              type: string
            message:
              example: Authorization header missing or malformed
              type: string
          required:
          - code
          - message
          type: object
      required:
      - error
      type: object
    WhaleListResponse:
      properties:
        count:
          example: 50
          type: integer
        data:
          items:
            $ref: '#/components/schemas/WhaleTx'
          type: array
        next_cursor:
          example: eyJ0cyI6IjIwMjYtMDQtMzBUMDg6MTQ6MjJaIn0=
          type:
          - string
          - 'null'
      type: object
    AddressLookupResponse:
      properties:
        _source:
          enum:
          - electrs
          - mempool.space
          - cache
          example: mempool.space
          type: string
        address:
          type: string
        balance_btc:
          example: 0.0432
          type: number
        tx_count:
          example: 17
          type: integer
        txs:
          items:
            type: object
          type:
          - array
          - 'null'
        utxos:
          items:
            type: object
          type:
          - array
          - 'null'
      type: object
    AddressMetrics:
      properties:
        address:
          example: bc1qxy2kgdygjrsqtzq2n0yrf2493p83kkfjhx0wlh
          type: string
        balance_btc:
          example: 4128.5
          type: number
        cluster_id:
          example: 184273
          type:
          - integer
          - 'null'
        entity_label:
          example: Binance Cold Storage
          type:
          - string
          - 'null'
        first_seen:
          example: '2018-03-12T14:22:00+00:00'
          format: date-time
          type: string
        last_seen:
          example: '2026-04-30T07:11:00+00:00'
          format: date-time
          type: string
        tx_count:
          example: 1247
          type: integer
        volume_index_calibrated:
          example: 0.84
          maximum: 1
          minimum: 0
          type: number
      type: object
    WhaleTx:
      properties:
        block_height:
          example: 902456
          type: integer
        btc_amount:
          example: 1247.83
          type: number
        fee_sat_per_vb:
          example: 12.4
          type: number
        flow_type:
          enum:
          - to_exchange
          - from_exchange
          - wallet_to_wallet
          - exchange_to_exchange
          - self_send
          example: to_exchange
          type: string
        recipient_label:
          example: Binance Hot Wallet
          type:
          - string
          - 'null'
        sender_label:
          example: Coinbase Custody
          type:
          - string
          - 'null'
        ts:
          example: '2026-04-30T08:14:22+00:00'
          format: date-time
          type: string
        txid:
          example: f4184fc596403b9d638783cf57adfe4c75c605f6356fbc91338530e9831e9e16
          type: string
        usd_at_tx:
          example: 87412345.5
          type: number
        volume_index_calibrated:
          example: 0.78
          type: number
      type: object
  responses:
    NotFound:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: Resource not found. Hint field may suggest corrective action.
    BadGateway:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: Upstream service error.
    Unauthorized:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: Authentication required or failed. Includes X-RateLimit-* headers when key was identified.
    RateLimited:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
      description: Rate limit exceeded. Honour Retry-After header.
  securitySchemes:
    BearerAuth:
      bearerFormat: swi_live_<keyid>_<secret>
      description: Bearer token created on dashboard /api-access page. Optional HMAC signing via X-Signature + X-Timestamp headers (replay window 5 min).
      scheme: bearer
      type: http