Search1API
Basic

News

Search recent news across multiple sources with site, language, and time filters, plus optional full page content.

POST
/news

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/problem+json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.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"    }  ],  "images": [    "http://example.com"  ]}
{  "ok": false,  "error": "string",  "message": "string",  "errors": [    {      "field": "string",      "message": "string",      "code": "string"    }  ],  "type": "http://example.com",  "title": "string",  "status": 0,  "detail": "string"}
{  "ok": false,  "error": "string",  "message": "string",  "errors": [    {      "field": "string",      "message": "string",      "code": "string"    }  ],  "type": "http://example.com",  "title": "string",  "status": 0,  "detail": "string"}
{  "ok": false,  "error": "string",  "message": "string",  "errors": [    {      "field": "string",      "message": "string",      "code": "string"    }  ],  "type": "http://example.com",  "title": "string",  "status": 0,  "detail": "string"}
{  "ok": false,  "error": "string",  "message": "string",  "errors": [    {      "field": "string",      "message": "string",      "code": "string"    }  ],  "type": "http://example.com",  "title": "string",  "status": 0,  "detail": "string"}
{  "ok": false,  "error": "string",  "message": "string",  "errors": [    {      "field": "string",      "message": "string",      "code": "string"    }  ],  "type": "http://example.com",  "title": "string",  "status": 0,  "detail": "string"}
{  "ok": false,  "error": "string",  "message": "string",  "errors": [    {      "field": "string",      "message": "string",      "code": "string"    }  ],  "type": "http://example.com",  "title": "string",  "status": 0,  "detail": "string"}
{  "ok": false,  "error": "string",  "message": "string",  "errors": [    {      "field": "string",      "message": "string",      "code": "string"    }  ],  "type": "http://example.com",  "title": "string",  "status": 0,  "detail": "string"}
{  "ok": false,  "error": "string",  "message": "string",  "errors": [    {      "field": "string",      "message": "string",      "code": "string"    }  ],  "type": "http://example.com",  "title": "string",  "status": 0,  "detail": "string"}