Step 1: List your accounts
Check which bookmaker accounts are configured for your API key:Step 2: Get a betslip
Before placing a bet, retrieve current odds and limits:Use the OddsPapi API to discover fixture IDs and outcome IDs. ABP uses OddsPapi identifiers directly.
Step 3: Place an order
Place a bet order with minimum price protection:| Field | Required | Description |
|---|---|---|
fixtureId | Yes | OddsPapi fixture ID |
outcomeId | Yes | Market outcome (e.g., 161 = home win) |
playerId | Yes | Set to 0 for non-player-prop markets |
orderStake | Yes | Total amount to wager |
orderPrice | Yes | Minimum acceptable decimal odds |
orderCurrency | Yes | Currency code (e.g., USD) |
userRef | No | Your reference for grouping related orders |
acceptBetterOdds | No | Accept odds better than orderPrice (default: true) |
acceptPartialStake | No | Allow partial fills across multiple bets (default: true) |
back | No | Back bet (true) or lay bet (false) (default: true) |
testOrder | No | Validate only, don’t actually place (default: false) |
expiresAt | No | ISO 8601 expiry time (default: 5 seconds from now) |
declinedOrders with a declineReason: