POST

Authorizations

Authorization
string
header
required

The end user's JWT access token, sent as Authorization: Bearer <token>.

Obtain one from POST /partner/customers or POST /partner/customers/login — both return it as token. It identifies which of your users a call is made for, and is sent alongside your X-API-Key on every authenticated endpoint.

Event discovery, categories, subcategories and scores are public and need no token.

X-API-Key
string
header
required

ISV / partner credential — public half. Required on every request.

Identifies the integration partner (ISV) making the call. Issued by Dime Trades when the ISV is onboarded and sent on every /partner/* endpoint:

  • On the two partner endpoints that create accounts or issue tokens (POST /partner/customers, POST /partner/customers/login), it is accompanied by X-API-Secret and is the only authentication — there is no user token yet.
  • On every other partner endpoint it is sent alongside the user's Authorization: Bearer <token>: the API key says which platform is calling, the bearer token says which user it is calling for.

Credentials are scoped to one or more brands; using a key with a brandId outside that scope returns 403. Staging and production keys are separate. The key identifies your platform — treat it as a backend credential.

Body

application/json
legs
object[]
required
Required array length: 2 - 6 elements

Response

Combo created, or the existing Combo for this exact leg set.

data
Combo · object

A user-composed Combo market: a real, independently tradable binary market (own marketId, own order book) whose eventual payout is derived from several other markets' outcomes together. Phase 1 is AND-only — the Combo settles YES if and only if every leg resolves to its requiredSide.

marketId is the Combo's own market — trade it, or request an RFQ against it, exactly like any other market. It is never one of the underlying leg markets, which keep trading independently and are untouched by Combo creation or settlement.

errors
array