Discover/Glosbe API
live

Glosbe APIglosbe.com

Look up word translations across language pairs via the Glosbe API. Returns translation candidates, parts of speech, definitions, and bilingual usage examples.

This API takes change requests — .
Endpoint health
verified 7h ago
translate
1/1 passing latest checkself-healing
Endpoints
1
Updated
7h ago

What is the Glosbe API?

The Glosbe API exposes 1 endpoint — translate — that returns up to several translation candidates for a given word or phrase across any supported ISO 639-1 language pair. Each result includes the translated text, parts of speech, a short definition, and bilingual usage examples drawn from Glosbe's community dictionary. The response also surfaces a summary of the top translations alongside the source and target language codes used in the lookup.

This call costs1 credit / call— charged only on success
Try it
The word or phrase to translate.
ISO 639-1 language code for the source language (e.g. 'en', 'fr', 'de').
ISO 639-1 language code for the target language (e.g. 'es', 'fr', 'de').
api.parse.bot/scraper/cd33ecb7-bea5-4ae3-8b0a-211a934b24d1/<endpoint>
Ready to send
Fill in the parameters and hit sign in to send to see live response data here.
Call it over HTTPgrab a free API key at signup
curl -X GET 'https://api.parse.bot/scraper/cd33ecb7-bea5-4ae3-8b0a-211a934b24d1/translate?word=hello&source_lang=en&target_lang=es' \
  -H 'X-API-Key: $PARSE_API_KEY'
Python SDK · recommended

Typed, relational, agent-ready

A generated client with real types, enums, and the links between objects — the structure a flat JSON response can't carry. Autocompletes in your editor and reads cleanly to coding agents.

  • Fully typed · autocompletes
  • Objects link to objects
  • Typed errors & pagination

Typed Python client. Set up the SDK in your uv project, then pull this API’s typed client:

uv add parse-sdk
uv run parse init
uv run parse add --marketplace glosbe-com-api

uv run parse add --marketplace pulls a pinned snapshot of this canonical API — it won’t change underneath you. To customize it, subscribe and swap to your own copy.

"""Walkthrough: Glosbe SDK — bounded, re-runnable; every call capped."""
from parse_apis.glosbe_com_api import Glosbe, TranslationNotFound

client = Glosbe()

# Look up a word from English to Spanish
result = client.translations.get(word="hello", target_lang="es")
print(result.word, "->", result.summary)
for entry in result.translations[:3]:
    print(entry.translation, entry.parts_of_speech, entry.definition)

# Try a different language pair
result_de = client.translations.get(word="goodbye", target_lang="de", source_lang="en")
for entry in result_de.translations[:3]:
    print(entry.translation, entry.definition)
    for ex in entry.examples[:1]:
        print(f"  {ex.source} -> {ex.target}")

# Typed error handling for a non-existent translation
try:
    client.translations.get(word="xyznonexistent", target_lang="es")
except TranslationNotFound as e:
    print(f"not found: {e.word}")

print("exercised: translations.get")
All endpoints · 1 totalmissing one? ·

Look up translations of a word from one language to another. Returns multiple translation candidates, each with parts of speech, a brief definition, and bilingual usage examples. The source word is matched against Glosbe's dictionary entries for the given language pair.

Input
ParamTypeDescription
wordrequiredstringThe word or phrase to translate.
source_langstringISO 639-1 language code for the source language (e.g. 'en', 'fr', 'de').
target_langrequiredstringISO 639-1 language code for the target language (e.g. 'es', 'fr', 'de').
Response
{
  "type": "object",
  "fields": {
    "word": "The input word that was translated",
    "summary": "Brief summary of top translations",
    "source_lang": "Source language code used",
    "target_lang": "Target language code used",
    "translations": "Array of translation entries with translation text, parts_of_speech, definition, and examples"
  },
  "sample": {
    "word": "hello",
    "summary": "hola, aló, buenos días are the top translations of \"hello\" into Spanish.",
    "source_lang": "en",
    "target_lang": "es",
    "translations": [
      {
        "examples": [
          {
            "source": "I said hello to Debby but she totally ignored me.",
            "target": "Le dije hola a Debby, pero me ignoró totalmente."
          }
        ],
        "definition": "greeting",
        "translation": "hola",
        "parts_of_speech": [
          "interjection",
          "noun",
          "masculine"
        ]
      },
      {
        "examples": [
          {
            "source": "But Green Arrow wanted me to say hello.",
            "target": "Pero Flecha Verde me pidió para darte un ¡Aló!"
          }
        ],
        "definition": "when answering the telephone",
        "translation": "aló",
        "parts_of_speech": [
          "interjection"
        ]
      }
    ]
  }
}

