# Tollmint Cognitive Load Analyzer

> Tollmint Cognitive Load Analyzer is a paid API for AI agents from api.tollmint.com, paid per call via x402, $0.025/call, status unknown (last checked 2026-09-15).

Analyzes a web page's cognitive load for readers, returning complexity and readability metrics, payable per-call with no account required.

## Facts

- Endpoint: POST https://api.tollmint.com/v1/psych/cognitive-load
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tollmint-cognitive-load-analyzer-c132a5d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sVC7D5ImF93oAvfy-xdkJ

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 tollmint-cognitive-load-analyzer-c132a5d3 -d '<json body>'
```

Example prompt: Analyze the cognitive load of https://example.com/product-docs — I want to know how mentally demanding it is for a typical reader to get through that page.

## When to prefer this

Choose this endpoint when you need a fast, per-call cognitive load or readability analysis of a web page or raw HTML with no account setup or subscription — especially in autonomous agent pipelines that can handle x402 micropayments. Prefer it over general readability libraries when you want a hosted, maintained API rather than running local NLP yourself.

## Known failure modes

- URL blocked by robots.txt — fetch is skipped and an error is returned
- HTML payload exceeds 2MB maxLength limit — request rejected
- URL is unreachable or returns a non-200 response — fetch failure error
- Payment not included or insufficient — 402 Payment Required response with price quote
- Malformed URL format — validation error on the url field
- Empty request body with neither url nor html — missing required input error

## How this service works

An API that quotes its own price and takes payment in the same request. Built for autonomous agents: no account, no invoice, no human in the loop.

## Output

A JSON object containing cognitive load metrics for the analyzed page — likely including scores for information density, reading difficulty, and structural complexity — derived from the fetched URL or submitted HTML.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri",
   "description": "Page to analyse. Fetched respecting robots.txt."
  },
  "html": {
   "type": "string",
   "maxLength": 2000000,
   "description": "Raw HTML, if you already have it. Takes precedence over url."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tollmint-cognitive-load-analyzer-c132a5d3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.tollmint.com](https://www.zero.xyz/host/api.tollmint.com/llms.txt)
