Extract keywords
The most important keywords and key phrases of a text, most relevant first. Use for tagging, SEO, search indexing and topic detection.
Inputs
| Name | Type | Description |
|---|---|---|
text (required) | string | Text, up to 12,000 characters |
count | integer | How many, 3-30 (default 10) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://agent-data-tools.revmesh2074.workers.dev/ai/keywords?text=Cloudflare%20Workers%20run%20JavaScript%20at%20the%20edge.%20Workers%20AI%20adds%20GPU%20inference%20for%20open%20models."
Or one of your 25 free calls, no key:
curl "https://agent-data-tools.revmesh2074.workers.dev/ai/keywords?text=Cloudflare%20Workers%20run%20JavaScript%20at%20the%20edge.%20Workers%20AI%20adds%20GPU%20inference%20for%20open%20models.&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum, Monad, World Chain or Tempo) and retries.
Example result
{
"keywords": [
"Cloudflare Workers",
"Workers AI",
"edge computing",
"GPU inference",
"open models"
],
"model": "@cf/meta/llama-3.1-8b-instruct-fp8"
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is ai_keywords, and the first 25 successful calls are free:
https://agent-data-tools.revmesh2074.workers.dev/mcp