CompanyEnrich Company / Bulk Enrichment API

Create and manage asynchronous bulk enrichment jobs for large domain lists.

GitHub OpenAPI

Operations 2

POST /v2/companies/enrich/bulk Enrich company domains asynchronously #
GET /v2/companies/enrich/bulk/{id}/results Download company enrichment results #

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/companyenrich:companyenrich-company-bulk-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

companyenrich-company-bulk-enrichment-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Company Enrich API v2 Company / Bulk Enrichment API
  description: 'The Company Enrich API v2 provides programmatic access to company and person data for enrichment, search, and lead generation.


    ## Key Features


    - **Company Enrichment** — Enrich company profiles by domain or identifying properties, and retrieve stored companies by ID.

    - **Company Search** — Search and filter companies with cursor pagination, counts, and previews.

    - **Semantic and Lookalike Search** — Find companies using natural-language queries or similar company domains.

    - **People Enrichment** — Retrieve people by ID, identify people from their email address, and find work email addresses.

    - **People Search** — Search people by position, seniority, department, location, education, and company with cursor pagination, counts, and previews.

    - **Reference Data** — Look up industries, geographic data, keywords, technologies, and job titles.


    V2 intentionally excludes saved company lists, list-based exports, and filtering searches by saved-list IDs. These features remain available in V1 and are not planned for V2.


    ## Authentication


    All API requests require a Bearer token passed in the `Authorization` header:


    ```

    Authorization: Bearer YOUR_API_TOKEN

    ```


    You can generate API tokens from your dashboard.


    ## Credits


    Most API calls consume credits. The credit cost for each endpoint is documented in its description. You can check your remaining credit balance using the User endpoint.


    ## Rate Limiting


    The global API limiter allows **500 requests per minute** per IP address. Authenticated API routes also use a per-user route limiter based on plan capabilities.

    Supplementary lookup endpoints (such as keyword/technology/industry autocompletes) use a separate per-user route-level bucket.'
  termsOfService: https://companyenrich.com/terms-and-conditions
  contact:
    url: https://companyenrich.com/
    email: support@companyenrich.com
  version: 2.0.0
servers:
- url: https://api.companyenrich.com
security:
- Bearer: []
tags:
- name: Company / Bulk Enrichment
  description: Create and manage asynchronous bulk enrichment jobs for large domain lists.
paths:
  /v2/companies/enrich/bulk:
    post:
      tags:
      - Company / Bulk Enrichment
      summary: Enrich company domains asynchronously
      description: Creates one API request per input domain, preserving input order and duplicates. Requires an API key. Requests use the ordinary V2 enrichment price and requested expansions; completed results become downloadable after their charges settle. Returns `402` unless the available balance covers every domain at that price; credits are not reserved. The request body must be UTF-8 JSON of at most 10 MiB.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CompanyBulkEnrichmentRequest'
        required: true
      responses:
        '422':
          description: Unprocessable Entity
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/HttpValidationProblemDetails'
        '400':
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '401':
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '402':
          description: Payment Required
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '429':
          description: Too Many Requests
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '202':
          description: Accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BatchStatusResponse'
        '403':
          description: Forbidden
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '413':
          description: Payload Too Large
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '415':
          description: Unsupported Media Type
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '503':
          description: Service Unavailable
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      operationId: postV2CompaniesEnrichBulk
      x-operation-id-source: derived
  /v2/companies/enrich/bulk/{id}/results:
    get:
      tags:
      - Company / Bulk Enrichment
      summary: Download company enrichment results
      description: Streams one record per eligible input domain, in input order, including errors. Choose the format with `format`. JSON returns one document whose `results` array holds the records; NDJSON returns one record per line. Each record has the input index and domain, the HTTP status, the request state, a success flag, and either the V2 company in `company` or the error in `error`. CSV has one row per record with the columns `index`, `input_domain`, `status_code`, `request_state`, `success` and `error`, followed by the company columns. Each download captures a fixed snapshot; later downloads can include newly settled results. Requires the batch owner's credentials, or the signature from `resultsUrl` in a status response.
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
      - name: format
        in: query
        description: 'Download format: json, ndjson, or csv. Defaults to json.'
        schema:
          type: string
      - name: sig
        in: query
        description: The signature from a download URL in a status response. Not needed with the batch owner's credentials.
        schema:
          maxLength: 1024
          type: string
      responses:
        '422':
          description: Unprocessable Entity
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/HttpValidationProblemDetails'
        '400':
          description: Bad Request
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '401':
          description: Unauthorized
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '429':
          description: Too Many Requests
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyBulkEnrichmentResultsResponse'
            application/x-ndjson:
              schema:
                $ref: '#/components/schemas/CompanyBulkEnrichmentResult'
            text/csv:
              schema:
                type: string
        '404':
          description: Not Found
          content:
            application/problem+json:
              schema:
                $ref: '#/components/schemas/ProblemDetails'
      operationId: getV2CompaniesEnrichBulkByIdResults
      x-operation-id-source: derived
