Skip to Content
Overview

Sonar Integration API

This documentation is for B2B API consumers. The active docs version is shown in the site footer (from package.json); see Changelog for release notes.

Clients sign up in the portal to generate credentials, then call B2B endpoints only.

Base URLs

  • Production REST base URL: https://partners.sonar.trade/api
  • Production B2B base URL: https://partners.sonar.trade/api/v1
  • Swagger UI: https://partners.sonar.trade/api/docs
  • OpenAPI JSON: https://partners.sonar.trade/api/docs-json

Authentication model

  • Required headers:
    • X-API-Key: <your-api-key>
    • X-API-Secret: <your-api-secret>
  • Alternative secret transport:
    • Authorization: Bearer <your-api-secret>

Portal session endpoints are not part of this documentation.

B2B endpoint groups

  • Users and balances
  • Pools (user pool positions, client pool catalog, pool lookup)
  • Strategies (create, update, list/filter, lifecycle)
  • Operations (deposits, withdraws, quotes, swaps, history)

Active chain IDs

  • 8453 (Base)
  • 56 (BSC)
  • 1 (Ethereum)
  • 4663 (Robinhood)
  • 1399811149 (Solana)

Continue with Quickstart for the first working integration flow.