Work with this as data
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/pipecorn-com:pipecorn-com-enrichments-api"
All apis
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.
Get an API 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 Specification
openapi: 3.2.0
info:
title: Pipecorn Enrichments API
version: 2.0.0
description: 'Search companies and people, enrich them with a verified work email and mobile number, and read buying signals.
Authenticate with your API key in the X-API-KEY header. Enrichment spends credits (an email costs 3, a mobile 30); extraction spends plan quotas.
A 402 with code insufficient_credits means the credit balance is empty, a 403 with code workspace_limit_exceeded means a workspace admin capped this member, a 422 "Plan limit reached." means an extraction quota ran out, a 429 means slow down.
Responses from endpoints under the plan rate limit carry RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset; a 429 adds Retry-After. Send an Idempotency-Key header on a POST to retry it without running or paying twice. Async enrichment returns a Location status URL; list endpoints page with cursor.
Docs: https://docs.pipecorn.com/api-reference/overview. Agent guide: https://docs.pipecorn.com/agents.md.
The same data is available over MCP at https://mcp.pipecorn.com/mcp.
Synchronous enrichment, on another host, has its own spec: https://pipecorn.com/openapi/sync-enrichment.json.'
contact:
name: Pipecorn
url: https://pipecorn.com/contact
termsOfService: https://pipecorn.com/terms-of-service
x-logo:
url: https://pipecorn.com/assets/logo-pipecorn-square.svg
servers:
- url: https://app.pipecorn.com/api/v2
security:
- apiKey: []
tags:
- name: Enrichments
description: Pipecorn List API
paths:
/contacts/{id}:
get:
operationId: get_contact_enrichment
tags:
- Enrichments
summary: Get single contact enrichment result
description: Retrieves the enrichment result for a single contact by enrichment ID.
parameters:
- name: id
in: path
required: true
description: The ID of the enrichment request to retrieve
schema:
type: string
format: uuid
responses:
'200':
description: Enrichment result retrieved successfully
content:
application/json:
schema:
type: object
properties:
enrichment_id:
type: string
format: uuid
description: The ID of the enrichment request
first_name:
type: string
description: The contact's first name
last_name:
type: string
description: The contact's last name
status:
type: string
enum:
- finished
- pending
description: The status of the enrichment request. `pending` while the waterfall is still running, `finished` once all requested enrichments have completed (regardless of whether data was found).
email:
type: string
format: email
description: The enriched professional email address (present if enrichment_type included email)
email_status:
type: string
description: The validation status of the professional email (e.g. `deliverable`, `catch-all`, `N/A`)
personal_email:
type: string
format: email
description: The enriched personal email address (present if enrichment_type included personal_email)
personal_email_status:
type: string
description: The validation status of the personal email (e.g. `valid`, `invalid`, `catch-all`, `N/A`)
phone:
type: array
items:
type: string
description: Phone number in E.164 format
description: Array of enriched phone numbers, after the `phone_type` filter is applied (empty array when none found)
phone_details:
type: array
description: Phone numbers found, each with its line type. Same numbers and order as `phone`, after the `phone_type` filter is applied (empty array when none found).
items:
type: object
properties:
number:
type: string
description: Phone number in E.164 format
type:
type: string
enum:
- mobile
- fixed_or_mobile
- fixed_line
- voip
- toll_free
- premium_rate
- shared_cost
- personal_number
- pager
- uan
- voicemail
- unknown
description: Line type derived from the number's numbering plan. `fixed_or_mobile` is used in countries where mobile and landline numbers share the same ranges (e.g. the US and Canada); it counts as mobile for the `phone_type` filter and for billing. `unknown` means the number could not be classified.
custom:
type: object
description: Custom fields passed in the request
additionalProperties: true
example:
enrichment_id: 123e4567-e89b-12d3-a456-426614174000
first_name: Mathieu
last_name: Brun-Picard
status: finished
email: mathieu@prontohq.com
email_status: deliverable
personal_email: mathieu.bp@gmail.com
personal_email_status: valid
phone:
- '+12015550123'
phone_details:
- number: '+12015550123'
type: fixed_or_mobile
custom:
hubspot_id: '4447901'
'404':
description: Enrichment not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
example:
error: Enrichment not found
/contacts/single_enrich:
post:
operationId: enrich_contact_async
tags:
- Enrichments
summary: Enrich a single contact
description: Enriches a single contact with specified data points.
requestBody:
description: Contact information for enrichment
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/EnrichmentRequest'
example:
firstname: Mathieu
lastname: Brun-Picard
domain: pipecorn.com
company_name: Pipecorn
linkedin_url: https://www.linkedin.com/in/mathieu-brun-picard/
webhook_url: https://webhook.site/8b53c96f-f2cd-4c24-bc09-b3c2176d7ea8
enrichment_type:
- phone
phone_type:
- mobile
custom:
hubspot_id: '4447901'
responses:
'200':
description: 'Enrichment request accepted. The waterfall runs asynchronously: poll the URL in the `Location` header (`GET /contacts/{id}`, using the returned `enrichment_id`) or wait for the `webhook_url` callback to retrieve final results.'
content:
application/json:
schema:
type: object
properties:
enrichment_id:
type: string
format: uuid
description: The ID of the enrichment request. Use it to poll `GET /contacts/{id}`.
first_name:
type: string
description: The contact's first name
last_name:
type: string
description: The contact's last name
status:
type: string
enum:
- pending
description: Always `pending` on creation; the waterfall runs asynchronously.
custom:
type: object
description: Custom fields passed in the request
additionalProperties: true
status_url:
type: string
format: uri
description: 'Where to poll the result: `GET /contacts/{id}`. Same value as the `Location` header.'
example: https://app.pipecorn.com/api/v2/contacts/123e4567-e89b-12d3-a456-426614174000
example:
enrichment_id: 123e4567-e89b-12d3-a456-426614174000
first_name: Mathieu
last_name: Brun-Picard
status: pending
custom:
hubspot_id: '4447901'
status_url: https://app.pipecorn.com/api/v2/contacts/123e4567-e89b-12d3-a456-426614174000
headers:
Location:
description: Status URL of this enrichment, `GET /contacts/{id}`.
schema:
type: string
format: uri
Idempotent-Replayed:
$ref: '#/components/headers/Idempotent-Replayed'
'402':
description: Not enough enrichment credits to cover the request. Credits are checked up-front for the whole request, so nothing is enqueued and nothing is spent.
content:
application/json:
schema:
$ref: '#/components/schemas/InsufficientCreditsError'
example:
error: Not enough enrichment credits left
code: insufficient_credits
top_up_url: https://app.pipecorn.com/settings/subscriptions/credits
'403':
description: The workspace weekly enrichment credit limit is reached. Buying credits does not lift it, so no `top_up_url` is returned, and nothing is enqueued.
content:
application/json:
schema:
$ref: '#/components/schemas/WorkspaceLimitError'
example:
error: You have reached your weekly enrichment credit limit for this workspace
code: workspace_limit_exceeded
'409':
$ref: '#/components/responses/IdempotencyConflict'
'422':
description: Unprocessable Entity. Returned when validation fails (e.g. unsupported `enrichment_type` value, missing required identifiers), or when the user has not consented to personal email enrichment but requested `personal_email`.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
personal_email_consent_missing:
summary: Personal email consent missing
value:
error: You can't use the personal email enrichment feature without consenting with our terms of use
parameters:
- $ref: '#/components/parameters/IdempotencyKey'
/contacts/bulk_enrich:
post:
operationId: bulk_enrich_contacts
tags:
- Enrichments
summary: Enrich multiple contacts (deprecated)
description: '**Deprecated.** Use `POST /contacts/single_enrich` (async, with `webhook_url`) once per contact instead, or the synchronous `POST /contacts/single_enrich` when you need results inline. This endpoint keeps working for existing integrations but receives no new features (such as `phone_type` or `phone_details`).'
requestBody:
description: Bulk contact information for enrichment
required: true
content:
application/json:
schema:
type: object
required:
- contacts
properties:
webhook_url:
type: string
format: uri
description: Webhook URL to receive enrichment results
phone_country_codes:
type: array
items:
type: string
description: ISO 3166-1 alpha-2 country code (e.g. "US", "FR", "GB")
description: Optional. Restrict phone enrichment to phone numbers from these countries (applies to every contact in the batch). When omitted, the user's account-level default phone country codes are applied.
oneOf:
- title: Email batch
required:
- enrichment_type
- contacts
properties:
enrichment_type:
type: array
maxItems: 1
items:
type: string
enum:
- email
description: Set to ["email"] for the whole batch.
contacts:
type: array
maxItems: 100
items:
type: object
required:
- firstname
- lastname
properties:
firstname:
type: string
description: First name of the contact.
lastname:
type: string
description: Last name of the contact.
linkedin_url:
type: string
format: uri
description: LinkedIn profile URL of the contact.
example: https://www.linkedin.com/in/mathieu-brun-picard/
domain:
type: string
description: Company domain.
example: pipecorn.com
company_name:
type: string
description: Company name.
example: Pipecorn
custom:
type: object
description: Custom fields to include with the enrichment.
additionalProperties: true
anyOf:
- required:
- linkedin_url
- required:
- domain
- required:
- company_name
description: Each contact requires `firstname`, `lastname`, and one of `linkedin_url`, `domain`, or `company_name`.
- title: Phone batch
required:
- enrichment_type
- contacts
properties:
enrichment_type:
type: array
maxItems: 1
items:
type: string
enum:
- phone
description: Set to ["phone"] for the whole batch.
contacts:
type: array
maxItems: 100
items:
type: object
required:
- linkedin_url
properties:
firstname:
type: string
description: First name of the contact.
lastname:
type: string
description: Last name of the contact.
linkedin_url:
type: string
format: uri
description: LinkedIn profile URL of the contact.
example: https://www.linkedin.com/in/mathieu-brun-picard/
domain:
type: string
description: Company domain.
example: pipecorn.com
company_name:
type: string
description: Company name.
example: Pipecorn
custom:
type: object
description: Custom fields to include with the enrichment.
additionalProperties: true
description: Each contact requires only `linkedin_url`.
- title: Personal email batch
required:
- enrichment_type
- contacts
properties:
enrichment_type:
type: array
maxItems: 1
items:
type: string
enum:
- personal_email
description: Set to ["personal_email"] for the whole batch. Requires GDPR consent.
contacts:
type: array
maxItems: 100
items:
type: object
required:
- linkedin_url
properties:
firstname:
type: string
description: First name of the contact.
lastname:
type: string
description: Last name of the contact.
linkedin_url:
type: string
format: uri
description: LinkedIn profile URL of the contact.
example: https://www.linkedin.com/in/mathieu-brun-picard/
domain:
type: string
description: Company domain.
example: pipecorn.com
company_name:
type: string
description: Company name.
example: Pipecorn
custom:
type: object
description: Custom fields to include with the enrichment.
additionalProperties: true
description: Each contact requires `linkedin_url`; the account must have GDPR consent.
example:
contacts:
- firstname: Mathieu
lastname: Brun-Picard
domain: pipecorn.com
company_name: Pipecorn
linkedin_url: https://www.linkedin.com/in/mathieu-brun-picard/
custom:
hubspot_id: '4447901'
- firstname: Nicolas
lastname: Fernandez-Le Follic
domain: pipecorn.com
company_name: Pipecorn
linkedin_url: https://www.linkedin.com/in/nicolasfernandezlefollic/
custom:
hubspot_id: '4447902'
webhook_url: https://webhook.site/8b53c96f-f2cd-4c24-bc09-b3c2176d7ea8
enrichment_type:
- email
responses:
'200':
description: Bulk enrichment request accepted. Each contact is enriched asynchronously; results are delivered via the `webhook_url` callback as each contact finishes.
content:
application/json:
schema:
type: object
properties:
enrichment_id:
type: string
format: uuid
description: The ID of the bulk enrichment job
example:
enrichment_id: 123e4567-e89b-12d3-a456-426614174000
headers:
Idempotent-Replayed:
$ref: '#/components/headers/Idempotent-Replayed'
'400':
description: Invalid request
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
'402':
description: Not enough enrichment credits to cover the request. Credits are checked up-front for the whole request, so nothing is enqueued and nothing is spent.
content:
application/json:
schema:
$ref: '#/components/schemas/InsufficientCreditsError'
example:
error: Not enough enrichment credits left
code: insufficient_credits
top_up_url: https://app.pipecorn.com/settings/subscriptions/credits
'403':
description: The workspace weekly enrichment credit limit is reached. Buying credits does not lift it, so no `top_up_url` is returned, and nothing is enqueued.
content:
application/json:
schema:
$ref: '#/components/schemas/WorkspaceLimitError'
example:
error: You have reached your weekly enrichment credit limit for this workspace
code: workspace_limit_exceeded
'409':
$ref: '#/components/responses/IdempotencyConflict'
'422':
description: Unprocessable Entity. Returned when validation fails (e.g. unsupported `enrichment_type` value, missing required identifiers), or when the user has not consented to personal email enrichment but requested `personal_email`.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
examples:
personal_email_consent_missing:
summary: Personal email consent missing
value:
error: You can't use the personal email enrichment feature without consenting with our terms of use
deprecated: true
x-hidden: true
parameters:
- $ref: '#/components/parameters/IdempotencyKey'
components:
responses:
IdempotencyConflict:
description: A request with this `Idempotency-Key` is still being processed. Wait for the `Retry-After` delay and retry with the same key.
headers:
Retry-After:
$ref: '#/components/headers/Retry-After'
content:
application/json:
schema:
type: object
properties:
error:
type: string
code:
type: string
enum:
- idempotency_key_in_use
example:
error: A request with this Idempotency-Key is still being processed
code: idempotency_key_in_use
headers:
Idempotent-Replayed:
description: '`true` when this response is a replay of an earlier request sent with the same `Idempotency-Key`. Nothing was run or charged again.'
schema:
type: string
enum:
- 'true'
Retry-After:
description: Seconds to wait before retrying. Sent when the plan limit or a request still in progress caused the error.
schema:
type: integer
example: 42
schemas:
InsufficientCreditsError:
required:
- error
- code
- top_up_url
type: object
properties:
error:
type: string
description: Human-readable message. Endpoints priced per result report the shortfall instead, e.g. "Not enough enrichment credits. You need 30 credits but only have 5 available."
example: Not enough enrichment credits left
code:
type: string
enum:
- insufficient_credits
description: Machine-readable error code
top_up_url:
type: string
format: uri
description: Absolute URL of the credits page. Buy credits there, then replay the request.
example: https://app.pipecorn.com/settings/subscriptions/credits
EnrichmentRequest:
type: object
properties:
webhook_url:
type: string
format: uri
description: Webhook URL to receive enrichment results
phone_country_codes:
type: array
items:
type: string
description: ISO 3166-1 alpha-2 country code (e.g. "US", "FR", "GB")
description: Optional. Restrict phone enrichment to phone numbers from these countries. When omitted, the user's account-level default phone country codes are applied.
phone_type:
type: array
maxItems: 1
items:
type: string
enum:
- all
- mobile
default:
- all
description: Optional. Filters the phone numbers returned by phone enrichment. `["all"]` (default) returns every number found; `["mobile"]` returns only mobile numbers (`type` of `mobile` or `fixed_or_mobile`) and drops landlines, VoIP, toll-free and other non-mobile numbers. With `["mobile"]` the waterfall keeps querying providers until one returns a mobile number. Any other value is rejected with `422`. Ignored unless `enrichment_type` includes `phone`.
custom:
type: object
description: Custom fields to include with the enrichment that will be returned in the webhook (like crm id, etc.)
additionalProperties: true
oneOf:
- title: Email enrichment
required:
- enrichment_type
- firstname
- lastname
properties:
enrichment_type:
type: array
maxItems: 1
items:
type: string
enum:
- email
description: Set to ["email"] to find and validate the professional email.
firstname:
type: string
description: First name of the contact.
lastname:
type: string
description: Last name of the contact.
linkedin_url:
type: string
format: uri
description: LinkedIn profile URL of the contact.
example: https://www.linkedin.com/in/mathieu-brun-picard/
domain:
type: string
description: Company domain.
example: pipecorn.com
company_name:
type: string
description: Company name.
example: Pipecorn
anyOf:
- required:
- linkedin_url
- required:
- domain
- required:
- company_name
description: 'Requires `firstname`, `lastname`, and at least one identifier: `linkedin_url`, `domain`, or `company_name`.'
- title: Phone enrichment
required:
- enrichment_type
- linkedin_url
properties:
enrichment_type:
type: array
maxItems: 1
items:
type: string
enum:
- phone
description: Set to ["phone"] to find phone numbers.
linkedin_url:
type: string
format: uri
description: LinkedIn profile URL of the contact.
example: https://www.linkedin.com/in/mathieu-brun-picard/
description: Requires only the contact's `linkedin_url` (`firstname`/`lastname` are not needed).
- title: Personal email enrichment
required:
- enrichment_type
- linkedin_url
properties:
enrichment_type:
type: array
maxItems: 1
items:
type: string
enum:
- personal_email
description: Set to ["personal_email"]. Requires per-user GDPR consent.
linkedin_url:
type: string
format: uri
description: LinkedIn profile URL of the contact.
example: https://www.linkedin.com/in/mathieu-brun-picard/
description: Requires the contact's `linkedin_url` and account-level GDPR consent (`firstname`/`lastname` are not needed).
Error:
required:
- error
type: object
properties:
error:
description: Human-readable error message. A few validation errors return a list of messages, or an object with more detail, instead of a single string.
oneOf:
- type: string
- type: array
items:
type: string
- type: object
WorkspaceLimitError:
required:
- error
- code
type: object
properties:
error:
type: string
example: You have reached your weekly enrichment credit limit for this workspace
code:
type: string
enum:
- workspace_limit_exceeded
description: Machine-readable error code. A 403 carrying any other code is a permission problem, not a spending limit.
parameters:
IdempotencyKey:
name: Idempotency-Key
in: header
required: false
description: A unique value you generate per operation, such as a UUID. Retrying with the same key and the same body returns the stored response instead of running the request again, so a retry after a timeout never charges twice. Successful responses are kept for 24 hours; a failed request is not stored and can be retried with the same key.
schema:
type: string
maxLength: 255
example: 4f1c2e9a-8a7d-4c1b-9f63-2d6e0b5a7c11
securitySchemes:
apiKey:
type: apiKey
in: header
name: X-API-KEY
description: 'Your Pipecorn API key, created at https://app.pipecorn.com/settings/apis/keys. Rate limits are counted per user, not per key. A test key (pc_test_…, or the public pc_test_demo) returns sample data and spends no credits: https://docs.pipecorn.com/essentials/sandbox'