Generate a bet slip from text or an image
Available for: Free API, Concierge API, Enterprise API.
Submit a text prompt in content.text, an image URL in content.imageUrl, or an encoded image in content.base64String to start asynchronous bet slip generation. Use the returned requestId to poll the status endpoint for matched selections, sportsbook odds, and deep links.
Submit a natural-language prompt or an image of a bet slip and receive a requestId for asynchronous processing. Text requests use content.text. Image requests use content.imageUrl or content.base64String. Poll GET /api/v1/bet/status/{guid} with the returned requestId until the status is Complete. Complete responses include sportsbook-specific bet slips, matched odds, deep links, sharedBetSlipId, and shareUrl values that can be used for one-tap bet placement or shareable bet-slip pages. Use X-Api-Key to authenticate the request.
Free API covers its supported sportsbooks and delayed REST data. Concierge API covers NFL, NBA, MLB, NHL, and WNBA; Enterprise API follows the data scope selected for your integration.
Query Parameters
- Type: stringapi
-version
Headers
- Type: stringX
- A P I - Version
Body·
The generation request containing the content type and content payload.
Request to generate a bet slip from text or image content.
- Type:content
Base class for bet generation content. The concrete type depends on the content payload.
- Type: booleangenerate
Mobile Links Whether to generate mobile-optimized deep links for sportsbook apps. Defaults to true.
- Type: "text" or "image"enumtype
The type of content being submitted. Use "text" for natural-language prompts or "image" for a bet slip image.
Responses
- application/json
- application/json
- application/json
curl https://data.unabated.com/api/v1/bet/generate \
--request POST \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: YOUR_SECRET_TOKEN' \
--data '{
"type": "text",
"generateMobileLinks": true,
"content": {
"text": "MLB moneyline bet slip for Yankees to win"
}
}'
{
"status": "string",
"details": "string",
"requestId": "123e4567-e89b-12d3-a456-426614174000"
}