Guides
Complete records
The fields a full company record and a full person record carry on record lookup, beyond what a search row holds.
This edition is written for AI agents: complete, explicit and ready to paste. Give it to your agent, or point the agent at its address and it reads the page itself.
# Complete records
> The fields a full company record and a full person record carry on record lookup, beyond what a search row holds.
- Human-readable page: https://dashboard.sproutsdata.ai/docs/guides/record-lookup/complete-records
- This document: https://dashboard.sproutsdata.ai/docs/agents/guides/record-lookup/complete-records
- Index of every agent document: https://dashboard.sproutsdata.ai/llms.txt
- API base URL: https://api.sproutsdata.ai
## Summary
Fields of a full company record and a full person record, as returned in `results[].matches[]` by `POST /v1/entities/companies` and `POST /v1/entities/persons`. A full record holds every search-row field plus the extra fields below. The response schema types records as open objects; this list is the current record format.
## Rules
- Every key is present; unknown = `null`, unknown list = `[]`.
- New keys may be added; ignore unknown keys.
- `id` = public id, the same as search gives.
- Places are in written case; text entities decoded.
- Company `technology` is cut to 25 entries.
- Person records never include emails or phone numbers (use enrichment: https://dashboard.sproutsdata.ai/docs/agents/guides/enrichment).
## Company record keys
- Identity: `id`, `account_name`, `legal_name`, `domain`, `website`, `logo`, `short_description`, `description`, `linkedin_url`, `facebook_url`, `twitter_url`.
- Location: `city`, `state`, `country`, `region` (list), `location`, `street_address`, `postal_code`, `latitude`, `longitude`, `office_locations` (`[{address, city, country}]`), `global_presence`, `employees_by_country` (`{iso3_lowercase: count}`, largest first; same codes as the `global_presence` filter).
- Industry and business: `industry`, `sub_industry`, `other_industries`, `naics` (list), `sic` (list), `industries_served` (list), `business_classification`, `business_models` (list), `company_types` (list), `profit_non_profit`, `govt_non_govt`, `ownership`, `products` (`[{name, description}]`), `technology` (list, max 25), `company_keyword` (list).
- Size and status: `employee_count`, `employee_range` (`{min, max}`), `department_headcount` (`{department_name: count}`, largest first), `revenue` (USD), `revenue_range` (`{min, max}`), `founded_year`, `linkedin_followers`, `operating_status`, `growth_stage`, `listing_status`, `ipo_status`, `stock_exchange`, `stock_ticker`, `job_openings`.
- Funding and ownership: `total_funding`, `last_funding_amount`, `last_funding_date`, `funding_stage`, `funding_rounds` (`[{announced_on, type, amount_usd, investors[]}]`, newest first), `investors` (names), `parent_organization` (`{name, type}` or null), `subsidiaries` (`[{name, type}]`), `owned_by_organization`, `is_subsidiary`, `acquisitions` and `acquired_by` (`[{company, announced_on, amount_usd}]`).
- Business relationships: `partnerships`, `clients`, `suppliers` (lists of names).
## Person record keys
- The person: `id`, `contact_name`, `first_name`, `last_name`, `bio`, `linkedin_url`, `avatar`, `city`, `state`, `country`, `region`, `location`, `linkedin_connections`.
- Current role: `title`, `seniority`, `department`, `sub_department`, `governance_level`, `employment_type`, `has_direct_access_to_c_suite` (bool or null), `position_start_date`, `tenure` (months in role), `last_job_changed`.
- Career and education: `employment_history` (`[{title, company_name, company_domain, company_linkedin_url, description, start_date, end_date, is_primary}]`, newest first), `prior_company`, `education` (`[{school, degree, description, start_date, end_date}]`, newest first), `university`, `degree`, `skills`, `certifications`, `certification_details` (`[{name, issuer, date}]`).
- Employer, flat (as on search rows): `account_name`, `account_city`, `account_state`, `account_country`, `account_region`, `account_location`, `company_linkedin_url`, and the company firmographic keys (`industry`, `revenue`, `employee_count`, ...).
- Employer, nested: `company` = the employer's complete company record with its own public `id`; `null` when the employer's record is not held (flat employer keys then come from the person's job history).
## Document records
- Keys depend on the category. `fields` on the lookup selects them; omit for the default projection; `"*"` adds bulk fields (report body, trend roster).
## Operations
### POST /v1/entities/companies
Look up companies
- URL: `POST https://api.sproutsdata.ai/v1/entities/companies`
- Scopes (any one): `dsp.entities.read`
- Cost: billed: an answer with results spends credits, an empty one is free
- Idempotency-Key header: optional
Companies by the `id` search returned, or found by domain, LinkedIn URL or name with `by` (every candidate, up to 10, for a name). 50 records a page: send the same body with `cursor` for the next.
Headers:
- `Idempotency-Key` (string): Send one to make a retry safe: a retry with the same key on the same UTC day is charged once.
Request body (JSON, required):
- `ids` (array of string, required): Limits: 1 to 1000 items.
- `by` (string): `auto` (the default) classifies each value; `id` for the `id` values search returned, or `domain`, `li_url` or `name`. One of: `"auto"`, `"id"`, `"domain"`, `"li_url"`, `"name"`. Default `"auto"`.
- `cursor` (string or null): `next_cursor` from the previous page. Send the same body with it. Limits: at most 8192 characters.
Response 200 (application/json): Successful Response
Response fields:
- `meta` (object, required)
- `as_of` (string (date-time), required)
- `request_id` (string, required)
- `credential` (string): One of: `"api_key"`, `"session"`. Default `"api_key"`.
- `credits_balance` (number or null): What the workspace has available after this request, in credits (credits held for running agent runs excluded). `null` when not metered or not known just now; `GET /v1/credits` always has it.
- `credits_charged` (number or null): What this request cost, in credits. `null` when not metered.
- `environment` (string): Deprecated: always `live` (there are no test keys). Will be removed. One of: `"live"`. Default `"live"`.
- `results` (array of object, required)
- `category` (string, required): What a returned row is. The same names as ``SearchCategory``. One of: `"company"`, `"person"`, `"patent"`, `"academic_report"`, `"news_article"`, `"market_report"`, `"trend"`, `"funding_round"`, `"job_opening"`.
- `found` (boolean, required)
- `id` (string, required): The value as sent.
- `query` (string, required): The value as sent; each record carries it too.
- `has_more` (boolean): More records match than `matches` shows: narrow the value. Default `false`.
- `matched_by` (string or null): How the value was read: `id`, `domain`, `li_url` or `name`.
- `matches` (array of object): Each record, with its public `id` (the one search gives it), the `query` it came from, `matched_by`, and `match`: `exact`, `contains` or `fuzzy` (a typo match).
- `total` (integer): Records the value matches in all. Default `0`. Limits: at least 0.
- `total` (integer, required): Values in the lookup, on every page. Limits: at least 0.
- `attribution` (array of object)
- `source_corpus` (string, required): Where rows came from: each is its own index with its own refresh cadence, so ``attribution[].as_of`` is per corpus. One of: `"gtm_index"`, `"affiliations"`, `"patents"`, `"academic_reports"`, `"news"`, `"market_reports"`, `"trends"`, `"fundings"`, `"job_openings"`.
- `as_of` (string (date-time) or null)
- `domain` (string or null)
- `quote` (string or null): RESERVED for per-fact citation.
- `url` (string or null): RESERVED for per-fact citation.
- `columns` (null)
- `coverage` (null)
- `degradation` (array of object)
- `detail` (string, required)
- `impact` (string, required): One of: `"recall"`, `"precision"`, `"freshness"`, `"fields"`.
- `reason` (string, required): Why an answer is less than it should be. Closed, so a client can branch on it. One of: `"vector_coverage_incomplete"`, `"mode_downgraded"`, `"field_not_indexed"`, `"pagination_truncated"`, `"corpus_unavailable"`, `"anchor_list_capped"`, `"axis_not_applicable"`, `"planner_step_incomplete"`, `"upstream_advisory"`, `"no_match"`, `"topic_not_required"`, `"sparse_filter"`, `"anchor_not_exact"`.
- `source_corpus` (string or null): Where rows came from: each is its own index with its own refresh cadence, so ``attribution[].as_of`` is per corpus. One of: `"gtm_index"`, `"affiliations"`, `"patents"`, `"academic_reports"`, `"news"`, `"market_reports"`, `"trends"`, `"fundings"`, `"job_openings"`.
- `has_more` (boolean): Default `false`.
- `next_cursor` (string or null): Send the same body with this `cursor` for the next page.
- `resolved_search` (null)
- `suggestion` (null)
- `total_is_estimate` (boolean): Default `false`.
Errors:
- 401: No credential, or one that does not verify (`auth.unauthorized`).
- 403: The credential lacks the scope this route needs (`auth.insufficient_scope`), or the signed-in user has not chosen a workspace (`auth.workspace_required`).
- 409: Conflicts with what is there: a list name in use, a size limit reached (`lists.*`), or an `Idempotency-Key` already used today for a different request (`idempotency.conflict`).
- 422: The request is invalid (`request.invalid`), or its cursor is (`pagination.*`).
- 503: A service this request needs is unavailable, or the API is at capacity. See `Retry-After`.
- 504: The request did not finish within its time budget (`upstream.timeout`).
Example request:
```bash
curl -X POST "https://api.sproutsdata.ai/v1/entities/companies" \
-H "X-API-Key: $SPROUTS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"by": "domain",
"ids": [
"stripe.com",
"adyen.com"
]
}'
```
### POST /v1/entities/persons
Look up people
- URL: `POST https://api.sproutsdata.ai/v1/entities/persons`
- Scopes (any one): `dsp.entities.read`
- Cost: billed: an answer with results spends credits, an empty one is free
- Idempotency-Key header: optional
People by the `id` search returned, or found by LinkedIn URL or name with `by` (every candidate, up to 10, for a name; a name may carry its employer). 50 records a page: send the same body with `cursor` for the next.
Headers:
- `Idempotency-Key` (string): Send one to make a retry safe: a retry with the same key on the same UTC day is charged once.
Request body (JSON, required):
- `ids` (array of object (one of 1 shapes), required): The `id` values search returned, LinkedIn URLs or names; a name may be `{name, company}` with the person's employer (a domain, LinkedIn company page or name). Limits: 1 to 1000 items.
- When PersonName:
- `name` (string, required): Limits: 1 to 300 characters.
- `company` (string or null): The employer: its domain, LinkedIn company page or name. Limits: at most 500 characters.
- `by` (string): `auto` (the default) classifies each value; `id` for the `id` values search returned, or `li_url` or `name`. One of: `"auto"`, `"id"`, `"li_url"`, `"name"`. Default `"auto"`.
- `cursor` (string or null): `next_cursor` from the previous page. Send the same body with it. Limits: at most 8192 characters.
Response 200 (application/json): Successful Response
Response fields:
- `meta` (object, required)
- `as_of` (string (date-time), required)
- `request_id` (string, required)
- `credential` (string): One of: `"api_key"`, `"session"`. Default `"api_key"`.
- `credits_balance` (number or null): What the workspace has available after this request, in credits (credits held for running agent runs excluded). `null` when not metered or not known just now; `GET /v1/credits` always has it.
- `credits_charged` (number or null): What this request cost, in credits. `null` when not metered.
- `environment` (string): Deprecated: always `live` (there are no test keys). Will be removed. One of: `"live"`. Default `"live"`.
- `results` (array of object, required)
- `category` (string, required): What a returned row is. The same names as ``SearchCategory``. One of: `"company"`, `"person"`, `"patent"`, `"academic_report"`, `"news_article"`, `"market_report"`, `"trend"`, `"funding_round"`, `"job_opening"`.
- `found` (boolean, required)
- `id` (string, required): The value as sent.
- `query` (string, required): The value as sent; each record carries it too.
- `has_more` (boolean): More records match than `matches` shows: narrow the value. Default `false`.
- `matched_by` (string or null): How the value was read: `id`, `domain`, `li_url` or `name`.
- `matches` (array of object): Each record, with its public `id` (the one search gives it), the `query` it came from, `matched_by`, and `match`: `exact`, `contains` or `fuzzy` (a typo match).
- `total` (integer): Records the value matches in all. Default `0`. Limits: at least 0.
- `total` (integer, required): Values in the lookup, on every page. Limits: at least 0.
- `attribution` (array of object)
- `source_corpus` (string, required): Where rows came from: each is its own index with its own refresh cadence, so ``attribution[].as_of`` is per corpus. One of: `"gtm_index"`, `"affiliations"`, `"patents"`, `"academic_reports"`, `"news"`, `"market_reports"`, `"trends"`, `"fundings"`, `"job_openings"`.
- `as_of` (string (date-time) or null)
- `domain` (string or null)
- `quote` (string or null): RESERVED for per-fact citation.
- `url` (string or null): RESERVED for per-fact citation.
- `columns` (null)
- `coverage` (null)
- `degradation` (array of object)
- `detail` (string, required)
- `impact` (string, required): One of: `"recall"`, `"precision"`, `"freshness"`, `"fields"`.
- `reason` (string, required): Why an answer is less than it should be. Closed, so a client can branch on it. One of: `"vector_coverage_incomplete"`, `"mode_downgraded"`, `"field_not_indexed"`, `"pagination_truncated"`, `"corpus_unavailable"`, `"anchor_list_capped"`, `"axis_not_applicable"`, `"planner_step_incomplete"`, `"upstream_advisory"`, `"no_match"`, `"topic_not_required"`, `"sparse_filter"`, `"anchor_not_exact"`.
- `source_corpus` (string or null): Where rows came from: each is its own index with its own refresh cadence, so ``attribution[].as_of`` is per corpus. One of: `"gtm_index"`, `"affiliations"`, `"patents"`, `"academic_reports"`, `"news"`, `"market_reports"`, `"trends"`, `"fundings"`, `"job_openings"`.
- `has_more` (boolean): Default `false`.
- `next_cursor` (string or null): Send the same body with this `cursor` for the next page.
- `resolved_search` (null)
- `suggestion` (null)
- `total_is_estimate` (boolean): Default `false`.
Errors:
- 401: No credential, or one that does not verify (`auth.unauthorized`).
- 403: The credential lacks the scope this route needs (`auth.insufficient_scope`), or the signed-in user has not chosen a workspace (`auth.workspace_required`).
- 409: Conflicts with what is there: a list name in use, a size limit reached (`lists.*`), or an `Idempotency-Key` already used today for a different request (`idempotency.conflict`).
- 422: The request is invalid (`request.invalid`), or its cursor is (`pagination.*`).
- 503: A service this request needs is unavailable, or the API is at capacity. See `Retry-After`.
- 504: The request did not finish within its time budget (`upstream.timeout`).
Example request:
```bash
curl -X POST "https://api.sproutsdata.ai/v1/entities/persons" \
-H "X-API-Key: $SPROUTS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"by": "li_url",
"ids": [
"https://www.linkedin.com/in/jane-doe-example"
]
}'
```
## See also
- https://dashboard.sproutsdata.ai/docs/agents/guides/record-lookup
- https://dashboard.sproutsdata.ai/docs/agents/guides/search/reading-results