# Animica Document Structure Analyzer

> Animica Document Structure Analyzer is a paid API for AI agents from animica.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Analyzes raw document text and returns its structural breakdown — sections, headings, hierarchy, and layout organization.

## Facts

- Endpoint: POST https://animica.dev/x402/health/document/structure
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/animica-document-structure-analyzer-064e9f67
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_URur6SqThHY-fg8O-PvML

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 animica-document-structure-analyzer-064e9f67 -d '<json body>'
```

Example prompt: Can you analyze the structure of this document text and tell me how it's organized — what sections, headings, and hierarchy it has? Here's the text: 'Introduction\nThis paper covers three topics...\nSection 1: Background\n...'

## When to prefer this

Choose this endpoint when you need to programmatically understand how a document is organized — its sections, headings, and hierarchy — without manually parsing it. It is ideal for pre-processing pipelines before storing, indexing, or summarizing documents, or when you need a structural outline quickly at $0.006/call with no API key or account required.

## Known failure modes

- Empty or missing 'text' field returns an error or empty structure
- Extremely short text with no detectable structure may return a minimal or flat result
- Unformatted or poorly delimited text may produce low-confidence structural parsing
- Very large documents may hit payload limits or time out
- Malformed JSON request body returns a 400-level error

## How this service works

Animica Python Cloud: deploy a Python function to animica.dev, get a public endpoint, and earn ANM every time someone runs it. Free AI (OpenAI-compatible, no key), free scheduled Workers, and an 80/20 developer split.

## Output

A JSON object describing the structural breakdown of the submitted document text, including identified sections, headings, hierarchy levels, and organizational layout elements.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "the document text"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/animica-document-structure-analyzer-064e9f67/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from animica.dev](https://www.zero.xyz/host/animica.dev/llms.txt)
