> ## Documentation Index
> Fetch the complete documentation index at: https://docs.range.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Platform API

> Workspace management, counterparties, accounts, and operational tooling for building on top of Range.

## Manage Your Range Workspace Programmatically

The Range Platform API gives you full programmatic control over your workspace, manage counterparties with their crypto addresses and bank accounts, organize and monitor onchain accounts, configure integrations, and track transaction activity across your connected accounts.

<CardGroup cols={2}>
  <Card title="Counterparties" icon="users">
    Create and manage vendors, customers, investors, and partners, each with
    associated crypto addresses, bank accounts, and documents.
  </Card>

  {" "}

  <Card title="Accounts" icon="wallet">
    Search and update your onchain accounts across networks, grouped and
    organized for operational clarity.
  </Card>

  {" "}

  <Card title="Account Connections" icon="plug">
    Connect and manage integrations with custodians, exchanges, and multisig
    providers (Utila, Kraken, Squads, Coinbase, Realms, and more).
  </Card>

  <Card title="Transactions" icon="arrow-right-arrow-left">
    Query canonical transaction history across all connected accounts, transfers
    and trades in a unified format.
  </Card>
</CardGroup>

***

## What You Can Build

<AccordionGroup>
  <Accordion title="Vendor & Payment Management" icon="file-invoice-dollar">
    Automate your accounts payable and receivable workflows. Create counterparties for each vendor, attach their crypto addresses and bank details, and upload supporting documents, all via API so your internal tools stay in sync with Range.
  </Accordion>

  {" "}

  <Accordion title="Treasury Operations Dashboards" icon="chart-line">
    Pull real-time account balances, group accounts by team or purpose, and build
    internal dashboards showing your full treasury picture across custodians,
    exchanges, and self-custody wallets.
  </Accordion>

  {" "}

  <Accordion title="Automated Compliance Records" icon="shield-check">
    Upload KYB/KYC documents to counterparty records, track counterparty
    relationships over time, and maintain an auditable trail of who you transact
    with and why.
  </Accordion>

  {" "}

  <Accordion title="Multi-Custodian Integration" icon="link">
    Connect multiple custodians and exchanges through a single API (Utila,
    Kraken, Coinbase, Squads, Realms, Wise, and Hyperliquid) and query all
    account activity in one place with a canonical transaction format.
  </Accordion>

  <Accordion title="Onchain Governance Monitoring" icon="landmark">
    Track Squads multisig proposals and Realms DAO governance activity. Monitor pending proposals, approval counts, and voting state for any connected multisig or governance account.
  </Accordion>
</AccordionGroup>

***

## Core Capabilities

### Counterparty Management

Create a structured record for every external entity you work with, vendors, customers, investors, and partners. Attach multiple crypto addresses across any network, bank account details, and supporting documents.

<CodeGroup>
  ```bash cURL theme={null}
  curl -X POST "https://api.range.org/v2/counterparties" \
    -H "X-API-KEY: your_api_key_here" \
    -H "Content-Type: application/json" \
    -d '{
      "name": "Vercel",
      "type": "vendor",
      "website": "https://vercel.com",
      "notes": "Infrastructure hosting provider",
      "addresses": [
        {
          "address": "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD28",
          "network": "ethereum",
          "label": "payment wallet"
        }
      ]
    }'
  ```

  ```javascript JavaScript theme={null}
  const response = await fetch("https://api.range.org/v2/counterparties", {
    method: "POST",
    headers: {
      "X-API-KEY": "your_api_key_here",
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      name: "Vercel",
      type: "vendor",
      website: "https://vercel.com",
      addresses: [
        {
          address: "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD28",
          network: "ethereum",
          label: "payment wallet",
        },
      ],
    }),
  });
  const counterparty = await response.json();
  ```

  ```python Python theme={null}
  import requests

  response = requests.post(
      "https://api.range.org/v2/counterparties",
      headers={
          "X-API-KEY": "your_api_key_here",
          "Content-Type": "application/json",
      },
      json={
          "name": "Vercel",
          "type": "vendor",
          "website": "https://vercel.com",
          "addresses": [
              {
                  "address": "0x742d35Cc6634C0532925a3b844Bc9e7595f2bD28",
                  "network": "ethereum",
                  "label": "payment wallet",
              }
          ],
      },
  )
  data = response.json()
  ```
