Agara

SDKs

Current client-library availability and the supported raw API entry points.

Agara's language SDK packages are not currently published to PyPI or crates.io. Do not depend on pip install agara-sdk or agara-sdk = "…" until a public release is announced.

Use the documented REST and WebSocket APIs directly. The API origin for this deployment is https://app.agara.xyz, and its WebSocket origin is wss://app.agara.xyz.

export AGARA_BASE_URL="https://app.agara.xyz"
export AGARA_WS_URL="wss://app.agara.xyz"
export AGARA_CHAIN_ID="8453"
export AGARA_COLLATERAL_ADDRESS="0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
export AGARA_CONDITIONAL_TOKENS_ADDRESS="0xe12D566cE5Dd8d817488E85a81386878649e3A18"
export AGARA_CTF_EXCHANGE_ADDRESS="0xD06f3fA925D35077A11dB42c6614D684f10B2aD6"

The OpenAPI document is available at /trade/v1/openapi.json on the API origin. Generate a client from the deployment you intend to use so its server URL matches that environment.

Wire-format reminders

  • Send bearer authentication once per request or connection as documented in Authentication.
  • API money, price, and share fields use micro units even if a generated client exposes friendlier application types. See Conventions.
  • Follow the documented asynchronous order and account-batch lifecycles; an accepted response is not the same as final settlement.

This deployment uses real USDC on Base and these docs cover AGARA markets. Confirm that generated clients point to https://app.agara.xyz before sending an authenticated request.

On this page