Discover/Datamuse API
live

Datamuse APIdatamuse.com

Find words by meaning, sound, spelling, or rhyme via the Datamuse API. Get definitions, parts of speech, syllable counts, and autocomplete suggestions.

Endpoint health
verified 20h ago
get_autocomplete_suggestions
word_search
get_rhyming_words
get_word_metadata
4/4 passing latest checkself-healing
Endpoints
4
Updated
22d ago

What is the Datamuse API?

The Datamuse API exposes 4 endpoints for querying English (and Spanish) vocabulary by meaning, pronunciation, spelling, and rhyme. The word_search endpoint alone accepts over 8 parameters — including ml for semantic similarity, sl for phonetic matching, and sp for wildcard spelling patterns — and returns up to 1000 ranked word results, optionally annotated with definitions, parts of speech, syllable counts, and frequency data.

Try it
Vocabulary identifier (e.g. es for Spanish)
Left context: a word that precedes the target word
Metadata flags: d (definitions), p (parts of speech), s (syllable count), r (pronunciation), f (frequency)
Means like: find words with a similar meaning
Query echo: prepend a result that describes the query string
Right context: a word that follows the target word
Sounds like: find words with a similar pronunciation
Spelled like: find words with a similar spelling (supports * and ? wildcards)
Set to 1 to include IPA pronunciation in results (requires md=r)
Maximum number of results to return (up to 1000)
Topic hints: one or more comma-separated words to bias results
Antonyms (semantic opposites)
Frequent followers (words that frequently follow the given word)
Frequent predecessors (words that frequently precede the given word)
Holonyms (words that the given word is a part of)
Hyponyms (more specific terms)
Homophones (sound-alike words)
Nouns that the given adjective describes
Adjectives that describe the given noun
Near rhymes (approximate rhymes)
Meronyms (words that are parts of the given word)
Perfect rhymes
Hypernyms (more general terms)
Synonyms (words with the same meaning)
Triggers (statistically associated words)
api.parse.bot/scraper/71e6a4c4-cffd-4e3f-9635-40695f12feab/<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/71e6a4c4-cffd-4e3f-9635-40695f12feab/word_search?ml=happy' \
  -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 datamuse-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.

from parse_apis.datamuse_api import Datamuse

datamuse = Datamuse()

# Search for words meaning "happy"
for word in datamuse.words.search(ml="happy", limit=5):
    print(word.word, word.score, word.tags)

# Get detailed metadata for a specific word
info = datamuse.words.get(word="hello")
print(info.word, info.numSyllables, info.defs)

# Find perfect rhymes for "love"
for rhyme in datamuse.words.rhymes(word="love", limit=5):
    print(rhyme.word, rhyme.score, rhyme.numSyllables)

# Get autocomplete suggestions for a prefix
for suggestion in datamuse.words.autocomplete(s="hel", limit=5):
    print(suggestion.word, suggestion.score)
All endpoints · 4 totalmissing one? ·

General word search with multiple constraints. Supports meanings like, sounds like, spelled like, and various lexical relations (synonyms, antonyms, rhymes, triggers, etc.). At least one search parameter should be provided to get meaningful results. Returns up to 1000 words ordered by relevance score.

Input
ParamTypeDescription
vstringVocabulary identifier (e.g. es for Spanish)
lcstringLeft context: a word that precedes the target word
mdstringMetadata flags: d (definitions), p (parts of speech), s (syllable count), r (pronunciation), f (frequency)
mlstringMeans like: find words with a similar meaning
qestringQuery echo: prepend a result that describes the query string
rcstringRight context: a word that follows the target word
slstringSounds like: find words with a similar pronunciation
spstringSpelled like: find words with a similar spelling (supports * and ? wildcards)
ipaintegerSet to 1 to include IPA pronunciation in results (requires md=r)
maxintegerMaximum number of results to return (up to 1000)
topicsstringTopic hints: one or more comma-separated words to bias results
rel_antstringAntonyms (semantic opposites)
rel_bgastringFrequent followers (words that frequently follow the given word)
rel_bgbstringFrequent predecessors (words that frequently precede the given word)
rel_comstringHolonyms (words that the given word is a part of)
rel_genstringHyponyms (more specific terms)
rel_homstringHomophones (sound-alike words)
rel_jjastringNouns that the given adjective describes
rel_jjbstringAdjectives that describe the given noun
rel_nrystringNear rhymes (approximate rhymes)
rel_parstringMeronyms (words that are parts of the given word)
rel_rhystringPerfect rhymes
rel_spcstringHypernyms (more general terms)
rel_synstringSynonyms (words with the same meaning)
rel_trgstringTriggers (statistically associated words)
Response
{
  "type": "object",
  "fields": {
    "items": "array of word result objects each containing word, score, and optionally tags and numSyllables"
  },
  "sample": {
    "data": {
      "items": [
        {
          "tags": [
            "syn",
            "adj",
            "v",
            "results_type:primary_rel"
          ],
          "word": "pleased",
          "score": 40004395
        },
        {
          "tags": [
            "syn",
            "adj"
          ],
          "word": "blissful",
          "score": 40004156
        }
      ]
    },
    "status": "success"
  }
}

