---
title: "Named entity recognition"
method: POST
path: "/v1/apple/nlp/entities"
tags: ["Apple"]
---

# Named entity recognition

`POST /v1/apple/nlp/entities`

## Request

- Base URL: `http://localhost:9998`
- URL: `http://localhost:9998/v1/apple/nlp/entities`
- Auth: HTTP bearer

Extracts people, places, and organizations from text.

## Request body

- TextRequest
  - `text` string, required: Input text to analyze

## Response `200`

Named entities

- object
  - `entities` object[]
    - `text` string
    - `type` 'PersonalName' | 'PlaceName' | 'OrganizationName'
    - `start` integer
    - `length` integer

## Other responses

- `400`: Invalid request

---

[API](https://skmtc.dev/modelpiper/apis/toolpiper-api.md) · [All operations](https://skmtc.dev/modelpiper/apis/toolpiper-api/llms.txt) · [OpenAPI document](https://skmtc.dev/modelpiper/apis/toolpiper-api/revisions/6722bf56385c?raw)
