POST
/
news
curl --request POST \
  --url https://api.search1api.com/news \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "query": "<string>",
  "search_service": "google",
  "max_results": 50,
  "crawl_results": 5,
  "image": true,
  "include_sites": [
    "<string>"
  ],
  "exclude_sites": [
    "<string>"
  ],
  "language": "<string>",
  "time_range": "day"
}'
{
  "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": "<string>",
      "snippet": "<string>",
      "content": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

News search parameters

Send a single news search request

Response

200
application/json

Successful Response

The response is of type object.