About the Glosbe API

What the translate endpoint returns

The translate endpoint accepts a required word parameter and a required target_lang ISO 639-1 code (e.g. es, fr, de). An optional source_lang parameter lets you pin the source language; if omitted, the source language is inferred. The response contains a translations array where each entry carries the translated text, a parts_of_speech label (noun, verb, adjective, etc.), a brief definition, and an examples list of bilingual sentence pairs showing the word in context.

Response fields in detail

Beyond the translations array, the response returns the original word as submitted, a summary string condensing the top translation candidates into a short human-readable snippet, and source_lang / target_lang echo fields confirming the language pair that was resolved. The examples field within each translation entry is particularly useful for disambiguation — the same word often behaves differently depending on grammatical context, and the sentence pairs expose that variation directly.

Language pair coverage

Glosbe is a community-built dictionary covering a wide range of language pairs, including many less-resourced language combinations that larger commercial dictionaries omit. Coverage depth varies by pair: high-traffic pairs like English–Spanish or English–French will return more translation candidates and more usage examples than lower-traffic pairs. Supplying explicit source_lang and target_lang values will always produce more deterministic results than relying on inference.

Reliability & maintenanceVerified

The Glosbe API is a managed, monitored endpoint for glosbe.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when glosbe.com changes and a check fails, the API is automatically queued for repair and re-verified. It is built to keep working as the site underneath it changes.

This isn't an official glosbe.com API — it's an independent, maintained REST wrapper over public data. Where the source has no official API (or only a limited one), Parse gives you a stable contract over a source that never promised one, and keeps it current. Need a new endpoint or field? You can revise it yourself in plain English and the agent rebuilds it against the live site in minutes — contributing the change back to the shared API is free.

Last verified
7h ago
Latest check
1/1 endpoint passing
Maintenance
Monitored & self-healing
Will this API break when the source site changes?+
It's built not to. Every endpoint is health-checked on a schedule with automated test probes. When the source site changes and a check fails, the API is automatically queued for repair and re-verified — that's the self-healing layer. Each API page shows when its endpoints were last verified. And because marketplace APIs are shared, any fix reaches everyone using it.
Is this an official API from the source site?+
No — Parse APIs are independent, managed REST wrappers over publicly available data. That is the point: where a site has no official API (or only a limited one), Parse gives you a maintained, monitored endpoint for that data and keeps it working as the site changes — so you get a stable contract over a source that never promised one.
Can I fix or extend this API myself if I need a new endpoint or field?+
Yes — and you don't have to wait on us. This API was generated by the Parse agent, which stays attached. Describe the change in plain English ("add an endpoint that returns reviews", "fix the price field") in the revise box on the API page or via the revise_api MCP tool, and the agent rebuilds it against the live site in minutes. Contributing the change back to the public API is free.
What happens if I call an endpoint that has an issue?+
Errors are machine-readable: a bad call returns a clean status with the list of available endpoints and a repair hint, so an agent (or you) can recover or trigger a fix instead of failing silently. Confirmed failures feed the automatic repair queue.
Common use cases
  • Build a browser extension that displays in-line translations and example sentences for selected words on any webpage.
  • Populate flashcard decks with translation candidates, parts of speech, and example sentences sourced from the translations array.
  • Add a dictionary lookup widget to a language-learning app that shows the definition and examples fields for each translation candidate.
  • Cross-reference parts_of_speech labels across multiple target languages to study grammatical gender and inflection patterns.
  • Generate bilingual glossaries for technical documentation by batch-translating a term list and extracting the top translation from the summary field.
  • Power a translation validation tool that flags when a submitted translation does not appear in the returned translations array for a given language pair.
