Get Supported Lines

Get Supported Lines

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

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.
key

Include the Bearer prefix before your access token in the Authorization header. For example: Bearer YOUR_ACCESS_TOKEN. Retrieve your access token from the /auth/login endpoint response.

Security

  • Authentication: Requires a token in the query parameters.

Parameters

  • token (optional):

    • Type: string
    • Description: The authentication token required to access the endpoint.
  • limit (optional):

    • Type: integer
    • Description: Limits the number of supported lines returned.

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=10

Example Response

{
  "success": true,
  "data": {
    "supported_lines": ["line1", "line2"],
    "limit": 10,
    "token": "nextPageToken"
  }
}
Query Params
string

Token

integer

Limit

Responses

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json