Skip to content

On-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. Needs id and keyword length. Served by DataForSEO.

Inputs

2 required
ID
ID of the task required field you can get this ID in the response of the Task POST endpoint example:…Required · id
Keyword length
Number of words for a keyword required field possible values: 1, 2, 3, 4, 5Required · keyword_length
URL
Page URL optional field if you do not specify a page here, the results will be provided for the whole website if you…Optional · url
Limit
The maximum number of returned keywords optional field default value: 100 maximum value: 1000Optional · limit
Filters
Array of results filtering parameters optional field you can add several filters at once (8 filters maximum) you…Optional · filters
Order by
Results sorting rules optional field you can use the same values as in the filters array to sort the results possible…Optional · order_by
Tag
User-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task…Optional · tag

Pricing

Price
Free, no charge per call
Billing
No charge per call. A workspace is still needed so your agent can call it.

Call

Your agent reads the schema and the price with inspect_tool before it runs the tool.

MCP call
cURL command
TypeScript
Tool ID

Alternatives

Site audit (on-page)

Connect your agent to 2,400+ tools for free

Sign in with Google or GitHub. No card required.