Skip to main content
POST
/
querit
/
search
Search API
curl --request POST \
  --url https://api.aisa.one/apis/v1/querit/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "query": "<string>",
  "count": 123,
  "filters": {
    "sites": {
      "include": [
        "<string>"
      ],
      "exclude": [
        "<string>"
      ]
    },
    "timeRange": {
      "date": "<string>"
    },
    "geo": {
      "countries": {
        "include": [
          "<string>"
        ]
      }
    },
    "languages": {
      "include": [
        "<string>"
      ]
    }
  }
}
'
{
  "error_code": 123,
  "error_msg": "<string>",
  "search_id": 123,
  "query_context": {
    "query": "<string>"
  },
  "results": {
    "result": [
      {
        "url": "<string>",
        "page_age": "<string>",
        "title": "<string>",
        "snippet": "<string>",
        "site_name": "<string>",
        "site_icon": "<string>"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json
query
string
required

Your search query term.

count
integer

The maximum of search results returned in response.

filters
object

Response

Successful response

error_code
integer

Error code, used to identify the specific type of error.

error_msg
string

Error message, provides details about the error.

search_id
integer

A unique request reference for customer support.

query_context
object
results
object