Keyword extraction API: keyphrases with RAKE
Updated 2026-10-08
Use when an agent needs the key phrases of a text without calling a language model.
From an MCP client, add https://tanod.dev/mcp and call text_keywords; its free daily calls are applied automatically, no key or signup.
Pull the key phrases out of a document for tags, search indexing or a quick topic overview. The endpoint uses RAKE: candidate phrases are the runs of words between stop words and punctuation, scored by word degree divided by frequency. Multi-word technical phrases score highest.
Request
curl -s -X POST https://tanod.dev/v1/text/keywords \
-H 'content-type: application/json' -H 'X-Tanod-Free: 1' \
-d '{"text": "Compatibility of systems of linear constraints over the set of natural numbers. Criteria of compatibility of a system of linear Diophantine equations, strict inequations, and nonstrict inequations are considered. Upper bounds for components of a minimal set of solutions and algorithms of construction of minimal generating sets of solutions for all types of systems are given.", "top_n": 3}'Response
{
"keywords": [
{
"phrase": "linear diophantine equations",
"score": 8.5,
"count": 1
},
{
"phrase": "minimal generating sets",
"score": 8.5,
"count": 1
},
{
"phrase": "linear constraints",
"score": 4.5,
"count": 1
}
],
"candidates": 20,
"method": "rake",
"language": "en"
}Limits and caveats
- RAKE is statistical: it has no notion of meaning, so it favours long, specific phrases over single common words.
top_nsets how many phrases come back. Thecandidatesfield shows how many it considered.- For word counts or n-grams rather than phrases, use
/v1/text/frequency.
Price and free allowance
USD 0.002 per call, paid in USDC on Base, Polygon, Solana, BNB Chain or Arbitrum with x402. 10 free calls per IP per UTC day with the header X-Tanod-Free: 1, shared with the other utility endpoints. MCP tool: text_keywords at https://tanod.dev/mcp (or the focused text server at https://tanod.dev/mcp/text), where the free tier is automatic. No signup and no API key.
Use it from Claude without writing code: in claude.ai or Claude Desktop, add https://tanod.dev/mcp/text?via=keyword-extraction-api as a custom connector (steps), then ask in plain words, for example "What are the most frequent words in this article?" The free daily allowance is applied automatically over MCP. Beyond it a call needs an x402 payment, which these clients can make.
Updated 2026-10-08. Related guides: Sentiment analysis API, Text summarization API, Spell check API. All guides, or back to tanod.dev.