> ## Documentation Index
> Fetch the complete documentation index at: https://docs.seamless.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Research a contact (Data)

> Researches one contact. The result is `{ type: 'contact-result', data: { contact }, meta }`: `data.contact` is
the person, `meta` the run. It is posted to `callbackUrl` when one is supplied and can always be fetched from
`GET /data/contacts/research/poll?requestId=…` for 7 days after the request (that retention is subject to change
at any time). Only the requested `fields` are looked up and returned.

Unlike [Research contacts](/api-reference/v2/contact-research/research-contacts) and
[Research a single contact](/api-reference/v2/contact-research/research-a-single-contact), this endpoint does
not save the researched contact to your My Contacts: the result is only posted to your `callbackUrl` and
available from the poll endpoint.

Credits: `email` and `phone` are the paid fields; the others are free. Under flat pricing (the default) asking
for `email`, `phone` or both costs one research, refunded only when none of them was delivered. Under per-field
pricing each of `email` and `phone` has its own price and is refunded on its own when not delivered. An email
counts as delivered when a business address is `valid`, or `accept-all` with a confidence of at least 50; a phone
when a contact phone of a type your organization is charged for was found (by default a `mobile`, a `main` or an
untyped number; numbers you sent yourself never count). `meta.credits.charged` is what the request finally cost;
a failed run costs nothing.

`emails` carries at most 3 business addresses and 1 personal address (`isPersonal`), best first; `phones` and
`company.phones` carry at most 10 entries each, best first.
`meta.status` (`completed`, `partial`, `failed`) describes the run; `meta.wasFound` describes the person:
true when the contact matched our data or a deliverable business email or chargeable phone was resolved for them,
false when the run completed with neither. `meta.wasFound` is absent on a `failed` run, which carries
`meta.error` instead. `meta.jobChange.found` tells whether the contact was found through their job history
(the company sent is a former employer) and `meta.jobChange.applied` whether the research followed them to
their current employer.

Requests are rate limited at 20 per second per organization.




## OpenAPI

