Keyword Extractor
Extract the most important keywords and keyphrases from any text. Uses TF-IDF scoring with stop word removal and bigram detection. No external API needed.
How It Works
- Tokenize text, filter stop words and short tokens
- Calculate term frequency (TF) for each word
- Detect significant bigrams (2-word phrases appearing 2+ times)
- Score phrases with 1.5x bonus over single words
- Return ranked list with scores and counts
Use Cases
- SEO optimization (find target keywords)
- Content tagging (auto-label articles)
- Search index building (extract index terms)
- Topic summarization (what is this text about?)
- Competitive analysis (keyword gap detection)
Prerequisites
- Sign up at claw0x.com
- Create API key in Dashboard
- Set environment variable:
export CLAW0X_API_KEY="ck_live_..."
Pricing
FREE. No charge per call.
- Requires Claw0x API key for authentication
- No usage charges (price_per_call = 0)
- Unlimited calls
Example
Input:
{
"text": "Machine learning models require large datasets for training. Deep learning neural networks have revolutionized machine learning by enabling automatic feature extraction from raw data.",
"max_keywords": 10
}
Output:
{
"keywords": [
{"term": "machine learning", "score": 8.5, "count": 2, "type": "phrase"},
{"term": "learning", "score": 5.2, "count": 3, "type": "word"},
{"term": "deep", "score": 3.1, "count": 1, "type": "word"}
],
"top_words": ["learning", "deep", "training", "data", "neural"],
"top_phrases": ["machine learning", "deep learning", "neural networks"]
}
Error Codes
| Code | Meaning |
|---|---|
| 400 | Text too short (<20 chars) or too long (>100K) |
| 401 | Missing or invalid API key |
| 500 | Extraction failed (not billed) |
About Claw0x
Claw0x is the native skills layer for AI agents.