# Delx Commerce Keyword Density Analyzer

> Delx Commerce Keyword Density Analyzer is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-01).

Counts occurrences and calculates density percentages of specified keywords within a supplied text block

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/keyword-density?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-keyword-density-analyzer-082a6fcb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_oJCmxTpT-h0qztSGONaXB

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability delx-commerce-keyword-density-analyzer-082a6fcb -d '<json body>'
```

Example prompt: Analyze this blog post draft for keyword density — check how often 'agent' and 'automation' appear: 'AI agents are transforming automation. Agents handle complex automation workflows without human input. The rise of agent-based automation is accelerating.'

## When to prefer this

Choose this endpoint when you need a fast, cheap, pay-per-call keyword frequency and density computation without spinning up your own NLP pipeline. It is ideal for SEO audits, content optimization checks, and any agent workflow that needs to verify keyword saturation in a text snippet. At $0.003 per call with no signup required and USDC micropayment settlement, it suits high-frequency programmatic content analysis where per-call cost matters.

## Known failure modes

- Empty or missing text field returns no meaningful density results
- Keywords array is empty — response will list no keyword results
- Extremely long text may hit payload limits
- Non-UTF-8 encoded text may cause parsing errors
- Misspelled keywords will return zero counts since matching is exact

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a JSON object with the schema identifier, a list of keyword results (each with the keyword string, its raw count, and its density as a percentage of total words), and the total word count of the input text.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "UTF-8 text to encode, chunk, index, or analyze (caller-supplied only)."
  },
  "keywords": {
   "type": "array",
   "description": "Keywords or phrases to measure inside the supplied text."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "schema": "delx/util-keyword-density/v1",
  "keywords": [
   {
    "count": 2,
    "keyword": "agent",
    "density_percent": 40
   },
   {
    "count": 1,
    "keyword": "commerce",
    "density_percent": 20
   }
  ],
  "word_count": 5
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-keyword-density-analyzer-082a6fcb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
