PitchGhost Enrichment API

The Enrichment API from PitchGhost — 2 operation(s) for enrichment.

GitHub OpenAPI

Operations 2

POST /enrichment/email/lookup Look up a verified work email #
POST /enrichment/company/employees List a company's employees #

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/pitchghost-com:pitchghost-com-enrichment-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

pitchghost-com-enrichment-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: PitchGhost Enrichment API
  version: 1.0.0
  contact:
    name: PitchGhost Support
    email: support@pitchghost.com
    url: https://pitchghost.com/contact
  description: 'The PitchGhost API provides programmatic access to our lead generation and social media automation platform.


    ## Authentication


    All API endpoints require authentication using a combined Company ID and API key. The authentication value is formed by combining your Company ID with your API token, separated by a colon:


    ```

    {companyId}:{apiKey}

    ```


    For example:

    ```

    e5903eb5-006a-4d3f-a34d-71b9d8929f2e:7baa8145694a4cb8b68a7fc178c27d80

    ```


    ### Getting Your Company ID


    You can find your Company ID in the PitchGhost app URL when logged in:

    ```

    https://app.pitchghost.com/org/{YOUR-COMPANY-ID}/dashboard

    ```


    For example, if your dashboard URL is:

    ```

    https://app.pitchghost.com/org/a971dk12-05a5-46e3-akq6-cd11nbac3594/dashboard

    ```

    Then your Company ID is: `a971dk12-05a5-46e3-akq6-cd11nbac3594`


    ### Authentication Methods


    You can provide your combined authentication string in one of two ways:


    1. **X-API-Key Header**:

    ```

    X-API-Key: e5903eb5-006a-4d3f-a34d-71b9d8929f2e:7baa8145694a4cb8b68a7fc178c27d80

    ```


    2. **Bearer Token**:

    ```

    Authorization: Bearer e5903eb5-006a-4d3f-a34d-71b9d8929f2e:7baa8145694a4cb8b68a7fc178c27d80

    ```


    ## Rate Limits


    The API implements rate limiting to ensure fair usage and system stability. All authenticated endpoints are subject to rate limits.


    ### Global Rate Limit (Basic API)


    All API requests are subject to a global rate limit of **200 requests per 10 minutes** per company. This limit applies across all API keys for your company.


    - **Limit**: 200 requests per 10-minute window

    - **Scope**: Per company (all API keys combined)

    - **Window**: Rolling 10-minute window


    ### Rate Limit Headers


    Every API response includes rate limit information in the following headers:


    - `X-RateLimit-Limit`: Maximum requests allowed in the current window

    - `X-RateLimit-Remaining`: Number of requests remaining in the current window

    - `X-RateLimit-Reset`: Unix timestamp (in milliseconds) when the window resets

    - `X-RateLimit-Type`: Type of rate limit applied (''global'', ''action'', or ''none'')


    When rate limited, you''ll receive:

    - `429 Too Many Requests` status code

    - `Retry-After` header indicating seconds to wait before retrying


    ## Response Format


    All responses are returned in JSON format. Successful responses will have appropriate HTTP status codes (2xx range).


    ## Error Handling


    Errors are returned with appropriate HTTP status codes and a JSON body containing a `message` field describing the error.


    Common error codes:

    - `401`: Authentication required or invalid API key

    - `403`: Insufficient permissions for the requested resource

    - `429`: Rate limit exceeded (see Rate Limits section)

    - `500`: Internal server error'
servers:
- url: https://api.pitchghost.com
  description: Production API
