Skip to content
Catalog

cn8/text-keywords

Send a `text` and get back two ranked lists: `keywords` (single words) and

Learn more about Keyword Extraction
Text NLPsyncInstant previewtextanalysisnlp

Try it

Document

Result

Results show up here

The sample input is ready — just hit Run.

Overview

Send a text and get back two ranked lists: keywords (single words) and keyphrases (short multi-word phrases), each with a relevance score. Both lists come back sorted, highest first, so you can use them right away. Responses are synchronous. Great for SEO and metadata, search indexing and quick content summaries.

Key capabilities

Keywords and keyphrases

Two ranked lists in one response — single keywords and short multi-word phrases.

Relevance scoring

Each term is scored for how well it represents the document.

Pre-ranked output

Both lists arrive sorted by score, highest first — no extra sorting needed.

Multilingual

Extracts terms across many languages.

When to use it

SEO and metadata

Auto-generate keywords and tags for articles, pages and product listings.

Search indexing

Enrich documents with extracted terms for better full-text search.

Quick content summary

Get a keyword snapshot of a long document at a glance.

Input & output

input

text: a single string to analyze.

JSON body

output

A keywords[] list and a keyphrases[] list, both ranked by score.

JSON

Guides & tips

How it works

  • Candidate words and short phrases are pulled from your text and scored for relevance.
  • Both lists come back ranked by score, highest first.
  • You always receive both keywords (single words) and keyphrases (multi-word phrases) — use whichever you need.

Tips

  • Send one text per request as {text: "..."}.
  • Keyword entries use the field keyword; keyphrase entries use the field phrase.
  • Keyphrases often capture useful concepts even when the individual words look generic — use them for headlines and tags, and keywords for indexing.

Specs

Latency
Typically 0.5–2 seconds
Async
false
Rate Limit
Per API key
Max Input
No hard limit; longer texts surface more terms

Schema

Request body

textrequiredstring

The text to analyze.

Response

keywordsarray<object>

Single-word keywords, ranked by score. Each item is {keyword, score}.

keyphrasesarray<object>

Multi-word phrases, ranked by score. Each item is {phrase, score} — the field is `phrase`, not `keyword`.

Pricing

Billed per request.

ServiceUnitPrice
Keyword Extractionitem$0.004/request

FAQ

Related models