About the Datamuse API

Word Search and Lexical Relations

The word_search endpoint is the core of the API. The ml parameter finds words with similar meanings (e.g., synonyms and near-synonyms), sl matches by pronunciation, and sp supports wildcard patterns using * and ? for flexible spelling queries. You can also request contextual relevance using lc (left context) and rc (right context) to bias results toward words that fit naturally in a phrase. Results include a score field reflecting ranking confidence, and the md parameter controls which metadata is appended: d for definitions, p for parts of speech, s for syllable count, r for pronunciation, and f for word frequency.

Rhymes and Autocomplete

The get_rhyming_words endpoint accepts a word parameter and returns perfect rhymes ranked by score, each result including numSyllables — useful for filtering by metrical constraints in poetry tools. The get_autocomplete_suggestions endpoint takes a prefix string via the s parameter and returns frequency-ordered completions, with an optional max parameter to cap result count. Both endpoints support the v parameter to switch to a Spanish vocabulary.

Word Metadata Lookup

The get_word_metadata endpoint retrieves a full profile for a specific word: defs contains definition strings prefixed with part-of-speech labels (e.g., n the act of...), tags contains part-of-speech codes and IPA-style pronunciation strings, and numSyllables gives the syllable count. The score field is always present but is most meaningful in ranked search results rather than direct lookups.

Reliability & maintenanceVerified

The Datamuse API is a managed, monitored endpoint for datamuse.com — not a raw scraper you maintain. Every endpoint is automatically health-checked on a schedule, and when datamuse.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 datamuse.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
20h ago
Latest check
4/4 endpoints 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
  • Poetry tools that filter rhyme candidates by syllable count using numSyllables from get_rhyming_words
  • Crossword and word game solvers using wildcard sp patterns in word_search
  • Semantic search over vocabulary using ml to expand query terms with similar-meaning words
  • Search-as-you-type UI components powered by frequency-ranked results from get_autocomplete_suggestions
  • Writing assistants that suggest contextually appropriate synonyms using lc and rc context parameters
  • Phonetic spelling correctors using the sl (sounds like) parameter in word_search
  • Vocabulary apps that surface definitions and parts of speech via get_word_metadata
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 Datamuse have an official developer API?+
Yes. Datamuse publishes its own public API at https://www.datamuse.com/api/. The Parse API wraps that same vocabulary data and surfaces it through a consistent interface alongside other data sources.
What does the `word_search` endpoint return beyond just the word string?+
Each result object contains a word string and an integer score reflecting relevance rank. When metadata flags are passed via the md parameter, results also include tags (an array with part-of-speech codes like n, v, adj and IPA pronunciation strings) and defs (definition strings), as well as numSyllables when the s flag is set.
Does the API cover languages other than English?+
Spanish vocabulary is accessible by passing v=es on word_search and get_autocomplete_suggestions. Other languages are not currently covered. You can fork the API on Parse and revise it to point at additional Datamuse vocabulary identifiers if they become available.
Does the API return near-rhymes or only perfect rhymes?+
The get_rhyming_words endpoint returns perfect rhymes only. Near-rhymes (approximate or slant rhymes) are not exposed through that endpoint. You can fork the API on Parse and revise it to add a near-rhyme endpoint using the rel_nry relation parameter available in word_search.
Is there any pagination support across these endpoints?+
word_search returns up to 1000 results in a single response with no cursor or page parameter. get_autocomplete_suggestions and get_rhyming_words support a max parameter to cap result count, but there is no offset or continuation token for paging through additional results beyond that limit.
Page content last updated . Spec covers 4 endpoints from datamuse.com.
Related APIs in Developer ToolsSee all →
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.
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.
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.
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.
musixmatch.com API
Search for song lyrics, metadata, and translations while discovering artist profiles, discographies, and album details all in one place. Build music apps that let you retrieve complete song information, explore artist catalogs, and discover new music through curated feeds.
lyrics.com API
Search and retrieve song lyrics, artist biographies, and album information across multiple genres and artists. Browse music content by artist, letter, or genre, and discover new or random songs to explore.
cambridge.org API
Search and retrieve English vocabulary definitions, phonetics, example sentences, and themed word lists from Cambridge Dictionary. Also access academic journal articles and their DOIs from Cambridge Core.
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.