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. ## Supported Datasets - `nytimes` - New York Times - `washpost` - Washington Post - `sfstandard` - SF Standard - `sacbee` - Sacramento Bee - `sfchronicle` - San Francisco Chronicle - `newyorker` - The New Yorker - `theatlantic` - The Atlantic - `sjmercury` - San Jose Mercury News - `latimes` - Los Angeles Times ## Response Returns results grouped by dataset source, with title, URL, snippet, 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)

Response

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

Errors