# AmanChain Keyword & Entity Extraction

> AmanChain Keyword & Entity Extraction is a paid API for AI agents from preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai, paid per call via x402, $0.002488/call, status unknown (last checked 2026-09-14).

Extracts keywords, named entities, and topics from a given text using AmanChain's deterministic node infrastructure, paid per call via x402 in USDC.

## Facts

- Endpoint: POST https://preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai/api/x402/aman-keywords
- Price: $0.002488/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/amanchain-keyword-entity-extraction-7df1762d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fLfVGfEohEbJ-xs0H-89p

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-7df1762d -d '<json body>'
```

Example prompt: Can you extract the keywords, named entities, and main topics from this article text: 'Apple CEO Tim Cook announced record quarterly earnings in Cupertino, citing strong iPhone 15 sales across Asia and Europe.'?

## When to prefer this

Choose this endpoint when you need fast, pay-per-call keyword and entity extraction without setting up an account or API key. It is well-suited for agents that process text on-demand and need NLP enrichment integrated into a blockchain-settled micropayment workflow. Prefer it over heavier NLP platforms when cost-per-call transparency and no-subscription access matter.

## Known failure modes

- Empty or very short input text may yield few or no results
- Payment failure via x402 will block the call
- Malformed JSON body (missing serviceId or request field) will cause a request error
- Very long texts may exceed input limits
- Non-English text may produce lower-quality extractions depending on model support

## 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

Returns a structured set of extracted keywords, named entities (such as people, organizations, and locations), and identified topics present in the input text.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "body": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "type": "object",
     "example": {
      "ok": true
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/amanchain-keyword-entity-extraction-7df1762d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai](https://www.zero.xyz/host/preview-chat-c6089071-758a-449d-b4a7-6fa19ebc955c.space-z.ai/llms.txt)
