Prosp Icps API

Saved Ideal-Customer-Profile criteria templates you can re-run by id.

GitHub OpenAPI

Operations 5

GET /api/v1/icps List the caller's saved ICPs #
POST /api/v1/icps Create a saved ICP (Ideal Customer Profile) #
GET /api/v1/icps/{icpId} Get one ICP #
PUT /api/v1/icps/{icpId} Replace an ICP #
DELETE /api/v1/icps/{icpId} Delete an ICP #

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/prosp-cc:prosp-cc-icps-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

prosp-cc-icps-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Prosp Cc Icps API
  version: 0.4.0
  contact:
    name: Prosp API support
    url: https://prosp.cc/
  license:
    name: Proprietary
    url: https://prosp.cc/
  description: 'Operations tagged icps across 2 of this provider''s published API definitions: openapi.yaml, prosp-cc-openapi.yaml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.prosp.cc
  description: Production
security:
- cognitoClientCredentials:
  - mcp/execute
tags:
- name: icps
  description: Saved Ideal-Customer-Profile criteria templates you can re-run by id.
paths:
  /api/v1/icps:
    get:
      tags:
      - icps
      operationId: listIcps
      summary: List the caller's saved ICPs
      responses:
        '200':
          description: The caller's ICPs.
          content:
            application/json:
              schema:
                type: object
                properties:
                  icps:
                    type: array
                    items:
                      $ref: '#/components/schemas/Icp'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '405':
          $ref: '#/components/responses/MethodNotAllowed'
        '429':
          $ref: '#/components/responses/RateLimited'
    post:
      tags:
      - icps
      operationId: createIcp
      summary: Create a saved ICP (Ideal Customer Profile)
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IcpRequest'
      responses:
        '201':
          description: Created.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Icp'
        '400':
          $ref: '#/components/responses/ValidationFailed'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '405':
          $ref: '#/components/responses/MethodNotAllowed'
        '429':
          $ref: '#/components/responses/RateLimited'
    servers:
    - url: https://api.prosp.cc
      description: Production
  /api/v1/icps/{icpId}:
    parameters:
    - name: icpId
      in: path
      required: true
      description: The id of the saved ICP.
      schema:
        type: string
    get:
      tags:
      - icps
      operationId: getIcp
      summary: Get one ICP
      responses:
        '200':
          description: The ICP.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Icp'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '405':
          $ref: '#/components/responses/MethodNotAllowed'
        '429':
          $ref: '#/components/responses/RateLimited'
    put:
      tags:
      - icps
      operationId: updateIcp
      summary: Replace an ICP
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IcpRequest'
      responses:
        '200':
          description: Updated.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Icp'
        '400':
          $ref: '#/components/responses/ValidationFailed'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '405':
          $ref: '#/components/responses/MethodNotAllowed'
        '429':
          $ref: '#/components/responses/RateLimited'
    delete:
      tags:
      - icps
      operationId: deleteIcp
      summary: Delete an ICP
      responses:
        '200':
          description: Deleted.
          content:
            application/json:
              schema:
                type: object
                properties:
                  deleted:
                    type: boolean
                  icpId:
                    type: string
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '405':
          $ref: '#/components/responses/MethodNotAllowed'
        '429':
          $ref: '#/components/responses/RateLimited'
    servers:
    - url: https://api.prosp.cc
      description: Production
