Run a search
Archive API
Run a Search
Use the Bright Data Marketplace Archive API to run a Search. POST /webarchive/search manages web archive snapshots; returns 200 OK with JSON status.
POST
Run a search
Documentation Index
Fetch the complete documentation index at: https://docs.brightdata.com/llms.txt
Use this file to discover all available pages before exploring further.
Mandatory:
Either use
Either use
max_age OR a combination of min_date + max_dateIf the search takes longer than 30 seconds, the response returns only a
search_id and you should poll the status asynchronously. If the search completes within 30 seconds, the response returns the full search result object (same as GET /webarchive/search/<search_id>).You can run up to 100 searches per day without triggering a dump.
Once you trigger a dump, that search no longer count against your limit.
LIKE vs Regex Filters
LIKE vs Regex Filters
- Use LIKE filters (
domain_like_*,url_like_*) for simple pattern matching with%(any sequence) and_(single character). - LIKE patterns are case-insensitive and often faster than regex for simple prefix/suffix matching like
%.comoramazon%. - Use regex filters (
domain_regex_*,url_regex_*) for complex patterns requiring full regex syntax. LIKE patterns use backslash escaping:\%for literal%,\_for literal_.
Authorizations
Use your Bright Data API Key as a Bearer token in the Authorization header.
How to authenticate:
- Obtain your API Key from the Bright Data account settings at https://brightdata.com/cp/setting/users
- Include the API Key in the Authorization header of your requests
- Format:
Authorization: Bearer YOUR_API_KEY
Example:
Authorization: Bearer b5648e1096c6442f60a6c4bbbe73f8d2234d3d8324554bd6a7ec8f3f251f07df
Learn how to get your Bright Data API key: https://docs.brightdata.com/api-reference/authentication
Body
application/json
The filters used for this search (echoed back)
Response
Search initiated successfully
- Async (Still Running)
- Completed within 30s
Returned if search is async
Example:
"ucd_abc123xyz"