</CodeGroup>

**Key Features:**

* **Relationship Types:** Vendor, customer, investor, partner, exchange, or other
* **Crypto Addresses:** Attach up to 100 addresses across any network per counterparty
* **Bank Accounts:** Store IBAN, SWIFT, routing/account numbers, and sort codes (up to 50 per counterparty)
* **Documents:** Upload and manage PDF documents (up to 10 MB each)
* **Search & Filter:** Find counterparties by name or relationship type with cursor-based pagination

### Account Management

Search across all your workspace accounts, EOAs, multisigs, smart contracts, custodian accounts, exchanges, and bank accounts. Organize them into groups and bulk-update metadata.

**Account Types Supported:**

* `eoa`, Externally owned wallets
* `multisig`, Squads, Realms, and other multisig programs
* `contract`, Smart contracts with onchain metadata
* `custodian`, Utila and similar MPC custody accounts
* `exchange`, Kraken, Coinbase, and Hyperliquid accounts
* `bank`, Plaid-connected bank accounts and Wise

### Account Connections

Connect your custodians, exchanges, and DeFi protocols directly. Each connection syncs account balances and transaction history automatically.

**Supported Providers:**

<CardGroup cols={2}>
  <Card title="Utila" icon="shield">
    MPC custody with service account authentication
  </Card>

  {" "}

  <Card title="Kraken" icon="anchor">
    Exchange accounts via API key and secret
  </Card>

  {" "}

  <Card title="Coinbase" icon="circle">
    Coinbase accounts via key ID and private key
  </Card>

  {" "}

  <Card title="Safe" icon="vault">
    EVM multisig wallets across Ethereum, Arbitrum, Base, Optimism, Polygon, and BNB
  </Card>

  {" "}

  <Card title="Squads" icon="layer-group">
    Solana multisig, full proposal and member visibility
  </Card>

  {" "}

  <Card title="Realms" icon="landmark">
    Solana DAO governance with treasury and proposal tracking
  </Card>

  {" "}

  <Card title="Wise" icon="money-bill-transfer">
    Fiat accounts via API token and profile ID
  </Card>

  {" "}

  <Card title="Hyperliquid" icon="chart-area">
    Perp exchange accounts via wallet address
  </Card>

  <Card title="Plaid" icon="building-columns">
    Bank accounts via Plaid Link public token
  </Card>
</CardGroup>

***

## Why Use the Platform API

1. **Single Source of Truth**: Keep your internal tools, ERPs, and dashboards in sync with your Range workspace without manual data entry.

2. **Audit-Ready Records**: Every counterparty relationship, document, and address change is timestamped and queryable, making compliance reviews straightforward.

3. **Unified Transaction Data**: Query trades and transfers across exchanges, custodians, and self-custody wallets in a single canonical format, no more stitching together provider-specific APIs.

<Note>
  **Authentication:** The Platform API uses an `X-API-KEY` header. Generate your
  key from the [Range dashboard](https://app.range.org/keys).
</Note>

***

## Next Steps

<CardGroup cols={2}>
  <Card title="API Reference" icon="book" href="/platform-api/api-reference-introduction">
    Explore all endpoints with interactive examples and response schemas.
  </Card>

  {" "}

  <Card title="Alert Rules" icon="bell" href="/alerting/introduction">
    Browse the Range Protect alert-rule catalogue and configure monitoring on the
    accounts you manage here.
  </Card>

  {" "}

  <Card title="Get API Key" icon="key" href="https://app.range.org/keys">
    Generate your API key from the Range dashboard.
  </Card>

  {" "}

  <Card title="Quickstart Guide" icon="rocket" href="/introduction/quickstart">
    New to Range? Start here for a guided walkthrough.
  </Card>

  <Card title="Get Support" icon="headset" href="https://www.range.org/get-in-touch">
    Questions? Our team is here to help.
  </Card>
</CardGroup>
