get
https://api-ss-sandbox.betprophet.co/parlay/sp/supported-lines
Get Supported Lines
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Get Supported Lines
Overview
The Get Supported Lines endpoint allows users to retrieve a list of supported lines. This can be useful for understanding which lines are available for betting or other purposes.
Endpoint
- URL:
/supported-lines - Method:
GET - Tags:
parlay
Headers
Authorization: Bearer token required.
Include the
Bearerprefix before your access token in the Authorization header. For example:Bearer YOUR_ACCESS_TOKEN. Retrieve your access token from the/auth/loginendpoint response.
Security
- Authentication: Requires a token in the query parameters.
Parameters
-
token (optional):
- Type:
string - Description: The authentication token required to access the endpoint.
- Type:
-
limit (optional):
- Type:
integer - Description: Limits the number of supported lines returned.
- Type:
Responses
-
200 OK:
- Description: Successfully retrieved the list of supported lines.
- Content:
application/json - Schema:
{ "success": true, "data": { "supported_lines": ["line1", "line2", ...], "limit": 10, "token": "nextPageToken" } }
-
Default:
- Description: An error occurred.
- Content:
application/json - Schema:
{ "success": false, "error": "Error message" }
Usage
This endpoint is typically used by clients who need to know which lines are supported by a specific service provider for various operations, such as placing bets or checking availability.
Example Request
GET /supported-lines?token=yourToken&limit=10Example Response
{
"success": true,
"data": {
"supported_lines": ["line1", "line2"],
"limit": 10,
"token": "nextPageToken"
}
}