components:
  schemas:
    NullableOfJsonElement2:
      description: The complete endpoint error body, or the runner's recorded error when no HTTP body is available.
    CompanyBulkEnrichmentResult:
      required:
      - index
      - domain
      - state
      - success
      type: object
      properties:
        index:
          type: integer
          description: The zero-based position of this domain in the original request.
          format: int32
        domain:
          type: string
          description: The domain exactly as provided in the original request.
        statusCode:
          type:
          - integer
          - 'null'
          description: The HTTP status returned by the enrichment endpoint, or null when no response was recorded.
          format: int32
        state:
          $ref: '#/components/schemas/HttpBatchItemState'
        success:
          type: boolean
          description: Whether the company was successfully enriched.
        company:
          $ref: '#/components/schemas/NullableOfJsonElement'
        error:
          $ref: '#/components/schemas/NullableOfJsonElement2'
    HttpBatchItemState:
      enum:
      - pending
      - running
      - succeeded
      - failed
      - unknown
      - cancelled
      description: The recorded request state, including unknown and cancelled outcomes.
    HttpBatchState:
      enum:
      - pending
      - running
      - completed
      - cancelling
      - cancelled
      description: The current batch state.
    BatchProgressResponse:
      required:
      - total
      - pending
      - running
      - succeeded
      - failed
      - unknown
      - cancelled
      type: object
      properties:
        total:
          type: integer
          description: The number of requests. A search export adds one for each page as the previous page settles.
          format: int32
        pending:
          type: integer
          description: Requests awaiting dispatch, including retries.
          format: int32
        running:
          type: integer
          description: Requests still being processed, including saved results not yet settled.
          format: int32
        succeeded:
          type: integer
          description: Requests that returned a successful HTTP response.
          format: int32
        failed:
          type: integer
          description: Requests that returned an HTTP error response.
          format: int32
        unknown:
          type: integer
          description: Requests whose execution outcome could not be confirmed.
          format: int32
        cancelled:
          type: integer
          description: Requests cancelled before their results were published.
          format: int32
      description: The number of requests in each state.
    CompanyBulkEnrichmentRequest:
      required:
      - domains
      type: object
      properties:
        domains:
          maxItems: 10000
          minItems: 1
          type: array
          items:
            type: string
          description: Between 1 and 10,000 company domains, in the desired output order. Each domain can be at most 1024 characters. Duplicate inputs are separate requests.
        expand:
          type:
          - array
          - 'null'
          items:
            enum:
            - financial
            - keywords
            - naicsCodes
            - technologies
            - workforce
            type: string
          description: 'Additional company data to include. Each requested expansion is charged per returned company, on top of the base cost:


            - `financial`: 1 credit

            - `keywords`: 1 credit

            - `naicsCodes`: 1 credit

            - `technologies`: 1 credit

            - `workforce`: 1 credit. Includes the latest 12 months of history; each earlier 12-month page from `GET /v2/companies/workforce` costs another 1 credit.'
        waitForEnrichment:
          type: boolean
          description: Whether each request waits for on-demand enrichment. When false, a company that is not stored yet may return an error indicating that enrichment was scheduled.
    HttpBatchState2:
      enum:
      - pending
      - running
      - completed
      - cancelling
      - cancelled
      description: The batch state when the download started.
    CompanyBulkEnrichmentResultsResponse:
      required:
      - batchId
      - kind
      - status
      - creditsCharged
      - resultCount
      - results
      type: object
      properties:
        batchId:
          type: string
          description: The batch ID.
          format: uuid
        kind:
          type: string
          description: The task represented by the batch.
        status:
          $ref: '#/components/schemas/HttpBatchState2'
        creditsCharged:
          type: number
          description: The credits charged so far, in user-visible credits.
          format: double
        resultCount:
          type: integer
          description: The number of records in `results`.
          format: int32
        results:
          type: array
          items:
            $ref: '#/components/schemas/CompanyBulkEnrichmentResult'
          description: One record per eligible input domain, in input order. Pending and unsettled inputs are absent.
    NullableOfJsonElement:
      description: The enriched V2 company, when the request succeeded.
    HttpValidationProblemDetails:
      type: object
      properties:
        type:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        status:
          type:
          - integer
          - 'null'
          format: int32
        detail:
          type:
          - string
          - 'null'
        instance:
          type:
          - string
          - 'null'
        errors:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
    BatchStatusResponse:
      required:
      - id
      - kind
      - status
      - progress
      - creditsCharged
      - createdAt
      - statusUrl
      - resultsUrl
      - rawResultsUrl
      type: object
      properties:
        id:
          type: string
          description: The batch ID.
          format: uuid
        kind:
          type: string
          description: The task represented by the batch.
        status:
          $ref: '#/components/schemas/HttpBatchState'
        progress:
          $ref: '#/components/schemas/BatchProgressResponse'
        creditsCharged:
          type: number
          description: The credits charged so far, in user-visible credits.
          format: double
        recordCount:
          type:
          - integer
          - 'null'
          description: For a search export, the number of records its settled pages returned.
          format: int32
        recordLimit:
          type:
          - integer
          - 'null'
          description: For a search export, the most search results it requests. Results whose record is unavailable are skipped, so `recordCount` can end below it.
          format: int32
        createdAt:
          type: string
          description: When the batch was created.
          format: date-time
        completedAt:
          type:
          - string
          - 'null'
          description: When the batch completed or was cancelled, if terminal.
          format: date-time
        statusUrl:
          type: string
          description: The authenticated URL for checking batch status and progress.
        resultsUrl:
          type: string
          description: The download URL for the task's projected results. It is signed, so it works without credentials for one hour; after that, use the owner's credentials or a URL from a new status response.
        rawResultsUrl:
          type: string
          description: The download URL for raw HTTP outcomes in NDJSON format, signed like `resultsUrl`.
    ProblemDetails:
      type: object
      properties:
        type:
          type:
          - string
          - 'null'
        title:
          type:
          - string
          - 'null'
        status:
          type:
          - integer
          - 'null'
          format: int32
        detail:
          type:
          - string
          - 'null'
        instance:
          type:
          - string
          - 'null'
  securitySchemes:
    Bearer:
      type: apiKey
      description: 'API Token used for authentication. Example: "Authorization: Bearer {token}"'
      name: Authorization
      in: header
      x-bearer-format: bearer