Pipecorn Searches API

Pipecorn List API

GitHub OpenAPI

Operations 3

GET /searches Retrieve all searches #

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-searches-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-searches-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Pipecorn Searches 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: Searches
  description: Pipecorn List API
paths:
  /searches:
    get:
      operationId: list_searches
      tags:
      - Searches
      summary: Retrieve all searches
      description: Returns the searches the user has access to. By default only enriched searches are returned. Pass `enriched=false` to return all searches, enriched or not.
      parameters:
      - name: enriched
        in: query
        required: false
        description: By default (or when set to `true`) only enriched searches are returned. Set to `false` to return all searches, enriched or not.
        schema:
          type: boolean
          default: true
      - $ref: '#/components/parameters/Page'
      - $ref: '#/components/parameters/PerPage'
      - $ref: '#/components/parameters/Cursor'
      responses:
        '200':
          description: A JSON array of search objects
          content:
            application/json:
              schema:
                type: object
                properties:
                  searches:
                    type: array
                    items:
                      $ref: '#/components/schemas/Search'
                  pagination:
                    $ref: '#/components/schemas/Pagination'
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
        '429':
          description: Rate limit exceeded (your plan's per-minute limit)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
            Retry-After:
              $ref: '#/components/headers/Retry-After'
  /searches/{id}:
    get:
      operationId: get_search
      tags:
      - Searches
      summary: Retrieve a specific search
      description: Returns a specific search and its leads by ID.
      parameters:
      - name: id
        in: path
        required: true
        description: ID of the search to retrieve
        schema:
          type: string
          format: uuid
      - name: status
        in: query
        required: false
        description: Filter leads by their qualification status
        schema:
          type: string
          enum:
          - qualified
          - disqualified
      - $ref: '#/components/parameters/Page'
      - $ref: '#/components/parameters/PerPage'
      - $ref: '#/components/parameters/Cursor'
      responses:
        '200':
          description: A search object with its leads
          content:
            application/json:
              schema:
                type: object
                properties:
                  search:
                    $ref: '#/components/schemas/SearchDetail'
                  leads:
                    type: array
                    items:
                      $ref: '#/components/schemas/Lead'
                  pagination:
                    $ref: '#/components/schemas/Pagination'
    delete:
      operationId: delete_search
      tags:
      - Searches
      summary: Delete a search
      description: Deletes a specific search by its ID. This operation will permanently remove the search and all associated tasks from the system. Only the owner of the search can delete it.
      parameters:
      - name: id
        in: path
        required: true
        description: ID of the search to delete
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Search deleted successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  message:
                    type: string
                    example: Search deleted successfully
          headers:
            RateLimit-Limit:
              $ref: '#/components/headers/RateLimit-Limit'
            RateLimit-Remaining:
              $ref: '#/components/headers/RateLimit-Remaining'
            RateLimit-Reset:
              $ref: '#/components/headers/RateLimit-Reset'
        '401':
          description: Unauthorized - The authenticated user does not own the search
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Unauthorized
        '404':
          description: Search not found
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Search not found
        '422':
          description: Failed to delete search
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
                    example: Failed to delete search
components:
  parameters:
    PerPage:
      name: per_page
      in: query
      required: false
      description: Rows per page.
      schema:
        type: integer
        minimum: 1
        maximum: 500
        default: 100
    Page:
      name: page
      in: query
      required: false
      description: 'Page number, starting at 1. Prefer `cursor`: pages shift when rows are added between two calls.'
      schema:
        type: integer
        minimum: 1
        default: 1
    Cursor:
      name: cursor
      in: query
      required: false
      description: The `pagination.next_cursor` of the previous page, passed back unchanged. Returns the rows that follow it, even if rows were added in between. Omit it for the first page.
      schema:
        type: string
        example: WyIyMDI2LTEwLTE3VDEwOjAwOjAwLjAwMDAwMFoiLDQyXQ
  headers:
    RateLimit-Remaining:
      description: Requests left in the current one-minute window.
      schema:
        type: integer
        example: 97
    RateLimit-Limit:
      description: Requests allowed per minute on your plan for this group of endpoints. Absent for unlimited accounts and on endpoints exempt from the plan limit.
      schema:
        type: integer
        example: 100
    RateLimit-Reset:
      description: Seconds until the current window resets and `RateLimit-Remaining` is back to `RateLimit-Limit`.
      schema:
        type: integer
        example: 42
    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:
    SearchDetail:
      type: object
      properties:
        uuid:
          type: string
          format: uuid
          description: The unique identifier for the search
        name:
          type: string
          description: The name of the search
        status:
          type: string
          enum:
          - finished
          - not_started
          - ongoing
          - rate_limited
          - unauthorized
          - forbidden
          - error
          description: The current status of the search
        results_ready:
          type: boolean
          description: Whether the search has finished and its leads are available. When false, the leads array is omitted.
    Pagination:
      type: object
      required:
      - per_page
      - total_count
      - has_more
      properties:
        page:
          type: integer
          description: Current page number. Absent when the request used `cursor`.
        per_page:
          type: integer
          description: Rows per page.
        total_count:
          type: integer
          description: Rows across all pages.
        has_more:
          type: boolean
          description: Whether another page follows.
        next_cursor:
          type: string
          description: Pass it as `cursor` to get the next page. Absent on the last page.
    Search:
      type: object
      properties:
        id:
          type: string
          format: uuid
          description: The unique identifier for the search
        name:
          type: string
          description: The name of the search
        leads_count:
          type: integer
          description: Number of leads in the search
        created_at:
          type: string
          format: date-time
          description: When the search was created
    Lead:
      type: object
      properties:
        lead:
          type: object
          properties:
            status:
              type: string
              enum:
              - QUALIFIED
              - DISQUALIFIED
              description: Current qualification status of the lead
            rejection_reasons:
              type: array
              items:
                type: string
              description: Reasons for rejection if disqualified
            first_name:
              type: string
              description: First name of the lead
            last_name:
              type: string
              description: Last name of the lead
            gender:
              type:
              - string
              - 'null'
              description: Gender of the lead
            email:
              type:
              - string
              - 'null'
              description: Most probable email address
            email_status:
              type:
              - string
              - 'null'
              description: Deliverability status of the email (e.g. Valid, Catch-all)
            phone:
              type: array
              items:
                type: object
              description: List of phone number records
            linkedin_url:
              type:
              - string
              - 'null'
              format: uri
              description: LinkedIn profile URL
            linkedin_id_url:
              type:
              - string
              - 'null'
              format: uri
              description: LinkedIn profile URL built from the member's stable id
            profile_image_url:
              type:
              - string
              - 'null'
              format: uri
              description: Profile image URL
            location:
              type:
              - string
              - 'null'
              description: Location of the lead
            title:
              type:
              - string
              - 'null'
              description: Job title of the lead
            lk_headline:
              type:
              - string
              - 'null'
              description: LinkedIn headline
            hire_type:
              type:
              - string
              - 'null'
              enum:
              - new_hire
              - promoted
              - null
              description: Whether the lead recently joined the company (new_hire) or was promoted within it
            current_position:
              type:
              - object
              - 'null'
              description: The lead's current position
            previous_position:
              type:
              - object
              - 'null'
              description: The lead's previous position
            positions:
              type:
              - array
              - 'null'
              items:
                type: object
              description: The lead's position history
            years_in_position:
              type: integer
              description: Years in current position (0 when unknown)
            months_in_position:
              type: integer
              description: Months in current position (0 when unknown)
            years_in_company:
              type: integer
              description: Years in current company (0 when unknown)
            months_in_company:
              type: integer
              description: Months in current company (0 when unknown)
        company:
          type: object
          properties:
            name:
              type:
              - string
              - 'null'
              description: Company name
            cleaned_name:
              type:
              - string
              - 'null'
              description: Cleaned company name
            website:
              type:
              - string
              - 'null'
              format: uri
              description: Company website
            location:
              type:
              - string
              - 'null'
              description: Company location
            industry:
              type:
              - string
              - 'null'
              description: Company industry
            headquarters:
              type:
              - object
              - 'null'
              description: Company headquarters details (returned only when available as structured data)
            description:
              type:
              - string
              - 'null'
              description: Company description
            linkedin_url:
              type:
              - string
              - 'null'
              format: uri
              description: Company LinkedIn profile URL
            linkedin_id:
              type:
              - string
              - 'null'
              description: Company LinkedIn identifier
            employee_range:
              type:
              - string
              - 'null'
              description: Company employee count range
            company_profile_picture:
              type:
              - string
              - 'null'
              format: uri
              description: Company profile picture URL
    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
  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'