Skip to main content
Build with the official bulk-client and bulk-keychain libraries. Open a prepared instruction in your coding agent, select your project, review it, and send it. The agent should implement and test the integration—not just explain the API.

Use the official libraries

bulk-client

Rust and Python HTTP/WebSocket clients, plus the Bulk CLI. Prefer supported client methods over rebuilding the transport.

bulk-keychain

Canonical transaction signing for Rust, Python, Node.js and browsers. Do not hand-roll signing bytes or signature envelopes.
The agent should inspect the current package documentation and your project’s dependencies before installing anything. Use bulk-client where it supports the required language and endpoint. Use bulk-keychain when signing support is needed; do not sign twice if the chosen client already handles it. For an endpoint not covered by the client, add a small transport adapter based on its published API contract. For TypeScript/JavaScript, bulk-keychain provides Node.js signing and bulk-keychain-wasm provides browser signing. Reuse your project’s HTTP/WebSocket transport unless the current official client documentation provides a supported binding. Read-only integrations do not need a private key or signing dependency.

Start from a terminal

If Claude Code is installed, run this from your project directory. It opens an interactive session with the integration task; normal permission prompts remain enabled.
Claude Code

Copy and paste into your agent

Integration instruction
If you are reviewing a documentation preview, replace https://docs.bulk.trade in the instruction with that preview’s base URL so the agent reads the same version you are reviewing. API hosts remain unchanged.

Terminal check

This copy-paste command fetches the official documentation index and a small public market response. It does not install software, write credentials, or submit a transaction.
Read-only connectivity check

References your agent will need

HTTP Account Queries

Current state, history, pagination and coverage.

WebSocket Connection

Connection lifecycle, subscriptions and reconnect handling.

Historical Funding Rates

Portfolio API host, time bounds and cursor pagination.

Transaction Signing

Official signing libraries and signed-request requirements.

Rate Limits

Request, action, burst and connection budgets.

L2 Order Book Deltas

Snapshot initialization and atomic delta application.

What a finished integration should show

  • The client runs inside your project, with documented configuration and commands.
  • Read-only requests return parsed responses; errors are not silently converted into empty data.
  • A WebSocket can subscribe, receive the relevant data, unsubscribe and close cleanly.
  • Pagination preserves the API’s cursor and termination rules.
  • Tests identify what was verified locally versus against a live endpoint.
  • Signing and trading remain disabled unless you explicitly requested and approved them.