Research
Datamuse logo

Datamuse API

datamuse.com

Datamuse - lexical API for definitions, synonyms, related words, and metadata export.

Actions
4
Category
Research
Login
Not required
Output
JSON

Call the Datamuse API

Submit a task, then poll the job until it settles. This example runs act_datamuse_means_like_spelling_pattern_lookup.

curl -X POST https://api.anakin.io/v1/wire/task \
  -H "X-API-Key: $ANAKIN_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "action_id": "act_datamuse_means_like_spelling_pattern_lookup",
    "params": {
      "means_like_phrase": "duck",
      "spelling_pattern": "b*"
    }
  }'

4 actions on datamuse.com

Read

  • Means Like Spelling Pattern Lookup

    act_datamuse_means_like_spelling_pattern_lookupread2 credits / call

    Returns words related to a concept and matching a spelling pattern, with scores and tags.

    means_like_phrase
    string · required
    spelling_pattern
    string · required
    max_results
    integer
  • Means Like Word Lookup

    act_datamuse_means_like_word_lookupread1 credit / call

    Returns words related to a concept, ranked with scores and part-of-speech tags.

    means_like_phrase
    string · required
  • Sounds Like Word Lookup

    act_datamuse_sounds_like_word_lookupread1 credit / call

    Returns words that sound like a given term, with relevance scores and syllable counts.

    sounds_like_term
    string · required
  • Word Lookup With Metadata

    act_datamuse_word_lookup_with_metadataread1 credit / call

    Returns words with definitions, pronunciation, frequency, and syllable counts.

    sounds_like_term
    string · required
    metadata_flags
    string

Datamuse API questions

Is there an API for Datamuse?
Datamuse does not offer a public data API for this, but Anakin Wire provides 4 maintained endpoints for datamuse.com. You call Anakin's REST API with an action ID and parameters and get structured JSON back; Anakin handles the browser, proxies, anti-bot, and parsing.
How do I scrape Datamuse data?
POST to https://api.anakin.io/v1/wire/task with your API key, the action ID, and its parameters, then poll GET /v1/wire/jobs/{id} until the job settles. There is nothing to install and no scraper to maintain — when datamuse.com changes its markup, Anakin updates the action.
Do I need a Datamuse account?
No. Every Datamuse action listed here runs anonymously — no account and no credentials required.
What does the Datamuse API cost?
Usage-based credits, charged per call and refunded automatically when a job fails. New accounts start with 300 free credits and no card. See anakin.io/pricing for the current rates.

More Research APIs

All Research sites