search_dataset
Search Bright Data datasets by filter to find matching LinkedIn people or company records, not collect fresh records by URL.
Instructions
Search a Bright Data dataset by a filter and get matching records back directly (fast Elasticsearch-backed search; no snapshot). Use this to FIND MANY records by criteria, as opposed to run_scraper which collects fresh records by URL. First call list_dataset_fields to get valid field names. A filter is a tree: a group {operator:"and"|"or", filters:[...]} or a leaf {name, value, operator}. Max nesting depth 3. Leaf operators: =, !=, <, <=, >, >=, in, not_in, includes, not_includes, array_includes, not_array_includes, is_null, is_not_null. Supported dataset_id values:
gd_l1viktl72bvl7bjuj0: LinkedIn people profiles
gd_me5ppxjr2ge6icjuh0: LinkedIn people profiles (contact-enriched)
gd_l1vikfnt1wgvvqz95w: LinkedIn company information
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| size | No | Number of records to return (max 10, default 10) | |
| sort | No | Sorting: "default", "random", or a custom array like [{"timestamp":"asc"}]. Use "default" or custom sort to paginate with search_after. | |
| filter | Yes | Filter tree describing which records to match. Required, cannot be empty. | |
| dataset_id | Yes | ||
| search_after | No | Pagination cursor from a previous response's search_after value. |