Credentials & Authentication
Access to both the Simulated CLOB and the FiveSight Data API is managed via a single API Key.
Getting Your Key
- Log in to the Developer Dashboard.
- Click Generate New Key.
- Copy the secret immediately (it won't be shown again).
IMPORTANT
This key works for both the Python Client (Simulation) and the HTTP Data API (Dev Pro/Ultimate).
Python Client (Simulation)
Pass your API key directly to the client constructor:
python
from fivesight_clob_client import ClobClient
client = ClobClient(
api_key="YOUR_API_KEY",
# api_secret is optional/legacy for some endpoints, but good to have
env="prod"
)Data API (HTTP)
Include the key in the X-API-KEY header for all requests:
bash
curl -H "X-API-KEY: YOUR_API_KEY" https://api.fivesight.ai/api/v1/markets/top