Datamuse · Example Payload

Datamuse Getsuggestions Example

Word FindingLexical SearchNatural LanguageVocabularySynonymsAntonymsRhymesPhoneticsSemantic SearchReverse DictionaryAutocompleteWordplayCreative WritingVocabulary AppsWord GamesLinguisticsOpen Source ProjectsPublic APIs

Datamuse Getsuggestions Example is an example object payload from Datamuse, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdrequestresponse

Example Payload

Raw ↑
{
  "operationId": "getSuggestions",
  "request": {
    "method": "GET",
    "url": "https://api.datamuse.com/sug",
    "queryParameters": {
      "s": "rawn",
      "max": 5
    }
  },
  "response": {
    "status": 200,
    "body": [
      { "word": "prawn", "score": 1500 },
      { "word": "drawn", "score": 1420 },
      { "word": "brawny", "score": 980 },
      { "word": "rawness", "score": 760 },
      { "word": "crawl", "score": 540 }
    ]
  }
}