tags:
- name: Enrichment
paths:
  /enrichment/email/lookup:
    post:
      summary: Look up a verified work email
      description: 'Find a person''s verified work email address from their LinkedIn profile URL.


        Returns the email with its confidence grade and SMTP check, plus the person''s current title and employer.

        Lookups that find no email are free.


        ---

        ## 💵 Pricing


        Paid from your plan''s enrichment credits.


        | Type | Cost |

        |:-----|-----:|

        | Per Call | — |

        | Per Result | 1 enrichment credit |'
      tags:
      - Enrichment
      security:
      - ApiKeyAuth: []
      - BearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EmailLookupRequest'
      responses:
        '200':
          description: Email found successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/EmailLookupResponse'
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Authentication required or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '402':
          description: Out of credits
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: The plan doesn't include credits
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: No verified email found for the given person
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Email lookup service unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      operationId: postEnrichmentEmailLookup
      x-operation-id-source: derived
  /enrichment/company/employees:
    post:
      summary: List a company's employees
      description: 'List the people currently working at a company, from its LinkedIn page URL.


        Decision-makers come first. Employee data is refreshed periodically, so very recent hires may be missing.

        Pass an employee''s `linkedin_url` to `/enrichment/email/lookup` to get their verified work email.


        ---

        ## 💵 Pricing


        Paid from your plan''s enrichment credits.


        | Type | Cost |

        |:-----|-----:|

        | Per Call | 1 enrichment credit |

        | Per Result | — |'
      tags:
      - Enrichment
      security:
      - ApiKeyAuth: []
      - BearerAuth: []
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompanyEmployeesRequest'
      responses:
        '200':
          description: A page of employees
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyEmployeesResponse'
        '400':
          description: Invalid request parameters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Authentication required or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '402':
          description: Out of credits
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: The plan doesn't include credits
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Employee search service unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      operationId: postEnrichmentCompanyEmployees
      x-operation-id-source: derived
components:
  schemas:
    EmailLookupRequest:
      type: object
      properties:
        linkedin_url:
          type: string
          minLength: 1
          maxLength: 2048
          description: The person's LinkedIn profile URL, a LinkedIn post of theirs, or an lnkd.in short link to either
          example: https://www.linkedin.com/in/johndoe
        refresh:
          type: boolean
          default: false
          description: Skip our cached results and ask the data provider again. Useful when the person may have recently changed jobs or email addresses.
      required:
      - linkedin_url
      additionalProperties: false
    CompanyEmployeesResponse:
      type: object
      properties:
        employees:
          type: array
          items:
            type: object
            properties:
              name:
                type:
                - string
                - 'null'
                description: The person's full name
              linkedin_url:
                type:
                - string
                - 'null'
                description: The person's LinkedIn profile URL
              current_title:
                type:
                - string
                - 'null'
                description: The person's current job title
              location:
                type:
                - string
                - 'null'
                description: The person's location
            required:
            - name
            - linkedin_url
            - current_title
            - location
        total:
          type: number
          description: Total employees matching the search
        next_page:
          type:
          - number
          - 'null'
          description: The next page number, or null on the last page
      required:
      - employees
      - total
      - next_page
    ErrorResponse:
      type: object
      properties:
        message:
          type: string
          examples:
          - Ghost not found or does not belong to company
      required:
      - message
    EmailLookupResponse:
      type: object
      properties:
        email:
          type: string
          format: email
          description: The verified work email address
        grade:
          type: string
          enum:
          - A
          - A-
          description: 'Confidence grade: A is a confirmed identity match'
        smtp_valid:
          type:
          - string
          - 'null'
          enum:
          - valid
          - invalid
          - accept-all
          - unknown
          - null
          description: SMTP check result; accept-all means the domain is a catch-all
        name:
          type:
          - string
          - 'null'
          description: The person's full name
        current_title:
          type:
          - string
          - 'null'
          description: The person's current job title
        current_employer:
          type:
          - string
          - 'null'
          description: The person's current employer
        current_employer_domain:
          type:
          - string
          - 'null'
          description: The current employer's domain
      required:
      - email
      - grade
      - smtp_valid
      - name
      - current_title
      - current_employer
      - current_employer_domain
    CompanyEmployeesRequest:
      type: object
      properties:
        company_linkedin_url:
          type: string
          description: The company's LinkedIn page URL
          example: https://www.linkedin.com/company/pitchghost
        titles:
          type: array
          items:
            type: string
            minLength: 1
            maxLength: 256
          minItems: 1
          maxItems: 20
          description: Only return people whose current title matches one of these. Put every variant in one request.
          example:
          - VP Sales
          - Head of Sales
          - RevOps
        page:
          type: integer
          minimum: 1
          maximum: 100
          default: 1
          description: Page number, starting at 1 (100 employees per page)
      required:
      - company_linkedin_url
      additionalProperties: false
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'Combined Company ID and API key. Format: {companyId}:{apiKey}'
    BearerAuth:
      type: http
      scheme: bearer
      description: 'Combined Company ID and API key. Format: {companyId}:{apiKey}'