YouTube Metadata Search

<- Go back

API Usage

If you want to look up video metadata using an API, you can use the ID lookup endpoint:

GET /api/id/{id}

It will return a list of all available snapshots for a given ID and basic info about the crawl sources. Sample output:

{
  "count": 1,
  "crawl_sources": [
    {
      "credits": "",
      "description": "",
 ...
      "taken_on_startdate": "2012-01-01",
      "upload_date_uncertainty": null,
      "url": ""
    }
  ],
  "results": [
    {
      "snapshots": [
        {
          "category_id": null,
          "comment_count": null,
          "crawl_source_id": 2,
          "description": null,
          "duration": 580,
          "favorite_count": 36,
          "fetched_at": null,
          "rates": 20,
          "rating": 5,
          "snapshot_id": 10456196,
          "title": "Woob - Wuub",
          "uploaded_at": "2009-01-21T03:32:23",
          "uploader_id": null,
          "uploader_name": null,
          "view_count": 3040
        },
        {
          "category_id": null,
          "comment_count": null,
          "crawl_source_id": 6,
          "description": "Artist: WoobTitle: WuubAlbum: EM:T 1194Label: EM:TYear: 1994Note: artwork by The Designer's Republic",
          "duration": 580,
...
        }
      ],
      "youtube_id": "Q2g4nqi6Xug"
    }
  ],
  "status_code": 200
}

If there are no results, the API will return a 404 error code.