Developer Documentation & Reference
ConvertBetSlip REST API
The developer-first infrastructure for converting, decoding, and reverse-engineering sports betting codes across global bookmakers in sub-second latency.
Base URL & Quickstart
API Root & Production Host
All ConvertBetSlip B2B endpoints are served over HTTPS with TLS 1.3 encryption. JSON payloads are expected and returned across all endpoints.
https://api.convertbetslip.com/api/v1
Authentication
API Key Authentication
Authenticate all requests by including your secret key in the Authorization HTTP header as a Bearer token, or in the X-API-Key header:
Authorization: Bearer sk_live_cbs_9a8f27b82c91823a...
Security Guarantee: Your secret keys are hashed with SHA-256 upon issuance. Our databases never store plain-text keys.
Billing Model
Credit Consumption Architecture
- 1 Credit = 1 Successful Conversion. Each target code generated consumes exactly 1 credit.
- Failed / Invalid Codes = 0 Credits. If a code cannot be found or bookmaker is down, you are never charged.
- Never Expire. Purchased credits remain valid indefinitely until consumed.
Supported Bookmaker Slugs
Pass these exact slugs in the from and to parameters:
sportybet_ng (Nigeria)
bet9ja (Nigeria)
betking (Nigeria)
1xbet (Global)
sportybet_gh (Ghana)
sportybet_ke (Kenya)
betway (Multi-region)
betpawa (Multi-region)
msport (Nigeria/Ghana)
stake (Global / Crypto)
POST/v1/convert
1 CreditConverts a booking code from one bookmaker to another, translates all football and basketball markets, optionally prunes started games, and returns a verified booking code.
curl -X POST https://api.convertbetslip.com/api/v1/convert \
-H "Authorization: Bearer sk_live_cbs_YOUR_KEY" \
-H "Content-Type: application/json" \
-d '{
"from": "sportybet_ng",
"to": "bet9ja",
"code": "BC72K1",
"prune_started": true
}'Sample Response (200 OK)
{
"status": "success",
"latency_ms": 340,
"credits": {
"consumed_in_request": 1,
"remaining_balance": 2499
},
"data": {
"source_bookmaker": "sportybet_ng",
"target_bookmaker": "bet9ja",
"source_code": "BC72K1",
"target_code": "2Q9812",
"total_odds": 24.85,
"source_total_odds": 22.10,
"legs_count": 8,
"skipped_count": 1,
"legs": [
{
"event": "Arsenal vs Chelsea",
"sport": "football",
"kickoff": "2026-11-12T16:30:00Z",
"market": "1X2",
"selection": "Arsenal (1)",
"target_selection": "Arsenal (Home)",
"odds": 1.75
}
],
"skipped_legs": [
{
"event": "Aston Villa vs Wolves",
"reason": "Match has already kicked off (Started 14m ago)"
}
]
}
}HTTP Error Codes & Handling
| Status Code | Error Code | Description | Credits Deducted |
|---|---|---|---|
| 400 | missing_parameter | Missing 'from', 'to', or 'code' parameter in payload. | 0 |
| 401 | invalid_api_key | Missing or revoked 'sk_live_...' Bearer token. | 0 |
| 402 | insufficient_credits | Your credit balance is 0. Purchase additional credits at /pricing. | 0 |
| 422 | code_not_found | The booking code has expired on the bookmaker or does not exist. | 0 |
| 429 | rate_limit_exceeded | Exceeded requests/minute rate limit. Back off and retry. | 0 |