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-ID
Request
This endpoint expects an object.
q
Search query
datasets
List of dataset names to search. Defaults to all datasets if not provided.
limit
Maximum number of results to return (default: 10, max: 100)
Response
Batch search completed successfully
query
Original search query
datasets_searched
Datasets that were searched
results
All results across datasets
total_results
Total results found
results_by_dataset
Results grouped by dataset name
errors
Any errors that occurred during search