News
Search recent news across multiple sources with site, language, and time filters, plus optional full page content.
POST
bearerAuthheader
AuthorizationBearer <token>application/json- body
query*stringLength
1 <= lengthsearch_service?stringValue in
"google""bing""duckduckgo""yahoo""hackernews""""reuters"max_results?integerRange
1 <= value <= 50Default
5crawl_results?integerRange
0 <= value <= 50Default
0image?booleanDefault
falseinclude_sites?array<string>Default
[]exclude_sites?array<string>Default
[]language?stringtime_range?stringValue in
"day""week""month""year"""Successful response
application/json- response
searchParameters*results*array<>images?array<>curl -X POST 'https://api.search1api.com/news' \ -H 'Content-Type: application/json' \ -d '{ "query": "string"}'{ "searchParameters": { "query": "string", "search_service": "google", "max_results": 5, "crawl_results": 0, "image": false, "include_sites": [], "exclude_sites": [], "language": "string", "time_range": "day" }, "results": [ { "title": "string", "link": "http://example.com", "snippet": "string", "content": "string", "published_date": "string", "metadata": { "kind": "repo", "stars": 0, "language": "string", "num_comments": 0, "story_url": "http://example.com", "points": 0 } } ], "images": [ "http://example.com" ]}