# api-agent-ia Structured JSON Extractor

> api-agent-ia Structured JSON Extractor is a paid API for AI agents from api.api-agent-ia.ch, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-23).

Parses raw unstructured text and returns a structured JSON object with named fields and values extracted from that text

## Facts

- Endpoint: POST https://api.api-agent-ia.ch/extraire-structure?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-agent-ia-structured-json-extractor-a72fac7b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Nr1hVMFwYqF6GsyQVxowh

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 api-agent-ia-structured-json-extractor-a72fac7b -d '<json body>'
```

Example prompt: Can you extract the structured data from this text as JSON: 'Red oak chair, price 149 euros, features include solid wood frame, ergonomic backrest, and adjustable height'?

## When to prefer this

Choose this endpoint when you need to convert raw, freeform natural language text into a machine-readable JSON structure without knowing the schema in advance. It is ideal for parsing product descriptions, user-submitted forms, supplier data, or any unstructured text where you need named fields extracted automatically. Prefer it over regex or template-based parsers when the text format is variable or unpredictable.

## Known failure modes

- Empty or very short text may yield an empty JSON object or minimal fields
- Highly ambiguous text may produce incorrectly mapped fields
- Non-standard languages or domain jargon may reduce extraction accuracy
- Malformed or extremely long input strings may cause errors or truncation
- If the text contains no structured information, the returned JSON may be nearly empty

## How this service works

Need clean data from messy text? Extracts structured JSON with AI from up to 8000 characters (POST {"text"}): a product (name, price, features), an email (sender, recipients, subject, date, summary, actions) or other key fields; keys and generated text in French ($0.01 per call).

## Output

A JSON object with named fields and values automatically inferred from the input text. Fields, types, and nesting reflect the semantic content of the input — for example, a product description yields fields like name, price, and a list of characteristics. The structure adapts to the content of the provided text.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "nom": "Chaise de bureau ergonomique ErgoPro 300",
  "prix": 249,
  "type": "produit",
  "caracteristiques": [
   "Dossier en maille respirante",
   "Soutien lombaire réglable",
   "Accoudoirs 4D",
   "Roulettes silencieuses",
   "Garantie 5 ans"
  ]
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-agent-ia-structured-json-extractor-a72fac7b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.api-agent-ia.ch](https://www.zero.xyz/host/api.api-agent-ia.ch/llms.txt)
