/v1/youtube/stats/{identifier}
Obter estatísticas do canal
Consulta as estatísticas de um canal do YouTube. Toda resposta bem-sucedida é cobrada, inclusive com cached: true; 404 para canal não encontrado é grátis.
Bearer fd_… 1,50 EUR por 1.000 requisições bem-sucedidas
Parâmetros de caminho
| Nome | Tipo | Descrição | |
|---|---|---|---|
| identifier | string | Handle (por exemplo @YouTube) ou ID do canal (por exemplo UCBR8-60-B28hp2BmDPdntcQ) |
curl -X GET "https://api.flowdata.one/v1/youtube/stats/@YouTube" \
-H "Authorization: Bearer fd_SUA_CHAVE" \
-H "Accept: application/json"
use Illuminate\Support\Facades\Http;
$response = Http::withToken('fd_SUA_CHAVE')
->get('https://api.flowdata.one/v1/youtube/stats/@YouTube');
$data = $response->json();
const response = await fetch('https://api.flowdata.one/v1/youtube/stats/@YouTube', {
method: 'GET',
headers: {
'Authorization': 'Bearer fd_SUA_CHAVE',
'Accept': 'application/json',
},
});
const data = await response.json();
import requests
headers = {
'Authorization': 'Bearer fd_SUA_CHAVE',
'Accept': 'application/json',
}
response = requests.get(
'https://api.flowdata.one/v1/youtube/stats/@YouTube',
headers=headers,
)
data = response.json()
{
"success": true,
"cached": true,
"data": {
"channel_id": "UCBR8-60-B28hp2BmDPdntcQ",
"handle": "@YouTube",
"title": "YouTube",
"description": "YouTube's official channel...",
"subscriber_count": 40000000,
"video_count": 500,
"view_count": 3000000000,
"thumbnail_url": "https://...",
"last_synced_at": "2026-01-12T10:00:00Z"
}
}