API Usage
If you want to look up video metadata using an API, you can use the ID lookup endpoint:
GET /api/id/{id}
Sample output:
{
"results": [
{
"duration": 580,
"favorite_count": 36,
"fetched_at": null,
"rates": 20,
"rating": 5,
"title": "Woob - Wuub",
"uploaded_at": "2009-01-21T03:32:23",
"uploader_id": null,
"view_count": 3040,
"youtube_id": "Q2g4nqi6Xug"
}
],
"status_code": 200
}
If there are no results, the API will return a 404 error code.