{"uid":"cap_4RfMtgfMHT0IG15DcUCT3","slug":"2s-io-a78b8982","name":"2s.io Related Word Lookup","description":"Related-word lookup via Datamuse. Supply a seed word and a relation kind: rhymes, near-rhymes, synonyms, antonyms, means (semantic match), triggers (associated by usage), homophones, sounds-like (phonetic neighbour), spelled-like (typo / wildcard), follows-from (words that come after), preceded-by (words that come before). Returns ranked candidates with relevance score, syllable count, and grammatical tags. Useful for content generation, rhyme/poetry, vocabulary expansion, and naming agents.","url":"https://2s.io/api/word/related","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"required":["word","relation"],"properties":{"word":{"type":"string"},"limit":{"type":"integer","default":25,"maximum":100,"minimum":1},"relation":{"enum":["rhymes","near-rhymes","synonyms","antonyms","means","triggers","homophones","sounds-like","spelled-like","follows-from","preceded-by"],"type":"string"}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"word":"moon","limit":10,"relation":"rhymes"}}},"response":{"data":{"word":"moon","source":{"url":"https://www.datamuse.com/api/","license":"Free public API. Underlying lexica include WordNet (BSD-style) and others.","provider":"Datamuse word-finding API"},"fetched":10,"results":[{"tags":[],"word":"croon","score":65031,"numSyllables":1},{"tags":[],"word":"lagoon","score":29045,"numSyllables":2},{"tags":[],"word":"picayune","score":25037,"numSyllables":3},{"tags":[],"word":"goon","score":24037,"numSyllables":1},{"tags":[],"word":"commune","score":16039,"numSyllables":2},{"tags":[],"word":"opportune","score":16033,"numSyllables":3},{"tags":[],"word":"hewn","score":16025,"numSyllables":1},{"tags":[],"word":"festoon","score":13040,"numSyllables":2},{"tags":[],"word":"lampoon","score":12041,"numSyllables":2},{"tags":[],"word":"saloon","score":12036,"numSyllables":2}],"relation":"rhymes"},"meta":{"cost":{"usd":0.0012,"tier":0},"caller":"x402","version":null,"endpoint":"word.related","settlement":{"txHash":"0xad3953cecfb5e20c9077dbb130563aac916c9b3db1f057ac4b825356219af014","network":"eip155:8453","success":true}}}},"exampleRequest":{"word":"moon","limit":10,"relation":"rhymes"},"tags":["x402"],"displayCostAmount":"0.0012","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.0012/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_grT5YL1Z9NgFZ9YDxbhhl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns ranked related words for a seed word given a specified linguistic relation (rhymes, synonyms, antonyms, homophones, etc.) with relevance scores and grammatical tags.","exampleAgentPrompt":"Can you find me the top 10 words that rhyme with 'moon'? I need ranked candidates with their syllable counts for a poem I'm writing.","exampleUseCases":null,"resultDescription":"A ranked list of candidate words matching the specified relation to the seed word, each with a relevance score, syllable count, and grammatical part-of-speech tags. Results are sorted by relevance descending, up to the requested limit (default 25, max 100).","failureModes":["Missing required 'word' parameter returns validation error","Missing required 'relation' parameter returns validation error","Invalid 'relation' enum value returns error","No matching words found returns empty result list","Limit out of range (0 or >100) returns validation error","Payment failure (x402) returns 402 with payment details"],"whenToPreferThis":"Use this endpoint when you need linguistically structured word relationships (rhymes, synonyms, antonyms, homophones, phonetic neighbors, collocations) with ranked scores and syllable metadata — ideal for poetry generation, naming tasks, vocabulary expansion, or autocomplete suggestions. Prefer over generic LLM word suggestions when you need scored, canonically ranked candidates backed by a lexical database.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:56:26.520Z","isFirstParty":false}