Keyword Extraction API
Extract the key phrases and most frequent words of any text in 50+ languages (RAKE algorithm with language stopwords). Auto language detection, scores and counts.
Authentication & base URL
Subscribe through one of our marketplace listings; your marketplace API key and base URL are shown there. All endpoints return JSON over HTTPS, served from a global edge network (typically 20–150 ms).
Endpoints
GET /v1/keywords
Extract keywords
| Parameter | In | Description | Example |
|---|---|---|---|
text * | query | Text to analyze (max 100,000 characters) | Cloudflare Workers let developers deploy serverless code to a global edge network with low latency and automatic scaling. |
lang | query | ISO 639-1 language code or auto (default) | auto |
limit | query | Max keyphrases and words (1-50, default 10) | 10 |
max_words | query | Max words per keyphrase (1-5, default 3) | 3 |
POST /v1/keywords
Extract keywords (long text in body)
Request body: text/plain
| Parameter | In | Description | Example |
|---|---|---|---|
lang | query | ISO 639-1 language code or auto | auto |
limit | query | Max results (1-50) | 10 |
Example
GET /v1/keywords?text=Cloudflare+Workers+let+developers+deploy+serverless+code+to+a+global+edge+network+with+low+latency+and+automatic+scaling.&lang=auto&limit=10&max_words=3
{
"language": "en",
"keyphrases": [
{
"keyword": "global edge network",
"score": 9,
"occurrences": 1
},
{
"keyword": "cloudflare workers",
"score": 4,
"occurrences": 1
},
{
"keyword": "automatic scaling",
"score": 4,
"occurrences": 1
},
{
"keyword": "latency",
"score": 1,
"occurrences": 1
}
],
"topWords": [
{
"word": "cloudflare",
"count": 1
},
{
"word": "workers",
"count": 1
},
{
"word": "global",
"count": 1
},
{
"word": "edge",
"count": 1
},
{
"word": "network",
"count": 1
},
{
"word": "latency",
"count": 1
},
{
"word": "automatic",
"count": 1
},
{
"word": "scaling",
"count": 1
}
],
"wordCount": 18,
"method": "RAKE (Rapid Automatic Keyword Extraction) with language stopwords"
}Extract the key phrases and most frequent words of any text in 50+ languages (RAKE algorithm with language stopwords). Auto language detection, scores and counts.
Use cases
SEO tags and meta keywords, article tagging, search indexing, topic discovery in reviews, auto-generated hashtags, content analytics.
Why this API
- 50+ languages with stopword lists (English, Spanish, French, German, Portuguese, Italian, Dutch, Russian…).
- Key phrases (multi-word) plus single-word frequencies in one call.
- Fast and deterministic: no AI costs.
Pricing
Free plan with 500 calls per month, then Pro (25,000 calls for $4.99/month) and Ultra (150,000 calls for $14.99/month). See all plans.