Publish a pick for a package
POST /pick/tipster/publish/
Operation ID: create_pick_via_api
Create and publish a new pick via the API using the provided API key for each tip package. This endpoint allows tipsters to publish picks to their subscribers.
Request Body
{
"apikey": "string",
"tips": [
{
"competition": "string",
"code": "string",
"market": "string",
"event_number": 0,
"selection": "string",
"amount_units": 0,
"odds": 0,
"max_odds": 0,
"bookies": "string",
"use_bonus": true
}
]
}Parameters
apikey
string
Yes
API key for the package
tips
array
Yes
Array of tip objects containing pick details
Tip Object
competition
string
Yes
Competition name
code
string
Yes
Racing code
market
string
Yes
Market type
event_number
number
Yes
Event/race number
selection
string
Yes
Selection/runner number
amount_units
number
Yes
Betting amount in units
odds
number
Yes
Recommended odds
max_odds
number
Yes
Maximum acceptable odds
bookies
string
Yes
Bookie IDs separated by '&' (e.g., "1&8" for TAB and WishBet)
use_bonus
boolean
Yes
Whether to use bonus funds
Response
Success Response (200)
Error Responses
400 Bad Request - Invalid request data or missing required fields
401 Invalid credentials - Authentication token is invalid or missing
403 Invalid package API Key - The provided API key is invalid or not authorized
404 Competition or market is unavailable - Specified competition or market not found
406 Invalid data syntax - Request data format is incorrect
500 Internal error - Server encountered an error processing the request
Usage Examples
Single Pick:
Multiple Picks:
Authentication
This endpoint requires authentication. The auth_token in the header is obtained from your account via the authentication endpoint. Include your token in the Authorization header:
Get your auth token from: https://betmatic.gitbook.io/documentation/api/authentication/authenticate
Important Notes
API Key: The
api_keyis related to the package and can be obtained from your tipster dashboard (per package)Bookie IDs: Get available bookie IDs from
GET /api/bookie/names/endpointCompetition Names: Get available competition names from
GET /api/competition/namecodes/endpointPre-Alert Best Practice: Send a pre-alert first to activate customer's bots (ensure accounts are logged in etc.)
Integration Examples
Python Integration:
Last updated