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.
ids - string. A comma-separated list of YouTube channel IDs. A maximum of 50 IDs may be provided in each request.array. Verification results.
id - string. Channel ID.exists - boolean. true if the channel exists, false if it does not.If more than 50 comma-separated IDs are provided for the ids parameter, a 400 Bad Request error response will be returned.
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 [
{
"id": "UCG7J20LhUeLl6y_Emi7OJrA",
"exists": true
},
{
"id": "UCddiUEpeqJcYeBxX1IVBKvQ",
"exists": true
},
{
"id": "UCL8Nxsa1LB9DrMTHtt3IKiw",
"exists": true
},
{
"id": "ABC123",
"exists": false
}
]