Datamuse Words API
Under maintenancePricing
Pay per usage
Datamuse Words API
Under maintenanceQuery the official Datamuse API for rhymes, synonyms, antonyms, and semantically-related words — each returned with a score and syllable count. Fully keyless, no API key required.
Pricing
Pay per usage
Rating
0.0
(0)
Developer
Bruno Finger
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
0
Monthly active users
15 days ago
Last modified
Categories
Share
Query the official Datamuse API for rhymes, synonyms, antonyms, and semantically-related words for any input word(s). Each result is returned with a match score and numSyllables. Completely keyless and free — no API key, token, or paid tier required.
Input
|| Field | Type | Required | Default | Description |
||---|---|---|---|---|
|| words | array[string] | yes | — | List of input words to look up (e.g. ["hello"]). |
|| relationship | string | no | rel_rhy | Word relationship to query: rel_rhy (rhymes), rel_syn (synonyms), rel_ant (antonyms), rel_bga (words that often follow), or rel_trg (related/triggered by). |
|| max | integer | no | 1000 | Maximum results per word (Datamuse caps at 1000). |
Find rhymes for a word:
{"words": ["hello"], "relationship": "rel_rhy"}
Find synonyms for several words:
{"words": ["hello", "world"],"relationship": "rel_syn","max": 100}
Output
One dataset item per input word containing: word, inputWord, relationship, count, matches[] (each with word, score, numSyllables), and sourceUrl. Empty results are emitted as a record with count: 0 and no error (a valid no-match response). Each input word is one $0.001 pay-per-event charge (word-searched event).
Usage
cd datamuse-wordspython3 -m venv .venv. .venv/bin/activatepip install -r requirements.txtecho '{"words": ["hello"], "relationship": "rel_rhy"}' > storage/key_value_stores/default/INPUT.jsonpython src/main.py
Pricing
PAY_PER_EVENT — $0.001 per word-searched event (one per input word queried).
Related actors
- Free Dictionary API — word definitions, phonetics, pronunciation audio, and examples
- OpenAlex Paper Search — scholarly works, citations, authors, and topics
- Hacker News Story Stats — Hacker News front page and search stats via the Algolia API