Pricing & limitsSee full pricing →
TierPriceCredits/monthRate limit
Free$0/mo1005 req/min
Hobby$30/mo1,00020 req/min
Developer$100/mo5,000100 req/min

One credit = one API call regardless of which marketplace API you call. Exceeding the rate limit returns a 429 response. Authenticate with the X-API-Key header.

Frequently asked questions
Does Glosbe offer an official developer API?+
Glosbe previously offered a public REST API (documented at glosbe.com/a-api), but that API has been deprecated and is no longer actively maintained. The Parse Glosbe API provides current access to translation data without depending on that legacy endpoint.
What does the `translations` array actually contain — is it just translated words?+
Each entry in translations includes more than the translated text. It also carries a parts_of_speech label identifying the grammatical category, a definition giving a short gloss, and an examples list of bilingual sentence pairs. A single lookup for an ambiguous word may return several entries covering its different senses and grammatical roles.
Can I retrieve phonetic transcriptions or audio pronunciations through this API?+
Not currently. The API returns text-based translation data: translated terms, parts of speech, definitions, and usage examples. Phonetic transcriptions and audio pronunciations are not included in the response fields. You can fork this API on Parse and revise it to add an endpoint targeting pronunciation data if that data is available for your target language pair.
Does the API support translating full sentences or paragraphs, or is it limited to single words?+
The word parameter accepts strings that may be multi-word phrases, but the endpoint is designed around dictionary-style lookups rather than machine translation of arbitrary sentences. Long free-form paragraphs are unlikely to match dictionary entries and will return limited or empty results. For sentence-level machine translation a dedicated MT API would be more appropriate. You can fork this API on Parse and revise it to point at a sentence-level translation source.
How does coverage vary across language pairs?+
Coverage depends on Glosbe's community contributions for a given pair. Major European language pairs (English–Spanish, English–French, English–German, etc.) return more candidates and richer example sets than lower-traffic pairs. For less common pairs the translations array may contain fewer entries and the examples list may be sparse or empty.
Page content last updated . Spec covers 1 endpoint from glosbe.com.
Related APIs in OtherSee all →
wordreference.com API
Search for word translations across multiple languages using WordReference's comprehensive dictionary database. Retrieve detailed meanings, usage contexts, grammatical information, and example sentences. Access public vocabulary collections and word-of-the-day features.
multitran.com API
Translate words and phrases across multiple languages while browsing specialized subject areas and terminology. Explore available languages, search the dictionary index, and discover professional terms organized by field of study.
dictionary.cambridge.org API
Look up word definitions, pronunciations, translations, synonyms, and example sentences from Cambridge Dictionary. Search and browse thousands of words, get daily word recommendations, and access specialized business or American English dictionaries.
thesaurus.com API
Find synonyms, antonyms, related words, and usage examples for any word instantly. Look up the daily word of the day to expand your vocabulary every day.
verbformen.com API
Search for German words and instantly access their translations, proficiency levels (A1-C2), grammatical categories, and IPA pronunciations to enhance your language learning. Perfect for understanding vocabulary difficulty, finding word meanings, and perfecting your German pronunciation all in one place.
dwds.de API
Look up German words with detailed definitions, pronunciations, and usage examples, or explore curated word lists organized by proficiency level. Search vocabulary, discover random entries, and learn the featured word of the day to build your German language skills.
biblehub.com API
Search Hebrew and Greek biblical lexicon data, explore word morphology and definitions, and analyze interlinear verse translations to deepen your understanding of biblical text. Look up Strong's numbers and linguistic details across both original language systems in one place.
usito.usherbrooke.ca API
Look up French-Canadian word definitions, search for specific terms, and access complete conjugation tables for verbs all in one place. Browse the entire USITO dictionary by letter or explore verb conjugation models to perfect your Quebec French.