Pipecorn Whats App API

Private endpoint to check whether a phone number is reachable on WhatsApp.

GitHub OpenAPI

Operations 1

POST /whatsapp_validations Check WhatsApp reachability #

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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/pipecorn-com:pipecorn-com-whats-app-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

pipecorn-com-whats-app-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pipecorn WhatsApp 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: Whats App
  description: Private endpoint to check whether a phone number is reachable on WhatsApp.
paths:
  /whatsapp_validations:
    post:
      operationId: check_whatsapp_reachability
      tags:
      - Whats App
      summary: Check WhatsApp reachability
      description: Checks whether a single phone number is reachable on WhatsApp. Charges 1 credit per request.
      requestBody:
        description: The phone number to check, in E.164 format.
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WhatsappValidationRequest'
            example:
              validate_phone: '+33612345678'
      responses:
        '200':
          description: Check completed successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WhatsappValidationResponse'
              examples:
                on_whatsapp:
                  summary: Number is reachable on WhatsApp
                  value:
                    whatsapp:
                      status: on_whatsapp
                not_on_whatsapp:
                  summary: Number is not on WhatsApp
                  value:
                    whatsapp:
                      status: not_on_whatsapp
          headers:
            Idempotent-Replayed:
              $ref: '#/components/headers/Idempotent-Replayed'
        '401':
          description: Missing or invalid API key, or the workspace is not allowed to use the API
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              example:
                error: Unauthorized
        '402':
          description: The workspace does not have the 1 credit the check costs. Returned before the provider is called, and also when a concurrent request drains the balance before this one is charged. 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.
          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: The phone is missing or invalid, or the provider check failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                missing_phone:
                  summary: Phone not provided
                  value:
                    error: validate_phone is required
                invalid_phone:
                  summary: Phone is not a valid number
                  value:
                    error: validate_phone is not a valid phone number
      parameters:
      - $ref: '#/components/parameters/IdempotencyKey'
components:
  schemas:
    WhatsappValidationResponse:
      type: object
      properties:
        whatsapp:
          type: object
          properties:
            status:
              type: string
              description: The WhatsApp reachability status of the phone number.
              enum:
              - on_whatsapp
              - not_on_whatsapp
              - check_failed
    WhatsappValidationRequest:
      type: object
      required:
      - validate_phone
      properties:
        validate_phone:
          type: string
          description: The phone number to check, in E.164 format (e.g. +33612345678).
          example: '+33612345678'
    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
    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.
  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
  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'