Skip to main content
POST
/
datasets
/
v3
/
scrape
Discover Channels by Keyword
curl --request POST \
  --url https://api.brightdata.com/datasets/v3/scrape \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "input": [
    {
      "keyword": "<string>"
    }
  ]
}
'
[
  {
    "url": "https://www.youtube.com/@channelname",
    "handle": "@channelname",
    "banner_img": "https://...",
    "profile_image": "https://...",
    "name": "Channel Name",
    "subscribers": 299,
    "Description": "Channel description...",
    "videos_count": 21,
    "created_date": "2024-11-25T00:00:00.000Z",
    "views": 98723,
    "Details": {"location": "United States"},
    "Links": ["youtube.com/@channelname"],
    "identifier": "UC...",
    "id": "UC...",
    "has_podcast": false,
    "top_videos": [
      {
        "Image_url": "https://...",
        "posted_time": "3 weeks ago",
        "title": "Video Title",
        "video_url": "https://www.youtube.com/watch?v=abc",
        "views": 11
      }
    ]
  }
]

Query Parameters

dataset_id
string
default:"gd_lk538t2k2p1k3oos71"
required
The dataset ID used for this request.
Must be set to gd_lk538t2k2p1k3oos71 to collect Discover Channels by Keyword data.
type
string
default:"discover_new"
Must be set to discover_new.
discover_by
string
default:"keyword"
Must be set to keyword.
notify
boolean
default:false
Whether to send notifications when the request is completed.
include_errors
boolean
default:true
Whether to include errors in the response.

Request Body

input
object[]
required
An array of input objects.

Example

{
  "input": [
    {
      "keyword": "cooking tutorials"
    }
  ]
}
[
  {
    "url": "https://www.youtube.com/@channelname",
    "handle": "@channelname",
    "banner_img": "https://...",
    "profile_image": "https://...",
    "name": "Channel Name",
    "subscribers": 299,
    "Description": "Channel description...",
    "videos_count": 21,
    "created_date": "2024-11-25T00:00:00.000Z",
    "views": 98723,
    "Details": {"location": "United States"},
    "Links": ["youtube.com/@channelname"],
    "identifier": "UC...",
    "id": "UC...",
    "has_podcast": false,
    "top_videos": [
      {
        "Image_url": "https://...",
        "posted_time": "3 weeks ago",
        "title": "Video Title",
        "video_url": "https://www.youtube.com/watch?v=abc",
        "views": 11
      }
    ]
  }
]