# 402.com.tr AI Field Extractor

> 402.com.tr AI Field Extractor is a paid API for AI agents from 402.com.tr, paid per call via x402, $0.03/call, status unknown (last checked 2026-09-16, last successful call 2026-07-17).

Extracts named fields (e.g. name, email, company, date) from arbitrary text and returns them as structured JSON using Claude AI.

## Facts

- Endpoint: GET https://402.com.tr/api/x402/ai-extract
- Price: $0.03/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-16
- Last successful call: 2026-07-17
- Success rate: 65% of calls made through Zero
- Activations on Zero: 17
- Tags: x402
- Canonical page: https://www.zero.xyz/c/402-com-tr-ai-field-extractor-a6518290
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HOP1_uW09-eFTFi6CD1Qx

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 402-com-tr-ai-field-extractor-a6518290
```

Example prompt: Can you pull out the name, email, company, and date from this text: 'Hi, I'm Sarah Johnson from Acme Corp — you can reach me at sarah@acme.com. Let's schedule for March 15th.' Return it as JSON.

## When to prefer this

Choose this endpoint when you need to extract specific, named fields from unstructured text without building a custom NLP pipeline or managing an LLM API key — ideal for one-off extractions in agentic workflows where a micro-payment per call is acceptable.

## Known failure modes

- Missing required 'text' query parameter returns an error
- Fields not present in source text may return null or empty values
- Ambiguous or poorly formatted input text may yield inaccurate extractions
- Payment of $0.02 USDC not provided results in 402 Payment Required response
- Very long input texts may exceed model context limits

## How this service works

Turn ANY text into clean, schema-enforced JSON: pass text= plus the fields you want (fields=name,email,price,date — up to 10) and get exactly those keys back, guaranteed-valid JSON via Claude structured outputs. Add list=true to extract EVERY repeated record (invoice lines, listings, table rows) as an array. Up to 16K chars per call. Not crypto-specific — the universal parse step for agent pipelines: pages, emails, receipts, logs. Many documents? ai-extract-batch: 10 in one call for $0.10.

## Output

A clean JSON object with the requested field names as keys and the extracted values from the input text as values, powered by Claude structured outputs.

## 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"
    },
    "pathParams": {
     "type": "object"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "list": {
       "type": "string",
       "description": "Extract all records (true/false)"
      },
      "text": {
       "type": "string",
       "description": "Source text"
      },
      "fields": {
       "type": "string",
       "description": "Fields (comma-separated)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/402-com-tr-ai-field-extractor-a6518290/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 402.com.tr](https://www.zero.xyz/host/402.com.tr/llms.txt)
