Skip to content
Utilerio
All endpoints

Keyword Density Analyzer

POST/api/v1/tools/keyword-density-analyzer

See the top single words and phrases in a text, with a density check for a focus keyword.

Authentication

Requires an API key in the X-API-Key header.

Try it

POST/api/v1/tools/keyword-density-analyzer

Parameters

textstringrequired

Text to analyze.

langstringoptional

Language for stopword filtering and tokenizing. Default en.

entr
focusKeywordstringoptional

Optional keyword/phrase to count occurrences of.

Request body

{
  "text": "SEO tools help you rank. Good SEO tools save time.",
  "lang": "en",
  "focusKeyword": "SEO tools"
}

Response codes

  • 200Success.
  • 400Invalid request — check your body or parameters.
  • 401Missing or invalid API key.
  • 403The API key is not scoped to this endpoint.
  • 429Rate limit exceeded — retry after a short wait.

Language

cURL

Request

curl -X POST https://utilerio.com/api/v1/tools/keyword-density-analyzer \
  -H "X-API-Key: YOUR_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text":"SEO tools help you rank. Good SEO tools save time.","lang":"en","focusKeyword":"SEO tools"}'

Response

{ "totalWords": 9, "topWords": [{ "phrase": "seo", "count": 2, "percent": 22.2 }], "focusKeyword": "seo tools", "focusCount": 2, "focusPercent": 22.2 }