API
YouTube API
YouTube reaches over 2 billion logged-in monthly users across videos, Shorts, live streams, and podcasts, making it important for search visibility, education, brand storytelling, and creator-led demand.
API Reference Version: 1.0.0 1 Endpoints Authentication
Base URL
https://api.pressmonitor.ca Authentication
All requests use Bearer token authentication. Add the Authorization header to every call.
Authorization: Bearer YOUR_API_KEY
x-subscription-id: YOUR_SUB_ID GET
/search Search YouTube videos
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| query_text | string | query | Yes | Search query text |
| num | integer | query | No | Maximum number of results |
| order | string | query | No | Sort order |
| event-type | string | query | No | Live event type filter |
| token | string | query | No | Pagination token |
| country_code | string | query | No | Region code |
| lang_code | string | query | No | Relevance language code |
Code Examples
curl -X GET "https://api.pressmonitor.ca/search?query_text=VALUE" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" Responses
200 Success