PeumeAPI

Search & SEO

Page keyword density

This endpoint will provide you with keyword density and keyword frequency data for terms appearing on the specified website or web page.

$0.0005 per call

Call it

curl https://api.peume.com/v1/call/page-keyword-density \
  -H "Authorization: Bearer $PEUME_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "input": {
    "id": "09101923-1535-0216-0000-2389a8854b70",
    "keyword_length": 2,
    "url": "https://example.com/",
    "filters": [
      "frequency",
      ">",
      5
    ]
  }
}'

Answer: {"id": "run_…", "status": "completed", "cost_usd": …, "output": {…}}. Long jobs answer 202 with a run id to read later. From an AI agent, connect the MCP server and ask for this by name: page-keyword-density.

Parameters

idstring

ID of the task required field you can get this ID in the response of the Task POST endpoint example: “07131248-1535-0216-1000-17384017ad04”

Example: 09101923-1535-0216-0000-2389a8854b70

keyword_lengthinteger

number of words for a keyword required field possible values: 1, 2, 3, 4, 5

Example: 2

urlstring

page URL optional field if you do not specify a page here, the results will be provided for the whole website if you use this field, the API response will contain only keywords from the specified page a page should be specified with absolute URL (including http:// or https://)

Example: https://example.com/

limitinteger

the maximum number of returned keywords optional field default value: 100 maximum value: 1000

filtersarray

array of results filtering parameters optional field you can add several filters at once (8 filters maximum) you should set a logical operator and, or between the conditions the following operators are supported: regex, not_regex, =, <>, in, not_in, like, not_like you can use the % operator with lik

Example: ["frequency",">",5]

order_byarray

results sorting rules optional field you can use the same values as in the filters array to sort the results possible sorting types: asc – results will be sorted in the ascending order desc – results will be sorted in the descending order you should use a comma to set up a sorting type example: ["fr

tagstring

user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data object of the response

Start free · $1 of calls included

Every API your product needs. One key.

7,267 endpoints, one bill, and you only pay for calls that work.