GET/v1/sports
List sports with open offers.
curl -H "X-API-Key: BF..." \
"https://api.betfluks.com/v1/sports"Authentication, endpoint specifications and integration examples for the BetFluks API.
Authenticate server-side with X-API-Key: BF... or Authorization: Bearer BF.... Operator credentials must remain on the server. Access is provisioned under a commercial agreement.
Full OpenAPI Referencecurl -H "X-API-Key: BF..." \
"https://api.betfluks.com/v1/events?sport=soccer&league=Premier%20League"The public OpenAPI reference is the source of truth for schemas, limits, and error codes.
/v1/sportsList sports with open offers.
curl -H "X-API-Key: BF..." \
"https://api.betfluks.com/v1/sports"/v1/countriesDiscover available countries.
curl -H "X-API-Key: BF..." \
"https://api.betfluks.com/v1/countries"/v1/leaguesFind leagues by sport and country.
curl -H "X-API-Key: BF..." \
"https://api.betfluks.com/v1/leagues"/v1/eventsGet upcoming events; filter by sport, league, country, and time.
curl -H "X-API-Key: BF..." \
"https://api.betfluks.com/v1/events?sport=soccer&limit=10"/v1/events/:id/marketsFetch the markets and offers for an event.
curl -H "X-API-Key: BF..." \
"https://api.betfluks.com/v1/events/EVENT_ID/markets"/v1/streamStream pre-match offer deltas. Resume with a cursor.
curl -N -H "X-API-Key: BF..." \
"https://api.betfluks.com/v1/stream"Use a server-side SSE client that supports authentication headers. Browser EventSource cannot set X-API-Key; route the stream through an application backend.
/v1/betsRegister a single bet. An Idempotency-Key is required.
curl -X POST "https://api.betfluks.com/v1/bets" \
-H "X-API-Key: BF..." \
-H "Idempotency-Key: unique-request-id" \
-H "Content-Type: application/json" \
-d '{
"offer_id": "OFFER_ID",
"stake": "10.00",
"price": "1.85",
"currency": "USD",
"external_bet_id": "operator-bet-001"
}'Replace every placeholder with values from the current offers. Persist a unique idempotency key per business request; reuse it only for retries of that same request. Handle 409 price changes and 422 wallet or stake validation errors.
/v1/parlaysRegister a multi-leg parlay. An Idempotency-Key is required.
curl -X POST "https://api.betfluks.com/v1/parlays" \
-H "X-API-Key: BF..." \
-H "Idempotency-Key: unique-request-id" \
-H "Content-Type: application/json" \
-d '{
"stake": "10.00",
"currency": "USD",
"external_bet_id": "operator-parlay-001",
"legs": [
{
"offer_id": "OFFER_ID_A",
"price": "1.85"
},
{
"offer_id": "OFFER_ID_B",
"price": "2.10"
}
]
}'