cURL
curl --request POST \ --url https://www.norns.ai/api/v0/extract-entities \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "text": "<string>" } '
{ "success": true, "data": { "entities": [ { "text": "<string>", "type": "<string>", "startIndex": 123, "endIndex": 123 } ], "usage": 123, "tokenCount": 123 } }
Extracts named entities from text and categorizes them. Costs 1 credit per request.
API key authentication
The text to extract entities from
Successful entity extraction response
Show child attributes
The extracted entity text
The type of entity (e.g., person, organization, location, product, date)
Starting character index of the entity in the original text
Ending character index of the entity in the original text
Number of credits consumed
Number of tokens processed