Skip to content
ProspectAPIs

API reference / Companies

Get a company profile

Written and maintained by The ProspectAPIs team

GET/v1/companies/:domain

GET /v1/companies/:domain is the ProspectAPIs operation getCompany, in the Companies group of the REST API. One cited company record by domain or by exact company name, a source on every field. Costs $0.02 per company returned (a 200). A domain not built yet returns 202 building (retry in about 30 seconds); a domain that does not resolve to a company returns 404. A name is matched whole against the funding rounds we hold: one company answers as its domain would, several answer 300 AMBIGUOUS_NAME with each {name, domain} to choose from (never a guess), and none is a 404 NAME_NOT_FOUND. 202, 300 and 404 are free. Coverage: funding rounds are complete from 2026-10-01, partial from 2026-09-22 to 2026-09-30, and only a few earlier rounds are held, so a company whose last round was before that returns none, and an empty answer carries a coverage object saying so. Cost: Launching soon. Send your API key as a Bearer token in the Authorization header.

How this fits with the rest of the companies API, with worked examples, is in the company profiles guide.

Parameters

Parameters of GET /v1/companies/:domain
NameInTypeDescription
domain requiredpathstringThe company's bare domain, or its exact name (URL-encoded).

Responses

Response codes of GET /v1/companies/:domain
StatusMeaning
200The company record.
202The domain has not been built yet; it is building now. Not billed. Retry after retry_after seconds.
300Several companies have that name. Nothing is charged; repeat the call with one of the listed domains.
400The request was invalid (e.g. a bad filter or input); nothing was charged.
401The API key is missing or invalid.
402Out of credits. The body carries top_up_url; nothing was charged.
404No such record for this account.
429Too many requests; retry after the window.

Every error answers with the same JSON body, an error string and sometimes a code; the errors page lists each status and when it happens. A per-key 429 carries Retry-After; see rate limits.

200 response fields

The company record.

Fields of the 200 response
FieldTypeDescription
data requiredCompanyA cited company record. Every field carries its source and basis; a field no source supports is null.
data.company_id requiredstring (uuid)
data.domain requiredstring
data.namestring
data.descriptionobjectOne profile field with its provenance. source indexes into the record's sources; basis is stated (a page states the value) or inferred (classified from a page). A field no source supports is null, never guessed.
data.hqobjectOne profile field with its provenance. source indexes into the record's sources; basis is stated (a page states the value) or inferred (classified from a page). A field no source supports is null, never guessed.
data.founded_yearobjectOne profile field with its provenance. source indexes into the record's sources; basis is stated (a page states the value) or inferred (classified from a page). A field no source supports is null, never guessed.
data.industryobjectOne profile field with its provenance. source indexes into the record's sources; basis is stated (a page states the value) or inferred (classified from a page). A field no source supports is null, never guessed.
data.employee_bandobjectOne profile field with its provenance. source indexes into the record's sources; basis is stated (a page states the value) or inferred (classified from a page). A field no source supports is null, never guessed.
data.socialobjectOne profile field with its provenance. source indexes into the record's sources; basis is stated (a page states the value) or inferred (classified from a page). A field no source supports is null, never guessed.
data.fundingobjectA rollup of the funding rounds we hold for this domain (total raised, rounds count, last round).
data.hiringobjectOne profile field with its provenance. source indexes into the record's sources; basis is stated (a page states the value) or inferred (classified from a page). A field no source supports is null, never guessed.
data.sources requiredarray of CompanySource
data.retrieved_atstring (date-time)
data.updated_atstring (date-time)
Response headers
HeaderMeaning
X-Credits-RemainingUSD credits left after this call settles.
RateLimit-LimitRequests this API key may make per minute.
RateLimit-RemainingRequests left in the current one-minute window.
RateLimit-ResetSeconds until the current window resets.

Code samples

Each sample sends the same request. Set PROSPECTAPIS_KEY in your environment first. Values come from the spec's examples; replace them with your own.

curl
curl https://api.prospectapis.com/v1/companies/acme.com \
  -H "Authorization: Bearer $PROSPECTAPIS_KEY"
JavaScript (fetch)
const res = await fetch("https://api.prospectapis.com/v1/companies/acme.com", {
  headers: { Authorization: `Bearer ${process.env.PROSPECTAPIS_KEY}` },
});
if (!res.ok) throw new Error(`${res.status}: ${(await res.json().catch(() => ({}))).error ?? res.statusText}`);
const data = await res.json();
console.log(data);
Python (requests)
import os, requests

res = requests.get(
    "https://api.prospectapis.com/v1/companies/acme.com",
    headers={"Authorization": f"Bearer {os.environ['PROSPECTAPIS_KEY']}"},
    timeout=30,
)
res.raise_for_status()
data = res.json()
print(data)

Billing

Billing reserves before it serves: the call holds what it may cost, serves at most what that hold covers, and refunds the rest when the response closes. Any non-2xx answer refunds the whole hold, so a failed call costs nothing. The response reports your balance in X-Credits-Remaining.

The company profiles guide covers this area end to end. Previous operation: List a page's employees (live). Next operation: Get a company's funding rounds. Every operation, grouped by area, is on the API reference index.

Create a free account to get a key, then run the samples above with your own values.

Was this page helpful?