Catalog/text-keywords

Text

Ranked keywords & keyphrases via RAKE API

Extract ranked keyphrases with RAKE (split into candidate phrases at stop-words and punctuation, then score each word by deg(word)/freq(word) over the co-occurrence graph and sum into phrase scores), plus single-word term frequencies and scores. The extraction algorithm is the value-add, not a raw word count. Answers 'extract keywords from this', 'what are the key phrases', 'RAKE keyword extraction', 'rank the important terms'.

Price$0.01per request
MethodPOST
Route/v1/text/keywords
StatusLive
MIME typeapplication/json
Rate limit60/minute
CacheNo cache
textkeywordskeyphrasesraketfextractionnlptags
API URLhttps://x402.hexl.dev/v1/text/keywords
Integration docs
Example request
{
  "text": "Compatibility of systems of linear constraints over the set of natural numbers."
}
Example response
{
  "keyphrases": [
    {
      "phrase": "linear constraints",
      "score": 4
    },
    {
      "phrase": "natural numbers",
      "score": 4
    },
    {
      "phrase": "systems",
      "score": 1
    },
    {
      "phrase": "compatibility",
      "score": 1
    },
    {
      "phrase": "set",
      "score": 1
    }
  ],
  "keywords": [
    {
      "word": "linear",
      "count": 1,
      "score": 2
    },
    {
      "word": "constraints",
      "count": 1,
      "score": 2
    },
    {
      "word": "natural",
      "count": 1,
      "score": 2
    },
    {
      "word": "numbers",
      "count": 1,
      "score": 2
    }
  ],
  "candidateCount": 5,
  "uniqueWords": 7
}
Input schema
{
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "examples": [
        "Compatibility of systems of linear constraints over the set of natural numbers."
      ]
    },
    "limit": {
      "type": "number",
      "examples": [
        10
      ]
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}