Keyword Extractor API
Extract ranked keywords and keyphrases from any text with relevance scores.
Automatically identify the most relevant keywords and multi-word keyphrases from any text. Each keyword is returned with a relevance score (0–1), occurrence count, and type classification (single word vs. phrase). Supports automatic language detection and configurable result limits. Built for SEO analysis, content tagging, search indexing, and NLP pipelines.
How it works
Three steps. No complex setup.
Send the text to analyze
Pass the text as a string in the `text` field. Optionally set the maximum number of keywords with `max_keywords` (default 10, maximum 30).
Semantic analysis with LLM
The service identifies relevant keywords and keyphrases, calculates a relevance score (0–1) for each, counts occurrences, and classifies each term as a single word or multi-word phrase.
Receive keywords ranked by relevance
The response includes the keyword array with score, type and occurrences, the total found, the detected language (ISO 639-1), and the top keyword of the text.
Who is it for?
Response example
Real input and output. What you send and what you get back.
// Input
{
"text": "Machine learning is transforming the way companies analyze customer data. Deep learning models and neural networks are now core tools in data science pipelines.",
"max_keywords": 8
}// Output
{
"keywords": [
{
"keyword": "machine learning",
"score": 0.97,
"type": "phrase",
"occurrences": 1
},
{
"keyword": "deep learning",
"score": 0.94,
"type": "phrase",
"occurrences": 1
},
{
"keyword": "neural networks",
"score": 0.91,
"type": "phrase",
"occurrences": 1
},
{
"keyword": "data science",
"score": 0.88,
"type": "phrase",
"occurrences": 1
},
{
"keyword": "customer data",
"score": 0.82,
"type": "phrase",
"occurrences": 1
},
{
"keyword": "pipelines",
"score": 0.71,
"type": "single",
"occurrences": 1
},
{
"keyword": "transforming",
"score": 0.65,
"type": "single",
"occurrences": 1
},
{
"keyword": "companies",
"score": 0.58,
"type": "single",
"occurrences": 1
}
],
"total_found": 8,
"language_detected": "en",
"top_keyword": "machine learning"
}Try it now
// live demo — no account needed to try
Playground
Integrate into your project
Copy and paste. Replace YOUR_API_KEY with your real key.
curl -X POST https://jsnhengine.com/api/trpc/keywordExtractor.extract \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '{"json": {"text":"Machine learning is transforming the way companies analyze customer data. Deep learning models and neural networks are now core tools in data science pipelines.","max_keywords":8}}'Why choose JSNH Engine Lab
Low latency
Responses in under 200ms
Secure authentication
API keys with per-plan rate limiting
Usage tracking
Every request logged with metrics
Production ready
Input validation and typed errors
Frequently asked questions
Everything you need to know before integrating.
Other modules
Expand your integration with more APIs from the catalogue.
Email Validator API
Validate email addresses instantly. Detect fake, disposable and invalid emails.
1 token / call →
Phone Validator API
Validate phone numbers from any country. Detect carrier, line type and E.164 format.
1 token / call →
URL Checker API
Verify URL accessibility, detect redirects, and extract SEO metadata instantly.
2 tokens / call →
// production ready
Start using Keyword Extractor API
Sign up free and get 1,000 tokens to start. No credit card. No complex setup.