CLAUDE.mdepks — self-contained for any AI assistant. Base URL: https://api.b337.ai.<paste-your-api-key-here> placeholder.Getting Started
This guide will help you get up and running with the API quickly.
The API is available at:
https://api.b337.aiAll API requests must include the following headers:
The API uses API key authentication. You'll need to:
X-API-Key header of every requestSee the Authentication guide for detailed information.
Let's start with a simple health check or account information request:
API responses vary by endpoint:
Accepted Response (Place Bet): /v3 betting calls are asynchronous. They answer HTTP 200 straight away with a pending envelope; the bet result arrives later via POST /api/bet_status or your callback_url. (Sandbox and demo-key samples of these routes return 202.)
Success Response (Get Sessions): every session is listed except housekeeping sessions and hidden accounts.
status is the live state the client reports: running (bet on these), launching (a start was just dispatched), idle (no live state) or whatever else the bot last reported. balance and bonus_balance are cached live figures, null when no recent reading exists.
Error Response: