Links

Get Broadcasts Count

Get the count of Live TV broadcasts by category, label and more.

Request

HTTP Request

GET https://api.predicthq.com/v1/broadcasts/count/

Query Parameters

This endpoint accepts the same query parameters as the Search Broadcasts endpoint. Please refer to the Search Broadcasts documentation for query parameters.

Response

Example response
Below is an example response:
{
"count": 3142
}

Examples

curl
python
curl -X GET https://api.predicthq.com/v1/broadcasts/count/?event.event_id=AdKtL974inQB7GURRd \
-H "Accept: application/json" \
-H "Authorization: Bearer $ACCESS_TOKEN"
import requests
response = requests.get(
url="https://api.predicthq.com/v1/broadcasts/count",
headers={
"Accept": "application/json",
"Authorization": "Bearer $ACCESS_TOKEN"
},
params={
"event.event_id": "AdKtL974inQB7GURRd"
}
)
print(response.json())