Smarter Data Contacts API
Named contacts, and any reachable contact on request.
Named contacts, and any reachable contact on request.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/smarterdata:smarterdata-contacts-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: Smarter Data Contacts API
version: '1'
summary: 'U.S. local business data: companies, named contacts, live web search, email verification and crawling.'
description: 'Find local businesses by industry and place, with the address, the phone and the people who run them. Pay per record in credits: counts and estimates are free, no match costs nothing, and the same record is never sold to you twice inside a year. Every operation states its price in x-credit-cost. Full reference with examples: https://smarterdata.ai/docs/. The machine-readable contract of the running build is GET /v1/schema.'
contact:
name: Smarter Data support
email: support@smarterdata.ai
url: https://smarterdata.ai/contact/
termsOfService: https://smarterdata.ai/legal/terms.html
servers:
- url: https://api.smarterdata.ai
security:
- apiKey: []
tags:
- name: Contacts
description: Named contacts, and any reachable contact on request.
paths:
/v1/companies/{business_id}/contacts:
get:
operationId: revealContacts
summary: Reveal a company's contacts (3 credits per contact)
description: Only for a company your account already holds (else 409 company_required). Named contacts by default. Each record carries its channels as objects, and only the channels you asked for.
tags:
- Contacts
x-credit-cost:
credits: 3
per: contact delivered
price_key: contact_reveal
parameters:
- name: business_id
in: path
required: true
schema:
type: string
description: Opaque company id as received (URL-encode it).
example: co:d:examplepaving.com
- name: channels
in: query
required: false
schema:
type: string
description: 'Contact channels: email, cell, office (the default three) and linkedin. A contact counts and is charged only when it carries at least one of them. On GET /v1/count it applies with entity=contacts. Comma-separated for several values.'
example: email,cell
- name: dm_only
in: query
required: false
schema:
type: boolean
description: 'Default true: named contacts only (a named contact seniority, a person''s name, and an email or a cell). false = any reachable contact.'
- name: include_chain
in: query
required: false
schema:
type: boolean
description: 'Accepted for older calls and changes nothing: contacts of a franchise or chain are always shown at every location they belong to.'
- name: estimate
in: query
required: false
schema:
type: boolean
description: true = return the exact credit cost without running the call. Free.
- name: exclude_delivered
in: query
required: false
schema:
type: boolean
description: 'Default true: a record your account bought in the last 12 months is skipped, so repeating a call returns the next batch. false re-sends it, and charges it again.'
- name: redeliver_after_days
in: query
required: false
schema:
type: integer
description: Records bought more than this many days ago become deliverable again (list recycling), 1 to 3650.
minimum: 1
maximum: 3650
- name: level
in: query
required: false
schema:
type: string
description: 'Level: Board · Executive · Owner · Vice President · Director · Manager · Staff. Comma-separated for several values.'
- name: function
in: query
required: false
schema:
type: string
description: Department, one of 22 words, e.g. General Business & Management · Operations · Sales & Business Development. Comma-separated for several values.
- name: idempotency-key
in: header
required: false
schema:
type: string
description: 'Optional. A retry with the same key replays the original answer for 24 hours and charges nothing: replayed is true and credits_used is 0. The same key with a different request is 409 idempotency_conflict.'
responses:
'200':
description: Contacts of one company.
content:
application/json:
schema:
$ref: '#/components/schemas/RevealedContactList'
examples:
estimate:
summary: 'With estimate=true: the cost, free'
value:
ok: true
estimate: true
entity: contacts
count: 2
credit_cost: 6
credits_per_record: 3
definition: named_dm_strict
credits_used: 0
credits_remaining: 1900
reveal:
summary: Two contacts revealed (one record shown, shortened)
value:
ok: true
entity: contacts
count: 2
credits_used: 6
credits_remaining: 1894
definition: named_dm_strict
records:
- name: Jordan Doe
title: Owner
seniority: owner_operator
is_decision_maker: true
contact_class: person
channels:
email:
value: jordan@example.com
type: personal
status: unverified
cell:
value: '2145550177'
type: personal
line_type: unknown
email_capable: true
sms_capable: true
call_capable: true
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/InsufficientCredits'
'403':
$ref: '#/components/responses/Forbidden'
'404':
$ref: '#/components/responses/NotFound'
'409':
$ref: '#/components/responses/Conflict'
'429':
$ref: '#/components/responses/RateLimited'
'431':
$ref: '#/components/responses/HeaderTooLarge'
'500':
$ref: '#/components/responses/ServerError'
'503':
$ref: '#/components/responses/Unavailable'
/v1/contacts:
get:
operationId: searchContacts
summary: Search contacts across a segment (3 credits per contact)
description: One flat record per contact at each company of the segment. Needs a segment of at least coverage_min_segment companies (25), else 400 segment_too_small.
tags:
- Contacts
x-credit-cost:
credits: 3
per: contact delivered
price_key: contact_search
parameters:
- name: state
in: query
required: false
schema:
type: string
description: Two-letter U.S. state code, e.g. TX. Comma-separated for several values.
- name: city
in: query
required: false
schema:
type: string
description: City name. Comma-separated for several values.
- name: zip
in: query
required: false
schema:
type: string
description: Five-digit ZIP code. Comma-separated for several values.
- name: niche
in: query
required: false
schema:
type: string
description: Industry word from GET /v1/schema → values.niche (103 words, e.g. agriculture, apartment, appliance_repair, asbestos_hazmat). A company is found by either industry word its record carries. Comma-separated for several values.
- name: sector
in: query
required: false
schema:
type: string
description: 'Sector, case-insensitive: Accommodation/Food · Admin/Support/Waste · Agriculture · Arts/Recreation · Construction · Education · Finance/Insurance · Health Care · Information · Management · Manufacturing · Mining/Oil&Gas · Other Services · Other/Unclassified · Professional Services · Public Admin · RealEstate/Rental · Retail · Transportation · Transportation/Warehousing · Utilities · Wholesale. Comma-separated for several values.'
- name: naics
in: query
required: false
schema:
type: string
description: NAICS code; a prefix matches every code under it. Comma-separated for several values.
- name: name
in: query
required: false
schema:
type: string
description: Company name contains this text. At most 20 calls a minute carry name=.
- name: service_line
in: query
required: false
schema:
type: string
description: 'What the company does (465 words in GET /v1/schema → values.service_line). Multi-service aware: a general contractor that also roofs matches roofing. Comma-separated for several values.'
- name: employees_min
in: query
required: false
schema:
type: number
description: Minimum head-count. Head-count is known for a minority of companies; filtering drops the rest.
- name: employees_max
in: query
required: false
schema:
type: number
description: Maximum head-count.
- name: employees_band
in: query
required: false
schema:
type: string
description: 'Head-count band: 1-4 · 5-9 · 10-49 · 50-249 · 250+ · unknown. Comma-separated for several values.'
- name: revenue_min
in: query
required: false
schema:
type: number
description: Minimum modeled annual revenue in USD (an estimate, never reported financials).
- name: revenue_max
in: query
required: false
schema:
type: number
description: Maximum modeled annual revenue in USD.
- name: revenue_band
in: query
required: false
schema:
type: string
description: 'Modeled revenue band: <1M · 1-10M · 10-50M · 50M+ · unknown. Comma-separated for several values.'
- name: has_company_phone
in: query
required: false
schema:
type: boolean
description: true = companies with a phone on file.
- name: has_website
in: query
required: false
schema:
type: boolean
description: true = companies with a website on file.
- name: is_public
in: query
required: false
schema:
type: boolean
description: true = flagged publicly traded; false = everything else (unknown for most companies).
- name: quality_min
in: query
required: false
schema:
type: number
description: Minimum completeness score, 0 to 100 (quality_score on every record).
minimum: 0
maximum: 100
- name: title
in: query
required: false
schema:
type: string
description: Job title contains this text.
- name: seniority
in: query
required: false
schema:
type: string
description: 'Seniority: executive · operational · financial · owner_operator · staff · unknown (staff and unknown only with dm_only=false). Comma-separated for several values.'
- name: contact_class
in: query
required: false
schema:
type: string
description: 'What the record is: person · person_business_inbox · business_inbox · owner_name_only · linkedin_only · person_office_only · other. Comma-separated for several values.'
- name: dm_only
in: query
required: false
schema:
type: boolean
description: 'Default true: named contacts only (a named contact seniority, a person''s name, and an email or a cell). false = any reachable contact.'
- name: channels
in: query
required: false
schema:
type: string
description: 'Contact channels: email, cell, office (the default three) and linkedin. A contact counts and is charged only when it carries at least one of them. On GET /v1/count it applies with entity=contacts. Comma-separated for several values.'
- name: limit
in: query
required: false
schema:
type: integer
description: Records per call, 1 to 1000.
minimum: 1
maximum: 1000
- name: estimate
in: query
required: false
schema:
type: boolean
description: true = return the exact credit cost without running the call. Free.
- name: exclude_delivered
in: query
required: false
schema:
type: boolean
description: 'Default true: a record your account bought in the last 12 months is skipped, so repeating a call returns the next batch. false re-sends it, and charges it again.'
- name: redeliver_after_days
in: query
required: false
schema:
type: integer
description: Records bought more than this many days ago become deliverable again (list recycling), 1 to 3650.
minimum: 1
maximum: 3650
- name: exclude_dissolved
in: query
required: false
schema:
type: boolean
description: true drops companies recorded as dissolved.
- name: level
in: query
required: false
schema:
type: string
description: 'Level: Board · Executive · Owner · Vice President · Director · Manager · Staff. Comma-separated for several values.'
- name: function
in: query
required: false
schema:
type: string
description: Department, one of 22 words, e.g. General Business & Management · Operations · Sales & Business Development. Comma-separated for several values.
- name: idempotency-key
in: header
required: false
schema:
type: string
description: 'Optional. A retry with the same key replays the original answer for 24 hours and charges nothing: replayed is true and credits_used is 0. The same key with a different request is 409 idempotency_conflict.'
responses:
'200':
description: Contacts, flat records.
content:
application/json:
schema:
$ref: '#/components/schemas/ContactList'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/InsufficientCredits'
'403':
$ref: '#/components/responses/Forbidden'
'409':
$ref: '#/components/responses/Conflict'
'429':
$ref: '#/components/responses/RateLimited'
'431':
$ref: '#/components/responses/HeaderTooLarge'
'500':
$ref: '#/components/responses/ServerError'
'503':
$ref: '#/components/responses/Unavailable'
components:
schemas:
Contact:
type: object
description: 'One contact at one company, as flat fields: the record of GET /v1/contacts and of the contacts in GET /v1/me/list. It carries every channel it holds.'
properties:
id:
type: string
description: 'Opaque, ct:h: + 24 hex.'
business_id:
type: string
company_name:
type:
- string
- 'null'
contact_class:
type:
- string
- 'null'
enum:
- person
- person_business_inbox
- business_inbox
- owner_name_only
- linkedin_only
- person_office_only
- other
- null
name:
type:
- string
- 'null'
first_name:
type:
- string
- 'null'
last_name:
type:
- string
- 'null'
title:
type:
- string
- 'null'
seniority:
type: string
enum:
- executive
- operational
- financial
- owner_operator
- staff
- unknown
is_decision_maker:
type: boolean
level:
type:
- string
- 'null'
function:
type:
- string
- 'null'
city:
type:
- string
- 'null'
state:
type:
- string
- 'null'
email:
type:
- string
- 'null'
email_type:
type:
- string
- 'null'
enum:
- personal
- business
- null
cell:
type:
- string
- 'null'
office:
type:
- string
- 'null'
linkedin:
type:
- string
- 'null'
origin:
type: string
bought_at:
type: string
format: date-time
description: Only on GET /v1/me/list.
Error:
type: object
required:
- ok
- error
properties:
ok:
const: false
error:
type: object
required:
- code
- message
properties:
code:
type: string
description: Machine-stable; see https://smarterdata.ai/docs/#errors.
message:
type: string
request_id:
type: string
credits_used:
type: integer
credits_remaining:
type: integer
description: 'On a 402: your balance.'
credits_needed:
type: integer
description: 'On a 402: what the call needs.'
RevealedContactList:
allOf:
- $ref: '#/components/schemas/Envelope'
- type: object
properties:
records:
type: array
items:
$ref: '#/components/schemas/RevealedContact'
Envelope:
type: object
required:
- ok
properties:
ok:
type: boolean
entity:
type: string
count:
type:
- integer
- 'null'
description: Records in this answer. null on a contact count or estimate of a segment under 25 companies.
credits_used:
type: integer
credits_remaining:
type: integer
estimate:
type: boolean
description: true on an answer to estimate=true.
credit_cost:
type:
- integer
- 'null'
description: On estimate=true.
credits_per_record:
type: integer
description: On a contact estimate.
has_more:
type: boolean
total_matching:
type: integer
pagination_mode:
type: string
definition:
type: string
description: 'On contact answers: named_dm_strict or any_reachable_person.'
already_delivered:
type:
- boolean
- integer
description: true on a record you bought in the last 12 months; on a reveal, how many contacts were withheld for that reason.
replayed:
type: boolean
description: true on a retry with the same idempotency-key.
original_credits_used:
type: integer
description: 'On a replay: what the first call paid.'
next_cursor:
type:
- string
- 'null'
description: On GET /v1/me/list.
window_days:
type: integer
description: On GET /v1/me/list.
note:
type: string
notes:
type: array
items:
type: string
records:
type: array
items: {}
RevealedContact:
type: object
description: One contact of the company a reveal names (GET /v1/companies/{business_id}/contacts). channels holds only the channels you asked for.
examples:
- id: ct:h:3f9a51c07be2d48e6a1c0d27
business_id: co:d:examplepaving.com
company_name: Example Paving Co.
contact_class: person
name: Jordan Doe
first_name: Jordan
last_name: Doe
title: Owner
seniority: owner_operator
is_decision_maker: true
is_chain_contact: false
city: Dallas
state: TX
channels:
email:
value: jordan@examplepaving.com
type: personal
status: unverified
cell:
value: '2145550177'
type: personal
line_type: unknown
office:
value: '2145550142'
type: business
email_capable: true
sms_capable: true
call_capable: true
linkedin: null
origin: web_presence
properties:
id:
type: string
description: 'Opaque, ct:h: + 24 hex.'
business_id:
type: string
company_name:
type:
- string
- 'null'
contact_class:
type: string
enum:
- person
- person_business_inbox
- business_inbox
- owner_name_only
- linkedin_only
- person_office_only
- other
name:
type:
- string
- 'null'
first_name:
type:
- string
- 'null'
last_name:
type:
- string
- 'null'
title:
type:
- string
- 'null'
seniority:
type: string
enum:
- executive
- operational
- financial
- owner_operator
- staff
- unknown
is_decision_maker:
type: boolean
level:
type:
- string
- 'null'
function:
type:
- string
- 'null'
is_chain_contact:
type: boolean
city:
type:
- string
- 'null'
state:
type:
- string
- 'null'
channels:
type: object
properties:
email:
type: object
properties:
value:
type: string
type:
type: string
enum:
- personal
- business
status:
type: string
cell:
type: object
properties:
value:
type: string
type:
type: string
line_type:
type: string
office:
type: object
properties:
value:
type: string
type:
type: string
linkedin:
type: object
description: Only when channels asks for linkedin.
properties:
value:
type: string
email_capable:
type: boolean
sms_capable:
type: boolean
call_capable:
type: boolean
linkedin:
type:
- string
- 'null'
origin:
type: string
ContactList:
allOf:
- $ref: '#/components/schemas/Envelope'
- type: object
properties:
records:
type: array
items:
$ref: '#/components/schemas/Contact'
responses:
InsufficientCredits:
description: 'insufficient_credits: the balance cannot cover the call (for a job: the most it can cost). The answer adds credits_remaining and credits_needed.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
example:
value:
ok: false
error:
code: insufficient_credits
message: this call needs 5 credits; your balance is 2 — top up in the console; nothing was charged
request_id: 7d2f9c1e-5b0a-4c8e-9f31-2a6b4e8d0c57
credits_used: 0
credits_remaining: 2
credits_needed: 5
RateLimited:
description: 'Codes: rate_limited (requests per key; calls that carry name=; estimates running at once), live_rate_limited (live pages per account per minute), daily_cap_reached (the daily credit cap of the key), auth_rate_limited (unknown keys from one address), list_download_running (a second CSV download of your list). Retry after the Retry-After header when present. Nothing charged.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: 'invalid_api_key: the key is missing, unknown or revoked.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Conflict:
description: 'Codes: company_required (a reveal for a company your account does not hold yet: get the company first), idempotency_conflict (the same idempotency-key with a different request), idempotency_in_progress (the first call with this key was interrupted on our side: retry in a few minutes). Nothing charged.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
NotFound:
description: 'not_found: no company with that business_id, or no such job on your account. A path the API does not have answers the same code.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unavailable:
description: 'Codes: busy (the data service is at capacity: retry in a few seconds), upstream_unavailable, upstream_paused or upstream_busy (a live, verification or crawl source cannot answer now), job_interrupted (a job was closed before its hold was taken: submit it again), auth_unavailable (a console sign-in could not be checked). Nothing charged.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
HeaderTooLarge:
description: 'request_header_too_large: the request line and headers are over 16 KB, usually a very long query string. This answer carries no request_id. Nothing charged.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
ServerError:
description: 'internal_error: a fault on our side. A charge of that request is refunded. Retry with the same idempotency-key and quote the request_id if it happens again.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Forbidden:
description: 'Codes: scope_required (the result holds a cell number or a personal email and the key has no personal_data scope), api_key_required (a paid call from a console session: records leave only through an API key), account_suspended, login_not_accepted (a console sign-in that cannot open an account). Nothing charged.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
BadRequest:
description: 'A malformed request. Codes: unknown_filter (a parameter name the route does not take), empty_filter, bad_boolean, bad_limit, bad_number, bad_channels, bad_entity, bad_redeliver_after_days, offset_not_supported, segment_too_small, page_range, q_required, email_required, bad_request. Nothing charged.'
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
apiKey:
type: apiKey
in: header
name: x-api-key
description: sk_live_… key from the console (https://smarterdata.ai/app/).
externalDocs:
description: API reference
url: https://smarterdata.ai/docs/