components:
  schemas:
    Error:
      type: object
      description: The single error shape for the whole surface.
      required:
      - error
      - message
      properties:
        error:
          type: string
          description: 'Stable machine-readable code. Common values include: `invalid_token`, `insufficient_credits`, `method_not_allowed`, `rate_limit_exceeded`, `concurrent_limit`, `missing_idempotency_key` (the required `X-Idempotency-Key` header was absent on `execute`), `schema_validation_failed` (request body failed the OpenAPI schema — rejected before any credit debit), `validation_failed` / `icp_not_found` (the discovery criteria were malformed / matched no ideal-customer profile — no job created, any debit refunded), `invalid_query` (an unknown or malformed search/list query param), `invalid_job_id`, `not_owner`, and `response_too_large` (the result exceeded the gateway''s 16 MB response cap and was refused rather than truncated — narrow the request, e.g. a smaller `limit`; the HTTP status may still be 200 when the body had already begun streaming).'
          examples:
          - missing_idempotency_key
          - schema_validation_failed
          - validation_failed
          - insufficient_credits
          - rate_limit_exceeded
        message:
          type: string
          description: Human-readable detail.
        request_id:
          type:
          - string
          - 'null'
          description: Correlation id — quote this in support tickets.
    DiscoveryCriteria:
      type: object
      additionalProperties: false
      description: 'The criteria that describe the companies you want to find. Only `query` is required;

        the other fields narrow and steer the search. `maxResults` must be 1–200 (a value outside

        the range is rejected with a 400), and invalid `company_sizes` values are likewise rejected

        with a 400 rather than silently ignored. Unknown fields are rejected with a 400 that names

        the offending property.

        '
      required:
      - query
      properties:
        query:
          type: string
          description: Free-text description of the companies you want to discover. The primary search signal.
          examples:
          - Find retail partners in Europe
        industries:
          type: array
          description: Target industries. Prospects are scored for fit against these; companies in unrelated industries are filtered out.
          items:
            type: string
          examples:
          - - Retail
            - Fashion
        locations:
          type: array
          description: Target countries or regions to search within (e.g. country names). Restricts results to companies located there.
          items:
            type: string
          examples:
          - - Germany
            - Austria
        company_sizes:
          type: array
          description: 'Company-size buckets to include, by employee headcount. Any combination of:

            `micro` (≤10), `small` (up to ~50), `medium` (up to ~200), `large` (up to ~500),

            `enterprise` (500+). Omit to allow any size. Each bucket maps to a

            `company_size` value; request `micro` to prioritize the ≤10-employee shops, which are

            returned with `company_size: micro` (the output `company_size` uses the SAME lowercase

            tokens as this input filter, so a value read off a result can be re-submitted verbatim).

            NOTE: this filter is ADVISORY, not strict — in thin markets the engine may relax it

            to adjacent buckets and still deliver e.g. `micro` under a `small` request (this is

            disclosed at delivery via a `FILTER_RELAXED` suggestion). So omitting a size does not

            guarantee its exclusion; it expresses preference, not a hard exclusion.

            '
          items:
            type: string
            enum:
            - micro
            - small
            - medium
            - large
            - enterprise
        keywords:
          type: array
          description: Additional keywords or phrases to bias the search toward (e.g. products, technologies, or capabilities).
          items:
            type: string
        exclusions:
          type: array
          description: Domains or terms to exclude from results — e.g. competitors, existing customers, or your own brand. Matching companies are dropped from discovery.
          items:
            type: string
        sub_country_regions:
          type: array
          description: 'ISO-3166-2 sub-country regions (e.g. states or provinces) to focus the search within a

            country. Validated against the supported region set. This is a REGIONAL PREFERENCE, not a

            hard filter: companies located in the requested region(s) are prioritized (ranked higher

            for relevance), which can substantially raise the in-region share of your results, while

            companies OUTSIDE those regions are still returned, ranked lower. It is a precision dial —

            expect fewer but more-targeted results, trading total volume for regional focus. Omit it

            (or clear it) to broaden coverage across the whole country. When this field is set, the

            discovery result''s `suggestions` array discloses the relaxation: a `FILTER_RELAXED` region

            suggestion (naming the filter, with a `{sub_country_regions: []}` correction) when returned

            companies with a known region fall outside the request, otherwise an informational

            `REGION_PREFERENCE_APPLIED` note — both carrying the same one-tap correction.

            '
          items:
            type: string
        target_business_models:
          type: array
          description: 'Optional value-chain-role filter. When set, only companies whose classified

            business model is one of these roles are kept; a prospect whose role is a confirmed

            member of none is dropped. Use e.g. `["manufacturer"]` for manufacturers only, or

            `["distributor"]` for wholesale distributors only. Omit to accept any role

            (default — no role filtering).

            The role describes what the TARGET company itself IS, taken from the noun the

            customer used for the targets in their own language (roasters, farms, makers,

            producers, tostadores, Kaffeeroester, vyrobce -> `manufacturer`; shops, stores ->

            `retailer`; wholesalers, importers -> `distributor`). It is NEVER inferred from the

            customer''s own business or supply chain: a coffee shop asking for roasters wants

            `manufacturer`, not `distributor`, even though a coffee shop buys from distributors.

            When the request names no target role, or you are unsure, OMIT the field — a wrong

            role silently drops every genuine match, an omitted one drops nothing.

            '
          items:
            type: string
            enum:
            - manufacturer
            - retailer
            - distributor
            - service_provider
            - unknown
        website:
          type: string
          description: Your own website. Automatically excluded from results so you never discover yourself.
        maxResults:
          type: integer
          minimum: 1
          maximum: 200
          default: 50
          description: Maximum number of prospects to return for this discovery (1–200; a value outside this range is rejected with 400, not clamped; defaults to 50).
        acknowledge_low_yield:
          $ref: '#/components/schemas/AcknowledgeLowYield'
        language:
          type: string
          description: 'Optional market-language hint as an ISO-639-1 code (e.g. `de`, `cs`, `pl`). Steers the

            query→ICP expansion so keyword/industry expansion is generated in the market''s language

            rather than inferred solely from `query`. Advisory, not a hard filter — company and person

            names are never translated, and results are not restricted to a single content language.

            Omit to let the engine infer the language from `query` itself.

            '
          examples:
          - de
    ValidationError:
      type: object
      description: A 400 response carrying one or more field-level criteria violations.
      required:
      - error
      - message
      - violations
      properties:
        error:
          type: string
          description: Stable machine-readable error code.
          examples:
          - validation_failed
        message:
          type: string
          description: Human-readable summary of what failed validation.
        violations:
          type: array
          description: One entry per invalid field.
          items:
            type: object
            required:
            - field
            - message
            properties:
              field:
                type: string
                description: Name of the request field that failed validation.
              message:
                type: string
                description: Why this field was rejected.
    Icp:
      type: object
      description: A saved Ideal-Customer-Profile — reusable discovery criteria you can re-run by id.
      required:
      - icpId
      - criteria
      properties:
        icpId:
          type: string
          description: Server-assigned unique id for this ICP; pass it to `POST /api/v1/discoveries` to run it.
        name:
          type: string
          description: The display name you gave this ICP.
        criteria:
          description: The discovery criteria stored in this ICP.
          $ref: '#/components/schemas/DiscoveryCriteria'
        createdAt:
          type: string
          format: date-time
          description: When the ICP was created (ISO-8601).
        updatedAt:
          type: string
          format: date-time
          description: When the ICP was last updated (ISO-8601).
    IcpRequest:
      type: object
      additionalProperties: false
      description: Body to create or replace a saved ICP — an optional display name plus the discovery criteria.
      required:
      - criteria
      properties:
        name:
          type: string
          minLength: 1
          description: Optional human-readable label for this ICP.
          examples:
          - EU Retail SMEs
        criteria:
          description: The saved discovery criteria this ICP re-runs.
          $ref: '#/components/schemas/DiscoveryCriteria'
    AcknowledgeLowYield:
      type: boolean
      description: 'Set to `true` to run this discovery even when the saturation pre-check estimates ~0

        net-new companies (see the `409 saturation_warning` response on `POST /mcp/tools/execute`).

        The acknowledged run charges normally and starts. Omit (or `false`) for the default

        behaviour, where a saturated ICP is held with a `409` and NOT charged. Not a search

        criterion — it steers the warn-and-confirm gate only, which is why it is the ONE field

        that may accompany `icpId` in a `DiscoveryTrigger` body.

        '
  responses:
    NotFound:
      description: Resource not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Rate limit exceeded (100 requests / 60s per customer).
      headers:
        Retry-After:
          description: Seconds until the window resets.
          schema:
            type: integer
            examples:
            - 60
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    ValidationFailed:
      description: Criteria validation failed (field-level violations).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ValidationError'
    Unauthorized:
      description: Missing/invalid/expired Bearer token.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    MethodNotAllowed:
      description: HTTP method not allowed on this endpoint (rejected before any credit debit).
      headers:
        Allow:
          description: Methods this endpoint accepts.
          schema:
            type: string
            examples:
            - GET
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    cognitoClientCredentials:
      type: oauth2
      description: 'OAuth 2.0 machine-to-machine using the `client_credentials` grant (the

        OpenAPI `flows.clientCredentials` object below). This is the ONLY supported grant — do

        NOT use the interactive `authorization_code` flow that the identity provider''s discovery

        document may advertise; it is for a different (user-facing) client and rejects M2M.

        Your `client_id`/`client_secret` are issued per customer (via the Telegram

        `/credentials` flow). POST them to the `tokenUrl` below to obtain an access token, then

        send it as `Authorization: Bearer <token>` on every request.

        '
      flows:
        clientCredentials:
          tokenUrl: https://prosp-mcp-641053169627.auth.eu-central-1.amazoncognito.com/oauth2/token
          scopes:
            mcp/execute: Start and manage discoveries and read prospects.
x-refined-from:
- openapi.yaml
- prosp-cc-openapi.yaml