← Main docs page

Verify channels

https://videomentions.com/api/v1/verify-channels?ids=${ONE},${TWO},${THREE}

This endpoint can be used to check whether YouTube channels exist. This is useful for verifying that YouTube channels are still live and and have not been deleted.

Parameters

Response

array. Verification results.

Notes

If more than 50 comma-separated IDs are provided for the ids parameter, a 400 Bad Request error response will be returned.

Example

Below is an example request for checking whether the YouTube channels with IDs of UCG7J20LhUeLl6y_Emi7OJrA, UCddiUEpeqJcYeBxX1IVBKvQ, UCL8Nxsa1LB9DrMTHtt3IKiw, and ABC123 exist.

curl -X GET 
-H "API-Key: your-api-key" 
-H "API-Secret: your-api-secret" 
https://videomentions.com/api/v1/verify-channels?ids=UCG7J20LhUeLl6y_Emi7OJrA,UCddiUEpeqJcYeBxX1IVBKvQ,UCL8Nxsa1LB9DrMTHtt3IKiw,ABC123

Response

[
	{
		"id": "UCG7J20LhUeLl6y_Emi7OJrA",
		"exists": true
	},
	{
		"id": "UCddiUEpeqJcYeBxX1IVBKvQ",
		"exists": true
	},
	{
		"id": "UCL8Nxsa1LB9DrMTHtt3IKiw",
		"exists": true
	},
	{
		"id": "ABC123",
		"exists": false
	}
]