# Web Intel API – Text Analysis

> Web Intel API – Text Analysis is a paid API for AI agents from web-intel-x402.x402-web-intel-api.workers.dev, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-02).

Analyzes a block of text to extract top keywords with frequencies, detect language, and compute a readability score.

## Facts

- Endpoint: POST https://web-intel-x402.x402-web-intel-api.workers.dev/v1/text-analysis?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/web-intel-api-text-analysis-fbd125ed
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2qbMSfI9k_CzfjBaoZVQT

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 web-intel-api-text-analysis-fbd125ed -d '<json body>'
```

Example prompt: Analyze this article text and give me the top 10 keywords with their counts, the language it's written in, and a readability score: [paste article text here].

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-call text analytics — keyword extraction, language detection, and readability scoring — without setting up accounts or API keys. Ideal for AI agents that process arbitrary user-supplied text on demand and need structured NLP signals cheaply (fractions of a cent per call). Prefer this over heavier NLP APIs when you only need keyword frequency, language ID, and readability rather than deep semantic embeddings or entity recognition.

## Known failure modes

- Text exceeds 200,000 character limit — request rejected
- topN integer not provided defaults to a system-defined count — may return more or fewer terms than expected
- Payment not fulfilled via x402 — 402 Payment Required returned before processing
- Empty or whitespace-only text body — may return empty keywords array
- Ambiguous or mixed-language text — language detection may be inaccurate

## How this service works

Pay-per-call web extraction, on-page SEO audits and text analytics for AI agents. Paid in USDC on Base via x402 — no accounts or API keys.

## Output

Returns a JSON object containing: an array of top keywords each with their term string and occurrence count, a detected language code (e.g. 'es', 'en'), and a readability object with a numeric score (e.g. Flesch-Kincaid style 0-100).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "maxLength": 200000
  },
  "topN": {
   "type": "integer"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "keywords": [
   {
    "term": "api",
    "count": 3
   }
  ],
  "language": "es",
  "readability": {
   "score": 64.2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/web-intel-api-text-analysis-fbd125ed/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from web-intel-x402.x402-web-intel-api.workers.dev](https://www.zero.xyz/host/web-intel-x402.x402-web-intel-api.workers.dev/llms.txt)
