Batch Search Articles

Search for articles across multiple news datasets in a single request. Searches the same query across all specified datasets simultaneously. If no datasets are specified, searches all available datasets. Contact your Account Executive for available datasets. ## Response Returns results grouped by dataset source, with title, URL, snippet, author, and date for each article.

Authentication

AuthorizationBearer
Bearer token authentication using API key

Headers

X-Organization-IDstringRequired

Request

This endpoint expects an object.
qstringRequired
Search query
datasetslist of stringsOptional
List of dataset names to search. Defaults to all datasets if not provided.
limitintegerOptional1-100Defaults to 10

Maximum number of results to return (default: 10, max: 100)

authorstringOptional

Filter results by author/byline name. Used as an AND condition with q - returns only articles matching BOTH the query topic AND the specified author. For all articles by an author regardless of topic, use a broad query like q=* with author.

Response

Batch search completed successfully
querystring
Original search query
datasets_searchedlist of strings
Datasets that were searched
resultslist of objects
All results across datasets
total_resultsinteger
Total results found
results_by_datasetmap from strings to lists of objects
Results grouped by dataset name
errorsmap from strings to strings
Any errors that occurred during search

Errors

400
Bad Request Error
401
Unauthorized Error
503
Service Unavailable Error