# Mat Web & Data Toolkit – Keyword & Bigram Extraction

> Mat Web & Data Toolkit – Keyword & Bigram Extraction is a paid API for AI agents from automatom.matt-d59.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-18).

Analyzes text or a URL's content to extract keyword frequencies, bigrams, word counts, and density percentages as structured JSON.

## Facts

- Endpoint: GET https://automatom.matt-d59.workers.dev/keywords?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/mat-web-data-toolkit-keyword-bigram-extraction-2a1bffea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_eY8kPHc3kS8zzOrUEj8yf

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 mat-web-data-toolkit-keyword-bigram-extraction-2a1bffea
```

Example prompt: Can you analyze the keywords and bigrams on https://example.com/blog/ai-agents and tell me which terms appear most frequently and their density percentages?

## When to prefer this

Choose this endpoint when you need fast, structured keyword and bigram frequency analysis from either a live URL or raw text, especially for SEO auditing, competitive research, or content optimization. Prefer it over general-purpose scrapers when you specifically need term density metrics and bigram extraction in a single call.

## Known failure modes

- Invalid or unreachable URL returns an error or empty result
- Text input too short yields statistically meaningless density values
- Private or paywalled pages may return incomplete or no content
- Missing required 'input' parameter causes a 400-level error
- Rate limiting or payment failure (x402) blocks the request

## How this service works

Fetches a public web page and returns its title, meta description, outbound links and readable plain text as JSON.

## Output

Returns a JSON object containing total word count, count of unique words, an array of keywords (each with term, occurrence count, and density percentage), and an array of bigrams (two-word phrases, each with term, count, and density percentage).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [],
     "properties": {
      "url": {
       "type": "string"
      },
      "text": {
       "type": "string"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "words": 15,
  "bigrams": [
   {
    "term": "agents pay",
    "count": 2,
    "density_pct": 13.33
   },
   {
    "term": "payments let",
    "count": 1,
    "density_pct": 6.67
   }
  ],
  "keywords": [
   {
    "term": "agents",
    "count": 2,
    "density_pct": 13.33
   },
   {
    "term": "pay",
    "count": 2,
    "density_pct": 13.33
   }
  ],
  "unique_words": 13
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/mat-web-data-toolkit-keyword-bigram-extraction-2a1bffea/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from automatom.matt-d59.workers.dev](https://www.zero.xyz/host/automatom.matt-d59.workers.dev/llms.txt)
