How to hit the Datamuse API

Datamuse at https://api.datamuse.com is a word-finding engine: rhymes, synonyms, words that sound like or are spelled like others, and autocomplete.

Authentication

None — no key, no signup. Every example runs as-is.

Full reference: https://www.datamuse.com/api/

Words that rhyme

curl "https://api.datamuse.com/words?rel_rhy=taco&max=5"
Run in PostTaco
Example response (trimmed)
[
  {
    "word": "socko",
    "score": 3012,
    "numSyllables": 2
  },
  {
    "word": "mako",
    "score": 2026,
    "numSyllables": 2
  }
]

Words with a similar meaning

curl "https://api.datamuse.com/words?ml=fast&max=5"
Run in PostTaco
Example response (trimmed)
[
  {
    "word": "tight",
    "score": 40020421,
    "tags": [
      "syn",
      "adj"
    ]
  },
  {
    "word": "instantaneous",
    "score": 40018793,
    "tags": [
      "syn",
      "adj"
    ]
  }
]

Autocomplete

The endpoint behind a search box's suggestions.

curl "https://api.datamuse.com/sug?s=reque&max=5"
Run in PostTaco
Example response (trimmed)
[
  {
    "word": "request",
    "score": 163076
  },
  {
    "word": "requested",
    "score": 151054
  }
]