Skip to main content
This page describes the shared conventions for the DexBuilder Platform, Prediction Markets, and Event Contracts APIs. Follow each endpoint page for its exact parameters and response model.

Base URL and routes

Production Base URL:
DexBuilder asset-configuration queries require a Broker API Key but no user wallet. See Access on behalf of a user.
PerpDEX does not currently support Broker API. Its API Key and authentication rules are separate.

Request conventions

  • Sign private REST requests using the method, external path, query string, body, and Timestamp you actually send. See Broker API Key and signing.
  • Timestamp is a Unix timestamp in seconds. Business-field time units vary; use the field description on each endpoint.
  • Keep query parameter order and body bytes unchanged after signing.
  • Follow each endpoint’s pagination and response model. Use decimal arithmetic for monetary values where precision matters.

Responses and errors

Response and error shapes differ by product. Check the HTTP status and the product-specific response body. If a submission times out or its result is uncertain, query its status before deciding whether to retry. Supply Idempotency-Key where the endpoint requires it.