API Documentation
← API overview

Companies

4 endpoints · every section below is generated from the API catalog

GET/api/v1/companies

Search

Available on FreeFull reference →

Returns a paginated list of company profiles with metadata including total item count, callable with free-text search and structured filters. Use it to find companies by name, domain, sector, location, or profile completeness. Invalid query parameters return HTTP 400.

Rate limit: company-profiles · Free plan: 10/day

Parameters

ParameterTypeRequiredDescription
pagenumberNoMin 1; default 1 (min 1; default 1)
Range: 1 to ∞
limitnumberNoRange 1-200; default 20 (range 1-200; default 20)
Range: 1 to 200
searchstringNoFree-text query matched against company content; when supplied, results can be ranked by relevance.
querystringNomaximum length 2000
domainstringNoCompany website domain, e.g. example.com.
statusstringNoCompany status value to filter by.
sectorstringNoIndustry sector label.
subsectorstringNoMore specific industry label within a sector.
business_modelstringNoBusiness model label to filter by.
countrystringNoCountry name or code to filter by.
citystringNoCity name to filter by.
source_org_countrystringNoCountry of the source organization associated with the company.
techstringNoTechnology label to filter by.
founded_year_minintegerNoEarliest founding year to include.
founded_year_maxintegerNoLatest founding year to include.
enrichment_versionintegerNoOnly return companies at this enrichment version.
has_emailbooleanNoWhen true, only companies with an email address.
has_phonebooleanNoWhen true, only companies with a phone number.
has_linkedinbooleanNoWhen true, only companies with a LinkedIn profile.
has_leadershipbooleanNoWhen true, only companies with leadership information.
has_productsbooleanNoWhen true, only companies with product information.
has_embeddingbooleanNoWhen true, only companies that have an embedding.
sortstringNoField to order results by; relevance applies only when a search term is given, otherwise it falls back to last_updated. (default relevance)
Allowed values: relevance, last_updated, processed_at, company_name, country, founded_year
orderstringNoSort direction, ascending or descending. (default desc)
Allowed values: asc, desc
include_embeddingbooleanNoWhen true, include the company embedding in each result.

Example request

curl -H "x-api-key: YOUR_API_KEY" \
  "https://app.caelrith.com/api/v1/companies"
GET/api/v1/companies/:domain

Details

Available on FreeFull reference →

Returns the profile for a single company identified by its domain, including its linked organizations. Call it when you already know a company's domain and need its details. Returns 404 if no company matches the domain, and 400 if the domain is malformed.

Rate limit: company-profiles · Free plan: 10/day

Parameters

ParameterTypeRequiredDescription
include_embeddingbooleanNoSet to false to omit the company's embedding from the response.
domain(path)stringYesCompany web domain, e.g. example.com.

Example request

curl -H "x-api-key: YOUR_API_KEY" \
  "https://app.caelrith.com/api/v1/companies/{domain}"
GET/api/v1/companies/:domain/similar

Similar

Available on FreeFull reference →

Returns companies similar to the given company, ranked by cosine similarity, along with the source company and metadata about the result set. Use it to find comparable or related companies from a known domain. Fails with 404 if the company does not exist or has no similarity data available yet, 400 for invalid query parameters, and 503 if similarity search is temporarily unavailable.

Rate limit: company-similar · Free plan: 10/day

Parameters

ParameterTypeRequiredDescription
limitnumberNoMaximum number of similar companies to return. (range 1-50; default 10)
Range: 1 to 50
min_similaritynumberNoMinimum cosine similarity a company must reach to be included. (range -1-1)
Range: -1 to 1
sectorstringNoRestrict results to companies in this sector.
countrystringNoRestrict results to companies in this country.
statusstringNoRestrict results to companies with this status.
include_embeddingbooleanNoWhen true, include each result's similarity vector in the response.
domain(path)stringYesCompany domain used to identify the source company.

Example request

curl -H "x-api-key: YOUR_API_KEY" \
  "https://app.caelrith.com/api/v1/companies/{domain}/similar"