Skip to main content

Documentation Index

Fetch the complete documentation index at: https://4cx.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

4Cx API

The 4Cx public API exposes the platform endpoints such as: markets, take plays, place offers, and read your positions in real time.

Authentication

Send your auth token in the Authorization header. No Bearer prefix — the raw token only.
Authorization: <your-token>

Public-mode header

Every request in this collection includes X-API-Version: public. This header is required and tells the API to return sweepstakes field names (risk, take, requestID) instead of legacy field names.
After Log in, copy user.auth from the response and send it as the Authorization header on all other requests, together with X-API-Version: public.

Base URL

Production base URL:
https://api.4cx.io
All REST paths below are relative to this host.