> ## Documentation Index
> Fetch the complete documentation index at: https://docs.searchia.com/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Searchia's JSON API needs no API key and no account. Call POST https://www.searchia.com/api with a JSON body such as {"query":"…","type":"web"}. It is rate-limited to 30 requests per minute per IP and answers 429 with a Retry-After header when over the limit. For terminals and agents, the searchia CLI (npx searchia) wraps the same API.

# Suggest

> Autocomplete a partial query.

Suggestions come from Brave's suggest service. Brave receives the text typed so far, never the caller's IP address.

**q** `string` *required*

The partial query to complete, up to 100 characters.

## Response

**suggestions** `array`

Ordered suggestions. Plain completions carry just a `query`; entities such as people and places set `entity` and add the fields below on a best-effort basis.

**suggestion**

**query** `string` *required*

The suggested query.

**entity** `boolean`

`true` on entity suggestions; absent otherwise.

**name** `string`

The entity's display name.

**desc** `string`

A short description.

**category** `string`

For example `person` or `place`.

**img** `string`

Thumbnail URL, when one is available.

```bash curl theme={null}
curl "https://www.searchia.com/suggest?q=weath"
```

```json 200 theme={null}
{
  "suggestions": [
    { "query": "weather" },
    { "query": "weather radar" },
    {
      "query": "elon musk",
      "entity": true,
      "name": "Elon Musk",
      "desc": "businessman and entrepreneur (born 1971)",
      "category": "person",
      "img": "https://imgs.search.brave.com/…"
    }
  ]
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.