Skip to main content
POST
/
entities
/
text-search
Entities / Text-Search
curl --request POST \
  --url https://app.tryspecter.com/api/v1/entities/text-search \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "text": "Earlier this year, Sequoia Capital expanded its presence in Europe, backing several fintech startups and leading multiple Series A rounds across the region.\n"
}
'
[
  {
    "source_name": "sequoia capital",
    "context": "primary",
    "entity_id": "inv_84f563826c689ceb42aff52a",
    "entity_type": "investor"
  }
]

Authorizations

X-API-Key
string
header
required

Body

application/json

Text extract to run entity resolution on.

text
string
required

Short text passage (max 1,000 characters) to extract entities from.

Maximum string length: 1000
Example:

"Earlier this year, Sequoia Capital expanded its presence in Europe, backing several fintech startups and leading multiple Series A rounds across the region.\n"

Response

List of Entity Matches extracted from the provided text. Returns an empty list when no matches are found.

source_name
string

Matched entity name as it appears in the source text.

Example:

"sequoia capital"

context
enum<string>

'primary' if the entity is a main subject of the passage; 'active' if it plays a meaningful supporting role (e.g., an investor participating in the round); 'passive' if it is mentioned incidentally without involvement.

Available options:
primary,
active,
passive
Example:

"primary"

entity_id
string

Unique identifier for the entity (either a company_id or an investor_id).

Example:

"inv_84f563826c689ceb42aff52a"

entity_type
enum<string>

Entity category.

Available options:
company,
investor
Example:

"investor"