Loading...
Loading...
USE FOR spell correction. Returns corrected query if misspelled. Most search endpoints have spellcheck built-in; use this only for pre-search query cleanup or "Did you mean?" UI.
npx skill4agent add brave/brave-search-skills spellcheckRequires API Key: Get one at https://api.search.brave.comPlan: Included in the Spellcheck plan. See https://api-dashboard.search.brave.com/app/subscriptions/subscribe
curl -s "https://api.search.brave.com/res/v1/spellcheck/search" \
-H "Accept: application/json" \
-H "X-Subscription-Token: ${BRAVE_SEARCH_API_KEY}" \
-G \
--data-urlencode "q=artifical inteligence" \
--data-urlencode "lang=en" \
--data-urlencode "country=US"GET https://api.search.brave.com/res/v1/spellcheck/searchX-Subscription-Token: <API_KEY>| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
| string | Yes | — | Query to spell check (1-400 chars, max 50 words) |
| string | No | | Language preference (2+ char language code, e.g. |
| string | No | | Search country (2-letter country code or |
| Field | Type | Description |
|---|---|---|
| string | Always |
| string | The input query as submitted |
| array | Spell-corrected suggestions. May be empty when no correction is found |
| string | A corrected version of the query |
{
"type": "spellcheck",
"query": {
"original": "artifical inteligence"
},
"results": [
{
"query": "artificial intelligence"
}
]
}spellcheck=true