spellcheck

द्वारा brave

वर्तनी सुधार के लिए उपयोग करें। यदि गलत वर्तनी है तो सही क्वेरी लौटाता है। अधिकांश खोज एंडपॉइंट में spellcheck बिल्ट-इन होता है; इसका उपयोग केवल खोज-पूर्व क्वेरी सफाई या… के लिए करें।

npx skills add https://github.com/brave/brave-search-skills --skill spellcheck

Spellcheck

Requires API Key: Get one at https://api.search.brave.com

Plan: Included in the Spellcheck plan. See https://api-dashboard.search.brave.com/app/subscriptions/subscribe

Quick Start (cURL)

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"

Endpoint

GET https://api.search.brave.com/res/v1/spellcheck/search

Authentication: X-Subscription-Token: <API_KEY> header

Parameters

ParameterTypeRequiredDefaultDescription
qstringYesQuery to spell check (1-400 chars, max 50 words)
langstringNoenLanguage preference (2+ char language code, e.g. en, fr, de, pt-br, zh-hans). 51 codes supported
countrystringNoUSSearch country (2-letter country code or ALL)

Response Fields

FieldTypeDescription
typestringAlways "spellcheck"
query.originalstringThe input query as submitted
resultsarraySpell-corrected suggestions. May be empty when no correction is found
results[].querystringA corrected version of the query

Example Response

{
  "type": "spellcheck",
  "query": {
    "original": "artifical inteligence"
  },
  "results": [
    {
      "query": "artificial intelligence"
    }
  ]
}

Use Cases

  • Pre-search query cleanup: Check spelling before deciding which search endpoint to call
  • "Did you mean?" UI: Show users a corrected suggestion before running the search
  • Batch query normalization: Clean up user inputs in bulk

Notes

  • Built-in alternative: Web Search and LLM Context have spellcheck=true by default — use this standalone endpoint only when you need the correction before searching
  • Context-aware: Corrections consider the full query context, not just individual words

brave की और Skills

pr
brave
Create a pull request for the current branch using `gh`.
official
add-best-practice
brave
उपयुक्त दस्तावेज़ में एक नई सर्वोत्तम प्रथा जोड़ें। डुप्लिकेट की जाँच करता है,
official
check-upstream-flake
brave
जाँचें कि कोई विफल परीक्षण Chromium के LUCI Analysis में ज्ञात अपस्ट्रीम फ्लेक है या नहीं।
official
clean-branches
brave
स्थानीय शाखाओं को हटाएं जिनके PRs को अपस्ट्रीम में मर्ज किया गया है। GitHub PR की जाँच करता है।
official
fix-bp-docs
brave
सर्वोत्तम अभ्यास दस्तावेज़ों में पुराने संदर्भों, डुप्लिकेट्स और अप्रचलित चीज़ों का ऑडिट और सुधार करें
official
force-push-downstream
brave
एक शाखा और उसकी सभी डाउनस्ट्रीम शाखाओं को ओरिजिन पर फोर्स-पुश करें। स्वचालित रूप से पहचानता है
official
impl-review
brave
PR पर समीक्षा फीडबैक लागू करता है। ब्रांच को चेक आउट करता है, लागू करता है
official
make-ci-green
brave
किसी brave/brave-core PR के लिए विफल CI कार्यों को पुनः चलाएँ। विफलता चरण का पता लगाता है और
official