# AmanChain Keyword & Entity Extraction

> AmanChain Keyword & Entity Extraction is a paid API for AI agents from preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai, paid per call via x402, $0.00311/call, status unknown (last checked 2026-09-15).

Extracts keywords, named entities, and topics from input text, paid per call via x402 in USDC on Base.

## Facts

- Endpoint: POST https://preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai/api/x402/aman-keywords
- Price: $0.00311/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amanchain-keyword-entity-extraction-06970664
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uYlSZV1FY6rxpMvcWbOXg

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 amanchain-keyword-entity-extraction-06970664 -d '<json body>'
```

Example prompt: Can you pull out all the keywords, named entities, and main topics from this text: 'Apple CEO Tim Cook announced a new partnership with OpenAI at the Cupertino headquarters last Tuesday, sending AAPL stock up 3%.'?

## When to prefer this

Choose this endpoint when you need lightweight, pay-per-call keyword and entity extraction without managing API keys or subscriptions. Ideal for agents processing arbitrary text in automated pipelines where cost predictability (fixed USDC micro-payment) matters. Best suited for single-document NLP enrichment tasks rather than bulk batch processing.

## Known failure modes

- Empty or very short input text may yield few or no results
- Non-English text may produce lower-quality extractions
- Payment failure via x402 will block the call
- Malformed JSON body or missing serviceId field returns an error
- Extremely long inputs may be truncated or cause timeouts

## How this service works

Keyword & Entity Extraction: extract keywords, entities and topics from text Executed deterministically by the AmanChain node against live consensus state (real blocks, pools, balances) — paid per call via x402, settled in USDC on Base. Input: JSON body {"serviceId":"aman-keywords","request":"<input>"}. No account, no API key.

## Output

A structured response containing extracted keywords (important terms), named entities (people, organizations, locations, products, etc.), and identified topics found within the input text.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "properties": {
      "request": {
       "type": "string",
       "description": "service input (see body example)"
      },
      "serviceId": {
       "type": "string",
       "description": "the service id, \"aman-keywords\""
      }
     }
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amanchain-keyword-entity-extraction-06970664/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai](https://www.zero.xyz/host/preview-chat-701ec510-82d7-4ee3-ae9d-8fdb8c4f421b.space-z.ai/llms.txt)
