Free API - No key required
Nepali Language API
Build Nepali language tools with our dictionary and spellcheck API. Dictionary lookups span Brihat Nepali Sabdakosh and Pragya Nepali Brihat Shabdakosh, with spellcheck and example sentences.
API Features
Dictionary API
Nepali word lookups across Brihat Nepali Sabdakosh and Pragya Nepali Brihat Shabdakosh, including variants and multi-dictionary results.
View docs →Spellcheck API
Real-time spelling validation with correction suggestions. Batch text processing supported.
View docs →Example Sentences
Get usage examples for words in context. Perfect for language learning apps.
View docs →Rate Limits
30
requests per minute
1,000
requests per day
Free
no API key needed
Need higher limits? Contact us on Twitter for partner access.
Code Examples
# Dictionary lookup
curl "https://sabdasakha.com/api/v1/dictionary/word?q=घर"
# Autocomplete suggestions
curl "https://sabdasakha.com/api/v1/dictionary/suggest?q=नेपा&limit=5"
# Spellcheck text
curl -X POST "https://sabdasakha.com/api/v1/spellcheck/text" \
-H "Content-Type: application/json" \
-d '{"text": "नेपाल सुन्दर देस हो"}'
import requests
# Dictionary lookup
response = requests.get(
"https://sabdasakha.com/api/v1/dictionary/word",
params={"q": "घर"}
)
word_data = response.json()
print(word_data["definitions"])
# Spellcheck text
response = requests.post(
"https://sabdasakha.com/api/v1/spellcheck/text",
json={"text": "नेपाल सुन्दर देस हो"}
)
result = response.json()
for error in result["misspelled"]:
print(f"{error['word']} -> {error['corrections']}")
// Dictionary lookup
const response = await fetch("https://sabdasakha.com/api/v1/dictionary/word?q=घर");
const wordData = await response.json();
console.log(wordData.definitions);
// Spellcheck text
const result = await fetch("https://sabdasakha.com/api/v1/spellcheck/text", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ text: "नेपाल सुन्दर देस हो" })
}).then(r => r.json());
result.misspelled.forEach(error => {
console.log(`${error.word} -> ${error.corrections}`);
});