POST
/
internet
/
search
Search the internet
curl --request POST \
  --url https://api.liquidindex.dev/internet/search \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "query": "<string>"
}'
{
  "results": "<string>",
  "urls": [
    "<string>"
  ],
  "usage": {
    "read_units": 123
  }
}

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

The query to search the internet for

Response

Search results

results
string

An AI generated response to the query with citations

urls
string[]

The URLs used to generate the response

usage
object