````yaml /v2-openapi.json post /data/contacts/research
openapi: 3.0.0
info:
  title: Seamless API
  description: >-
    Search and research Seamless.AI contacts and companies, and work with the
    records saved to your organization. Authentication, rate limits, and credits
    are covered at https://docs.seamless.ai.


    Public API v2 is in beta. Every v2 endpoint returns 403 until Seamless
    enables v2 for your organization; contact your Account Executive or support
    for access.


    [Privacy Policy](https://seamless.ai/policies/privacy-policy)
  version: 1.0.0
  termsOfService: https://seamless.ai/policies/terms-of-use
servers:
  - url: https://api.seamless.ai/api/client/v2
    description: Seamless API
security: []
tags: []
paths:
  /data/contacts/research:
    post:
      tags:
        - Contact Research
      summary: Research a contact (Data)
      description: >
        Researches one contact. The result is `{ type: 'contact-result', data: {
        contact }, meta }`: `data.contact` is

        the person, `meta` the run. It is posted to `callbackUrl` when one is
        supplied and can always be fetched from

        `GET /data/contacts/research/poll?requestId=…` for 7 days after the
        request (that retention is subject to change

        at any time). Only the requested `fields` are looked up and returned.


        Unlike [Research
        contacts](/api-reference/v2/contact-research/research-contacts) and

        [Research a single
        contact](/api-reference/v2/contact-research/research-a-single-contact),
        this endpoint does

        not save the researched contact to your My Contacts: the result is only
        posted to your `callbackUrl` and

        available from the poll endpoint.


        Credits: `email` and `phone` are the paid fields; the others are free.
        Under flat pricing (the default) asking

        for `email`, `phone` or both costs one research, refunded only when none
        of them was delivered. Under per-field

        pricing each of `email` and `phone` has its own price and is refunded on
        its own when not delivered. An email

        counts as delivered when a business address is `valid`, or `accept-all`
        with a confidence of at least 50; a phone

        when a contact phone of a type your organization is charged for was
        found (by default a `mobile`, a `main` or an

        untyped number; numbers you sent yourself never count).
        `meta.credits.charged` is what the request finally cost;

        a failed run costs nothing.


        `emails` carries at most 3 business addresses and 1 personal address
        (`isPersonal`), best first; `phones` and

        `company.phones` carry at most 10 entries each, best first.

        `meta.status` (`completed`, `partial`, `failed`) describes the run;
        `meta.wasFound` describes the person:

        true when the contact matched our data or a deliverable business email
        or chargeable phone was resolved for them,

        false when the run completed with neither. `meta.wasFound` is absent on
        a `failed` run, which carries

        `meta.error` instead. `meta.jobChange.found` tells whether the contact
        was found through their job history

        (the company sent is a former employer) and `meta.jobChange.applied`
        whether the research followed them to

        their current employer.


        Requests are rate limited at 20 per second per organization.
      operationId: researchContactData
      requestBody:
        required: true
        content:
          application/json:
            examples:
              nameAndCompany:
                summary: Research by name and company
                value:
                  contactName: Jane Doe
                  companyName: Acme Corp
                  fields:
                    email: true
                    phone: true
                    title: true
                  callbackUrl: https://example.com/seamless/research
              searchResultId:
                summary: Research a contact search result (searchResultId sent alone)
                value:
                  searchResultId: searchResultId1
                  fields:
                    email: true
                    phone: true
                  callbackUrl: https://example.com/seamless/research
              emailWithRequestId:
                summary: >-
                  Research by email with an idempotency key, polled instead of
                  called back
                value:
                  contactEmail: jane@acme.com
                  fields:
                    phone: true
                  requestId: crm-contact-42
            schema:
              type: object
              description: >
                Identify the contact one of two ways: a `searchResultId` from
                contact search, sent alone

                (only `fields`, `callbackUrl` and `requestId` may accompany it;
                any other property is rejected),

                or contact details — `contactName` (or `firstName` with
                `lastName`) with `companyName`, `companyWebsite` or

                `domain`, `contactEmail`, `contactPhone`, or a LinkedIn profile
                URL (`liProfileUrl`) — optionally with

                `title`, `city`, `state` and `country` as hints. A name sent
                without a usable last name is a 400.

                A contact found by email, phone, LinkedIn URL or
                `searchResultId` must still resolve to a first and a

                last name; when it does not, the run fails and `meta.error`
                names why.

                A `companyName` or `title` that is only a placeholder (such as
                `Self-employed`, `Freelance` or

                `Retired`, in any case) is a 400 (`generic-company-or-title`),
                whatever else identifies the contact.

                Every property must have the type given here (`null` counts as
                absent) and, once trimmed, fit its

                `maxLength`; the whole body, serialized, must be at most 65,536
                bytes. Emails that are not valid

                addresses, phones without 10 to 15 digits, and a `domain` or
                `companyWebsite` that is not a public

                domain are ignored rather than rejected. `contactEmail` and
                `contactEmails` are read as one list,

                as are `contactPhone` and `contactPhones`; the first 10 usable,
                distinct entries of each are used.

                Omit `callbackUrl` to fetch the result from the poll route
                instead of receiving it.
              required:
                - fields
              additionalProperties: false
              properties:
                searchResultId:
                  type: string
                  maxLength: 200
                  description: >-
                    Contact search result id; identifies the contact on its own
                    and is sent alone (only `fields`, `callbackUrl` and
                    `requestId` may accompany it). Judged on presence, not
                    validity — any other property carrying a non-blank value is
                    a 400, even one the research would not have used
                contactName:
                  type: string
                  maxLength: 200
                firstName:
                  type: string
                  maxLength: 200
                lastName:
                  type: string
                  maxLength: 200
                  description: Counts as a name only together with `firstName`
                companyName:
                  type: string
                  maxLength: 200
                companyWebsite:
                  type: string
                  maxLength: 2048
                domain:
                  type: string
                  maxLength: 253
                contactEmail:
                  type: string
                  maxLength: 254
                contactEmails:
                  type: array
                  items:
                    type: string
                    maxLength: 254
                contactPhone:
                  type: string
                  maxLength: 32
                contactPhones:
                  type: array
                  items:
                    type: string
                    maxLength: 32
                liProfileUrl:
                  type: string
                  maxLength: 2048
                  description: >-
                    LinkedIn profile URL (`https://www.linkedin.com/in/<id>`);
                    Sales Navigator, Recruiter and company URLs are rejected
                title:
                  type: string
                  maxLength: 200
                city:
                  type: string
                  maxLength: 200
                state:
                  type: string
                  maxLength: 200
                country:
                  type: string
                  maxLength: 200
                fields:
                  type: object
                  description: >
                    What to look up and return, keyed by field name, each value
                    a boolean; a field is included when

                    its value is `true` (`{ "email": true, "phone": true,
                    "title": false }` requests email, phone). Required; there is
                    no

                    default set. Must include `email` and/or `phone` (a research
                    is an email and/or phone lookup) —

                    `companyPhone` is a company attribute and does not count.
                  minProperties: 1
                  additionalProperties: false
                  properties:
                    email:
                      type: boolean
                    phone:
                      type: boolean
                    companyPhone:
                      type: boolean
                    title:
                      type: boolean
                    jobHistory:
                      type: boolean
                    location:
                      type: boolean
                    linkedIn:
                      type: boolean
                    company:
                      type: boolean
                callbackUrl:
                  type: string
                  format: uri
                  maxLength: 2048
                  description: >
                    Optional HTTPS endpoint that receives the result; without it
                    the result is only available from the poll route.

                    Rejected with a 400 (`callback-url-blocked`) when it carries
                    credentials or names `localhost`, a `.local` or

                    `.internal` host, or a private or reserved IP address. When
                    the result is posted, every address the host

                    resolves to is checked again and the connection is pinned to
                    them; redirects are not followed.

                    The post carries `x-seamless-request-id` and, when one of
                    your organization's webhooks has the same URL

                    (ignoring case, a trailing slash and the fragment; enabled
                    or not), that webhook's custom header if it has

                    one, otherwise its `x-seamless-webhook-secret`. With no such
                    webhook the post is unsigned. If that webhook's

                    configuration cannot be read, the run fails with
                    `internal-error` and costs nothing.

                    Delivery is tried twice at most, 3 seconds each; network
                    errors, 5xx, 408, 425 and 429 answers are retried.

                    An endpoint that is unreachable or answers with an error
                    does not change the research or its charge: the

                    result is stored and pollable, with the delivery outcome in
                    `meta.callback`.
                requestId:
                  type: string
                  maxLength: 64
                  pattern: ^[A-Za-z0-9_.:-]+$
                  description: >
                    Optional idempotency key of letters, digits, `_`, `-`, `.`
                    and `:`, unique per user; generated when omitted.

                    The result is polled by it. A valid request that repeats a
                    `requestId` you used is a 409 for as long as the

                    first one's result is retained, whatever the rest of the
                    body, so a client retrying a request whose 202 it

                    never saw reads that 409 as the acceptance and polls
                    `data.requestId`.
      responses:
        '202':
          description: >-
            The request was accepted; the result is posted to `callbackUrl`
            (when supplied) as the `contact-research-v2-result` webhook and can
            be polled by `requestId` until `expiresAt`
          headers:
            X-PublicAPI-Credits:
              description: >-
                Your balance minus the most this request can cost (before any
                refund); `meta.credits.charged` in the result is the final cost
              schema:
                type: number
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  requestId:
                    type: string
                    example: 6Ei5iKuSHzJXvqjVPWiZ_
                  expiresAt:
                    type: string
                    format: date-time
                    description: >-
                      When the result stops being available from the poll route
                      (7 days after the request; subject to change at any time)
                    example: '2026-11-08T12:00:00.000Z'
        '400':
          description: >
            Invalid request. `code` is `invalidArguments` for an unknown
            property (`data.unknown`), a wrong type or

            over-long value, `fields` omitted, not an object of booleans or
            without `email` / `phone`, an unknown field,

            an invalid `requestId` or `callbackUrl`, or an `liProfileUrl` that
            is not a profile URL — `path` names the

            property when there is one; `incorrectResearchParams` for a
            `searchResultId` sent with other contact

            properties (`data.conflicting`) or a missing identity;
            `missing-last-name` for a name without a last name;

            `callback-url-blocked` for a `callbackUrl` on a local or private
            network; `generic-company-or-title` for a

            `companyName` or `title` that is a placeholder rather than a real
            company or job title — nothing is

            researched or charged. A body that is not valid JSON is `{ "msg":
            "Invalid JSON payload." }`.
          content:
            application/json:
              schema:
                type: object
                description: >-
                  Most errors carry `msg`; rate-limit (429) errors carry `code`
                  and `message` only.
                properties:
                  msg:
                    description: A human readable error message
                    type: string
                  message:
                    description: The same message as `msg`; the only message on a 429
                    type: string
                  code:
                    description: Machine-readable error code, when one applies
                    type: string
                  type:
                    description: Error category; often the same as `code`
                    type: string
                  status:
                    description: The HTTP status of the response
                    type: integer
                  path:
                    description: >-
                      The request property that failed validation, when one
                      applies
                    type: string
                  data:
                    description: >-
                      Additional detail, when the error has any (for example the
                      unknown properties of a 400 or the `requestId` of a 409)
                    type: object
                    additionalProperties: true
                  success:
                    description: Always false
                    type: boolean
                  reference:
                    description: >-
                      Support reference id, present on some 500 responses; quote
                      it to support
                    type: string
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                type: object
                description: >-
                  Most errors carry `msg`; rate-limit (429) errors carry `code`
                  and `message` only.
                properties:
                  msg:
                    description: A human readable error message
                    type: string
                  message:
                    description: The same message as `msg`; the only message on a 429
                    type: string
                  code:
                    description: Machine-readable error code, when one applies
                    type: string
                  type:
                    description: Error category; often the same as `code`
                    type: string
                  status:
                    description: The HTTP status of the response
                    type: integer
                  path:
                    description: >-
                      The request property that failed validation, when one
                      applies
                    type: string
                  data:
                    description: >-
                      Additional detail, when the error has any (for example the
                      unknown properties of a 400 or the `requestId` of a 409)
                    type: object
                    additionalProperties: true
                  success:
                    description: Always false
                    type: boolean
                  reference:
                    description: >-
                      Support reference id, present on some 500 responses; quote
                      it to support
                    type: string
        '403':
          description: >-
            The connection lacks the `publicAPI.v2.all` scope
            (`insufficientScope`), or Public API v2 is not enabled for your
            organization (`noFeatureAccess`)
          content:
            application/json:
              schema:
                type: object
                description: >-
                  Most errors carry `msg`; rate-limit (429) errors carry `code`
                  and `message` only.
                properties:
                  msg:
                    description: A human readable error message
                    type: string
                  message:
                    description: The same message as `msg`; the only message on a 429
                    type: string
                  code:
                    description: Machine-readable error code, when one applies
                    type: string
                  type:
                    description: Error category; often the same as `code`
                    type: string
                  status:
                    description: The HTTP status of the response
                    type: integer
                  path:
                    description: >-
                      The request property that failed validation, when one
                      applies
                    type: string
                  data:
                    description: >-
                      Additional detail, when the error has any (for example the
                      unknown properties of a 400 or the `requestId` of a 409)
                    type: object
                    additionalProperties: true
                  success:
                    description: Always false
                    type: boolean
                  reference:
                    description: >-
                      Support reference id, present on some 500 responses; quote
                      it to support
                    type: string
        '404':
          description: Data research is turned off (code `research-v2-disabled`)
          content:
            application/json:
              schema:
                type: object
                description: >-
                  Most errors carry `msg`; rate-limit (429) errors carry `code`
                  and `message` only.
                properties:
                  msg:
                    description: A human readable error message
                    type: string
                  message:
                    description: The same message as `msg`; the only message on a 429
                    type: string
                  code:
                    description: Machine-readable error code, when one applies
                    type: string
                  type:
                    description: Error category; often the same as `code`
                    type: string
                  status:
                    description: The HTTP status of the response
                    type: integer
                  path:
                    description: >-
                      The request property that failed validation, when one
                      applies
                    type: string
                  data:
                    description: >-
                      Additional detail, when the error has any (for example the
                      unknown properties of a 400 or the `requestId` of a 409)
                    type: object
                    additionalProperties: true
                  success:
                    description: Always false
                    type: boolean
                  reference:
                    description: >-
                      Support reference id, present on some 500 responses; quote
                      it to support
                    type: string
        '409':
          description: >
            A research with this `requestId` already exists for you (code
            `duplicate`; `data.requestId` names it). The body is

            validated first, so an invalid repeat is a 400; any valid repeat is
            a 409, an identical one included.

            A client retrying a request it never saw the 202 of must treat this
            as "already accepted": the first request is running, and its result
            is polled by `data.requestId`. Send a new `requestId` for a new
            research.
          content:
            application/json:
              schema:
                type: object
                description: >-
                  Most errors carry `msg`; rate-limit (429) errors carry `code`
                  and `message` only.
                properties:
                  msg:
                    description: A human readable error message
                    type: string
                  message:
                    description: The same message as `msg`; the only message on a 429
                    type: string
                  code:
                    description: Machine-readable error code, when one applies
                    type: string
                  type:
                    description: Error category; often the same as `code`
                    type: string
                  status:
                    description: The HTTP status of the response
                    type: integer
                  path:
                    description: >-
                      The request property that failed validation, when one
                      applies
                    type: string
                  data:
                    description: >-
                      Additional detail, when the error has any (for example the
                      unknown properties of a 400 or the `requestId` of a 409)
                    type: object
                    additionalProperties: true
                  success:
                    description: Always false
                    type: boolean
                  reference:
                    description: >-
                      Support reference id, present on some 500 responses; quote
                      it to support
                    type: string
        '413':
          description: The request body exceeds 65,536 bytes (code `request-too-large`)
          content:
            application/json:
              schema:
                type: object
                description: >-
                  Most errors carry `msg`; rate-limit (429) errors carry `code`
                  and `message` only.
                properties:
                  msg:
                    description: A human readable error message
                    type: string
                  message:
                    description: The same message as `msg`; the only message on a 429
                    type: string
                  code:
                    description: Machine-readable error code, when one applies
                    type: string
                  type:
                    description: Error category; often the same as `code`
                    type: string
                  status:
                    description: The HTTP status of the response
                    type: integer
                  path:
                    description: >-
                      The request property that failed validation, when one
                      applies
                    type: string
                  data:
                    description: >-
                      Additional detail, when the error has any (for example the
                      unknown properties of a 400 or the `requestId` of a 409)
                    type: object
                    additionalProperties: true
                  success:
                    description: Always false
                    type: boolean
                  reference:
                    description: >-
                      Support reference id, present on some 500 responses; quote
                      it to support
                    type: string
        '422':
          description: >-
            Insufficient credits (`insufficientCredits`) or no Public API
            license (`missingApiAccess`)
          content:
            application/json:
              schema:
                description: Insufficient credits or missing license
                type: object
                properties:
                  msg:
                    type: string
                  code:
                    type: string
                  data:
                    type: object
                    properties:
                      productCategory:
                        type: string
                      additionalCreditsNeeded:
                        type: number
                        description: >-
                          Credits missing to cover the whole request. Can be
                          fractional under custom pricing.
        '429':
          description: >-
            Rate limit exceeded (20 requests per second per organization; code
            `rateLimitExceeded`). The `X-RateLimit-Limit`,
            `X-RateLimit-Remaining` and `X-RateLimit-Reset` headers describe the
            window.
          content:
            application/json:
              schema:
                type: object
                description: >-
                  Most errors carry `msg`; rate-limit (429) errors carry `code`
                  and `message` only.
                properties:
                  msg:
                    description: A human readable error message
                    type: string
                  message:
                    description: The same message as `msg`; the only message on a 429
                    type: string
                  code:
                    description: Machine-readable error code, when one applies
                    type: string
                  type:
                    description: Error category; often the same as `code`
                    type: string
                  status:
                    description: The HTTP status of the response
                    type: integer
                  path:
                    description: >-
                      The request property that failed validation, when one
                      applies
                    type: string
                  data:
                    description: >-
                      Additional detail, when the error has any (for example the
                      unknown properties of a 400 or the `requestId` of a 409)
                    type: object
                    additionalProperties: true
                  success:
                    description: Always false
                    type: boolean
                  reference:
                    description: >-
                      Support reference id, present on some 500 responses; quote
                      it to support
                    type: string
        '500':
          description: >-
            Unexpected error. Internal detail is never returned; a failure to
            check the credential or read credits carries `code` and a support
            `reference`
          content:
            application/json:
              schema:
                type: object
                description: >-
                  Most errors carry `msg`; rate-limit (429) errors carry `code`
                  and `message` only.
                properties:
                  msg:
                    description: A human readable error message
                    type: string
                  message:
                    description: The same message as `msg`; the only message on a 429
                    type: string
                  code:
                    description: Machine-readable error code, when one applies
                    type: string
                  type:
                    description: Error category; often the same as `code`
                    type: string
                  status:
                    description: The HTTP status of the response
                    type: integer
                  path:
                    description: >-
                      The request property that failed validation, when one
                      applies
                    type: string
                  data:
                    description: >-
                      Additional detail, when the error has any (for example the
                      unknown properties of a 400 or the `requestId` of a 409)
                    type: object
                    additionalProperties: true
                  success:
                    description: Always false
                    type: boolean
                  reference:
                    description: >-
                      Support reference id, present on some 500 responses; quote
                      it to support
                    type: string
        '503':
          description: >-
            The request could not be recorded (code `research-unavailable`);
            retry shortly
          content:
            application/json:
              schema:
                type: object
                description: >-
                  Most errors carry `msg`; rate-limit (429) errors carry `code`
                  and `message` only.
                properties:
                  msg:
                    description: A human readable error message
                    type: string
                  message:
                    description: The same message as `msg`; the only message on a 429
                    type: string
                  code:
                    description: Machine-readable error code, when one applies
                    type: string
                  type:
                    description: Error category; often the same as `code`
                    type: string
                  status:
                    description: The HTTP status of the response
                    type: integer
                  path:
                    description: >-
                      The request property that failed validation, when one
                      applies
                    type: string
                  data:
                    description: >-
                      Additional detail, when the error has any (for example the
                      unknown properties of a 400 or the `requestId` of a 409)
                    type: object
                    additionalProperties: true
                  success:
                    description: Always false
                    type: boolean
                  reference:
                    description: >-
                      Support reference id, present on some 500 responses; quote
                      it to support
                    type: string
      security:
        - OAuth2:
            - publicAPI.v2.all
        - ApiKeyAuth: []
components:
  securitySchemes:
    OAuth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://login.seamless.ai/oauth/authorize
          tokenUrl: https://api.seamless.ai/api/client/v2/oauth/accessToken
          scopes:
            publicAPI.v2.all: Public API v2
    ApiKeyAuth:
      type: apiKey
      name: Token
      in: header
      description: API key passed via the Token header.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.