Use POST /v2/companies/lookup to resolve a company by website domain, known billing email or name, inspect its verified or public billing contact information, and check whether an email you already hold matches the company’s current record.
When a company maintains its profile on Sureshake as its source of truth, lookups return isSourceOfTruth: true along with the billing email, phone number and street address the company chose to share. When no claimed record answers the request, Sureshake checks published directory records and cached research, then optionally falls back to synchronous web research on the company’s official website.
Credentials
| Credential | Permission or scope | Plan limits used |
|---|---|---|
| Company API key | Read, Write or Admin |
The company’s subscription tier (free, $15 Reporting Membership, $49 Professional Membership, or Institutional) |
| Personal API key | Read or Write |
Always uses the Free tier limits |
| Firm client token | companies:lookup |
The firm’s subscription tier |
| Signed-in user session | — | Uses the user’s highest active personal or administered company tier |
Look up a company or check a billing email
curl -sS -X POST https://api.sureshake.com/v2/companies/lookup \
-H "X-API-Key: $SURESHAKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"domain": "acme.example",
"knownEmail": "old-billing@acme.example",
"country": "US",
"state": "CA"
}'Request fields
Send a JSON body with at least one of domain, knownEmail or name.
| Field | Type | Notes |
|---|---|---|
domain |
string (optional) | Website domain or URL, such as acme.example or https://acme.example. Normalized to its bare domain |
knownEmail |
email string (optional) | An existing email in your system to verify against the company record. If domain is omitted and the domain is corporate (not Gmail/Yahoo/etc.), it also guides lookup |
name |
string (optional) | Company legal or trade name |
country |
string (optional) | Two-letter ISO 3166-1 country code (for example, US) or country name to narrow name and web lookups |
state |
string (optional) | State or province code (for example, CA or US-CA) or name |
mode |
"sync" | "db_only" |
Default "sync". "db_only" queries claimed profiles, the published directory and fresh cached research without running live AI website research or consuming AI quota |
forceRefresh |
boolean | Default false. Bypasses cached web research when mode is "sync". Claimed Sureshake profiles still take precedence and are never overwritten |
Example response
{
"data": {
"found": true,
"source": "claimed_profile",
"isSourceOfTruth": true,
"matchedBy": "domain",
"company": {
"entityId": "1b7c6a52-6d0e-4a55-9d3b-5a2e7c1f0002",
"draftId": null,
"name": "Acme Robotics",
"domain": "acme.example",
"websiteUrl": "https://acme.example",
"claimed": true,
"verified": true
},
"billing": {
"contactName": "Accounts Payable",
"email": "billing@acme.example",
"phone": "+1-415-555-0199",
"address": {
"street1": "100 Market St",
"street2": "Suite 400",
"city": "San Francisco",
"state": "US-CA",
"postalCode": "94105",
"countryCode": "US"
},
"provenance": {
"source": "claimed_profile",
"sourceUrl": null,
"confidence": 100,
"retrievedAt": "2026-11-16T00:00:00.000Z",
"updatedAt": "2026-11-16T00:00:00.000Z"
}
},
"knownEmailCheck": {
"email": "old-billing@acme.example",
"status": "not_listed_on_verified_profile",
"note": "Supplied email does not match any active email or team contact on this verified profile."
},
"contacts": [],
"quota": {
"tier": "business_startup",
"db": { "used": 1, "limit": 1000, "remaining": 999 },
"ai": { "used": 0, "limit": 50, "remaining": 50 }
}
},
"meta": {
"timestamp": "2026-11-16T18:00:00.000Z"
}
}Source of truth and email verification
Use data.source, data.isSourceOfTruth and data.knownEmailCheck to decide whether to update billing records automatically or flag them for review.
data.source |
isSourceOfTruth |
Meaning |
|---|---|---|
claimed_profile |
true |
Maintained by the claimed company on Sureshake. billing returns whichever billing/business fields the company opted to share |
published_directory |
false |
Unclaimed published directory profile on Sureshake |
cached_web_research |
false |
Recent cached extraction from the company’s public website |
ai_web_research |
false |
Live synchronous extraction from the company’s public website (provenance.sourceUrl and confidence describe the source page) |
none |
false |
No matching company was found (found: false, company: null, billing: null) |
When you pass knownEmail, data.knownEmailCheck.status tells you whether that email matches what Sureshake found:
knownEmailCheck.status |
Meaning | Typical action |
|---|---|---|
matched_verified_contact |
Matches an active contact on the company’s claimed Sureshake profile | Keep existing billing email |
not_listed_on_verified_profile |
Does not match any active email or public/team contact on the company’s claimed profile | Replace with or flag data.billing.email when isSourceOfTruth is true |
matched_directory_contact |
Matches an email on an unclaimed published directory profile | Confirmed in directory reference |
not_listed_on_directory_profile |
Does not match emails on the published directory profile | Review data.billing.email against source |
found_on_public_site |
Found on crawled public website pages (/, /contact, /about, /billing) |
Keep or cross-check |
not_found_on_public_site |
Not found on crawled public website pages; alternative contacts may appear in billing |
Review data.billing and provenance.sourceUrl |
not_evaluated |
Returned if no knownEmail check could be performed |
No comparison available |
If a claimed company has not enabled Contact Visibility for its billing fields, data.isSourceOfTruth is still true for the company identity, while data.billing omits unshared private fields. Individual team emails and phones stay redacted unless the company explicitly opts in personEmail or personPhone.
Rate limits and monthly quotas
POST /v2/companies/lookup enforces both a per-minute burst rate limit and two monthly UTC calendar (YYYY-MM) quotas: database lookups (quota.db) and live AI web research fallbacks (quota.ai).
| Plan | quota.tier |
Burst limit | Monthly DB lookups | Monthly AI lookups |
|---|---|---|---|---|
| Free (or any personal key) | free |
10 / minute | 100 / month | 5 / month |
| Reporting Membership ($15/mo) | business_startup |
60 / minute | 1,000 / month | 50 / month |
| Professional Membership ($49/mo) | business_growth |
300 / minute | 10,000 / month | 300 / month |
| Institutional | business_enterprise |
1,000 / minute | 100,000 / month | 2,500 / month |
- Database quota (
quota.db): Every call toPOST /v2/companies/lookupuses 1dblookup. - AI quota (
quota.ai): Only used whenmodeis"sync"and no claimed profile, published directory record, or fresh cached draft answers the request (or whenforceRefreshistrue). If a live AI lookup fails before producing a result, the reservedaislot is refunded. - Pass
"mode": "db_only"when batch-checking claimed or cached companies without spending your monthlyaiquota.
Every response includes burst and monthly quota headers:
| Header | Meaning |
|---|---|
x-ratelimit-limit |
Maximum requests allowed per 60-second window |
x-ratelimit-remaining |
Requests left in the current 60-second window |
x-ratelimit-reset |
Unix epoch timestamp (seconds) when the burst window resets |
x-quota-db-limit |
Monthly db lookup allowance for quota.tier |
x-quota-db-remaining |
Monthly db lookups remaining |
x-quota-ai-limit |
Monthly ai web lookup allowance for quota.tier |
x-quota-ai-remaining |
Monthly ai web lookups remaining |
When you exceed the burst rate or either monthly quota, the API returns 429 TOO_MANY_REQUESTS with a retry-after header and error.details.reason set to burst_rate_limit, monthly_db_quota_exceeded or monthly_ai_quota_exceeded.
Structured addresses, phones, emails and visibility
Company owners and administrators can also manage their company’s structured addresses, phone numbers, email addresses and source-of-truth visibility directly over REST using an sk_... API key (Read for GET, Write for POST, PATCH, PUT and DELETE; firm tokens are not accepted on these routes).
| Resource | Routes | Key fields |
|---|---|---|
| Addresses | GET, POST /v2/entities/{id}/addresses and GET, PATCH, DELETE /v2/entities/{id}/addresses/{addressId} |
country (required 2-letter ISO code), state, city, street1, street2, postalCode, addressType, label, notes, isPrimary, isActive |
| Phones | GET, POST /v2/entities/{id}/phones and GET, PATCH, DELETE /v2/entities/{id}/phones/{phoneId} |
phoneNumber (required), countryCode, phoneType, label, isPrimary |
| Emails | GET, POST /v2/entities/{id}/emails and GET, PATCH, DELETE /v2/entities/{id}/emails/{emailId} |
email (required), emailType, label, isPrimary |
| Contact visibility | GET, PATCH /v2/entities/{id}/contact-visibility |
billingEmail, billingPhone, billingAddress, profileEmail, profilePhone, address, personEmail, personPhone ("private", "connected" or "public") |
| Geography codes | GET /v2/geography/countries?search=... and GET /v2/geography/countries/{countryCode}/states?search=... |
Canonical ISO 3166-1 country codes and ISO 3166-2 subdivision codes. No credential required |
Supported addressType values are headquarters, office, mailing, billing, shipping, registered, branch, warehouse and other. Supported phoneType values are main, work, mobile, fax, office, billing and other. Supported emailType values are main, work, personal, billing, investor_relations, support and other.
For example, to add an official billing email and publish billing contact visibility for your company:
curl -sS -X POST "https://api.sureshake.com/v2/entities/$SURESHAKE_ENTITY_ID/emails" \
-H "X-API-Key: $SURESHAKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"email": "billing@acme.example",
"emailType": "billing",
"label": "Accounts Payable",
"isPrimary": true
}'
curl -sS -X PATCH "https://api.sureshake.com/v2/entities/$SURESHAKE_ENTITY_ID/contact-visibility" \
-H "X-API-Key: $SURESHAKE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"billingEmail": "public",
"billingPhone": "public",
"billingAddress": "public"
}'Errors
| Status | error.code |
When |
|---|---|---|
| 400 | FST_ERR_VALIDATION |
Request body failed validation, such as omitting all of domain, knownEmail and name |
| 401 | UNAUTHORIZED |
Missing, invalid, expired or revoked API key or firm token |
| 403 | FORBIDDEN |
API key lacks permission/scope, firm token lacks companies:lookup, or key creator is no longer a company admin |
| 429 | TOO_MANY_REQUESTS |
Exceeded per-minute burst limit or monthly DB/AI lookup quota. Check error.details.reason and retry-after |
| 503 | DEPENDENCY_UNAVAILABLE |
Downstream web lookup dependency unavailable when running sync research fallback |