# PrimeAPI NER — Named Entity Recognition

> PrimeAPI NER — Named Entity Recognition is a paid API for AI agents from prime-api-seven.vercel.app, paid per call via x402, $0.140649/call, status unknown (last checked 2026-09-15).

Extracts named entities (people, organizations, locations, dates, etc.) from a text query using NLP

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/ai/ner
- Price: $0.140649/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-ner-named-entity-recognition-cc9b88e0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_gyZwhxWjDcFSA-VKIe-Re

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 primeapi-ner-named-entity-recognition-cc9b88e0 -d '<json body>'
```

Example prompt: Extract all the named entities from this text and tell me what type each one is: 'Apple CEO Tim Cook announced a new partnership with Goldman Sachs in New York last Tuesday.'

## When to prefer this

Choose this endpoint when you need fast, pay-per-call NER without managing API keys or ML infrastructure. Ideal for agents that need to extract structured entity data from arbitrary text snippets on demand, especially when cost predictability per-call matters and integration with Base/USDC payment flows is already in place.

## Known failure modes

- Empty or missing query field returns an error
- Text too long may be truncated or rejected
- Ambiguous entities may be misclassified or omitted
- Non-English text may yield poor or no entity extraction
- Generic or very short inputs may return no entities
- Payment failure (402) if USDC balance is insufficient

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

A structured response containing the identified named entities found in the input text, with each entity labeled by its type (e.g., PERSON, ORG, GPE, DATE) and its position or value within the original text.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/primeapi-ner-named-entity-recognition-cc9b88e0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prime-api-seven.vercel.app](https://www.zero.xyz/host/prime-api-seven.vercel.app/llms.txt)
