Preuve AI Discovery API

Unauthenticated documents that describe the API itself.

GitHub OpenAPI

Operations 1

GET /api/agent Discover the API #

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/preuve-ai:preuve-ai-discovery-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

preuve-ai-discovery-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Preuve Agent Discovery API
  version: '2.0'
  summary: Startup idea validation for AI agents and scripts.
  description: 'Market research and competitive intelligence for startup ideas, built for agents and scripts: a verdict that has to be earned (median 54/100, 17.5% reach 70), real competitors, market sizing, and the source behind every figure from 60+ live sources. Every request carries your API key as Authorization: Bearer prv_... - no signing, no sessions. See the Authentication guide.


    Every response is JSON, errors included: an unknown route answers 404 with the same { error, code } envelope as every other failure, so branch on code and never parse a message. Error codes are stable and retired ones stay listed on the Errors page. scanType "starter" costs nothing and returns a real report, which makes it the sandbox: an agent can exercise the whole create - poll - enrich - export loop without spending a cent. GET /api/agent is the unauthenticated discovery document.'
  termsOfService: https://preuve.ai/terms
  contact:
    name: Preuve AI developer support
    url: https://preuve.ai/support
    email: hello@preuve.ai
servers:
- url: https://preuve.ai
security:
- bearerAuth: []
tags:
- name: Discovery
  description: Unauthenticated documents that describe the API itself.
paths:
  /api/agent:
    get:
      operationId: getApiDiscovery
      summary: Discover the API
      description: 'Unauthenticated discovery document: base URL, where the OpenAPI spec and the docs live, how authentication works, what a call costs, the rate limits and the full endpoint list. Read this first when you know nothing else about the API.'
      tags:
      - Discovery
      security: []
      responses:
        '200':
          description: The discovery document.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApiDiscovery'
        '500':
          $ref: '#/components/responses/InternalError'
components:
  schemas:
    ExportUpsell:
      type: object
      description: 'Purchase context for a locked export or buyable quota refusal. Export upsells are free-owner only; a paid non-regional caller may receive a scan_pack top-up on INSUFFICIENT_TOKENS. Ignore it if you only need the data contract.

        '
      properties:
        offer:
          type: string
          enum:
          - founder_report
          - scan_pack
          description: '"founder_report" is the one-time Founder Report tier. "scan_pack" is a top-up for an account that already bought and has no deep credits left.

            '
        guarantee:
          type: string
          description: 'Guarantee text for offer=founder_report. Omitted for scan_pack top-ups; an empty string is never used.

            '
        url:
          type: string
          format: uri
          description: Purchase or report URL, with attribution query parameters.
        locked:
          type: array
          description: 'Section names the offer covers. Distinct from the top-level locked object, which names response FIELDS.

            '
          items:
            type: string
        note:
          type: string
          description: The same facts as one sentence, for a client that relays text.
    ApiDiscovery:
      type: object
      description: The unauthenticated GET /api/agent document.
      required:
      - name
      - version
      - baseUrl
      - openapi
      - authentication
      - endpoints
      properties:
        name:
          type: string
        description:
          type: string
        version:
          type: string
        baseUrl:
          type: string
          format: uri
        openapi:
          type: object
          properties:
            json:
              type: string
              format: uri
            yaml:
              type: string
              format: uri
            json30:
              type: string
              format: uri
              description: The same spec as OpenAPI 3.0.3, for importers that reject 3.1.
        apiCatalog:
          type: string
          format: uri
          description: RFC 9727 api-catalog Linkset.
        docs:
          type: object
          additionalProperties:
            type: string
            format: uri
        authentication:
          type: object
          properties:
            type:
              type: string
              enum:
              - http
            scheme:
              type: string
              enum:
              - bearer
            header:
              type: string
            format:
              type: string
            keyPrefix:
              type: string
            selfServe:
              type: string
              format: uri
            oauth:
              type: string
              format: uri
            note:
              type: string
        pricing:
          type: object
          additionalProperties:
            type: string
        rateLimits:
          type: object
          additionalProperties:
            type: string
        errors:
          type: object
          additionalProperties: true
        endpoints:
          type: array
          items:
            type: object
            required:
            - method
            - path
            - operationId
            properties:
              method:
                type: string
              path:
                type: string
              operationId:
                type: string
        mcp:
          type: object
          additionalProperties:
            type: string
    ApiError:
      type: object
      required:
      - error
      - code
      description: 'Every error, on every route, unknown paths included. Some codes add top-level context fields (limit, tokenBalance, resetAt, upsell, ...); a 404 NOT_FOUND on an unknown route adds details.discovery, details.openapi and details.docs so the caller can recover.

        '
      properties:
        error:
          type: string
          description: Human-readable message. Prose; it changes.
        code:
          type: string
          description: Stable machine-readable code. Branch on this.
        details:
          description: 'Optional context. An object on most codes (limits, recovery links, the method and path of a 404); an array of strings where the route forwards a validator''s messages, as enrich does on INVALID_FOUNDER_PROFILE. Read it, never branch on it - `code` is the contract.

            '
          oneOf:
          - type: object
            additionalProperties: true
          - type: array
            items:
              type: string
        limit:
          type: integer
          description: 'The ceiling that was hit, in the unit the code implies: bytes on PAYLOAD_TOO_LARGE, runs in flight on CONCURRENT_LIMIT_REACHED, requests in the window on a rate limit.

            '
        remaining:
          type: integer
          description: Requests left in the current window.
        resetAt:
          type: string
          format: date-time
          description: 'When the window that refused this request reopens. Present on DAILY_LIMIT_REACHED from run creation (the idea generator''s rolling ceiling sends only limit); prefer it over the Retry-After header when both are present, since it is absolute.

            '
        tokenBalance:
          type: integer
          description: Deep-scan credits left on the account. Present on INSUFFICIENT_TOKENS.
        scansUsed:
          type: integer
        scansRemaining:
          type: integer
        limitType:
          type: string
          description: Which ceiling refused an AppSumo-backed account.
        upgradeHint:
          type: string
          description: What to change to get past this refusal. Prose, not a contract.
        creditScans:
          type: object
          description: 'Present on STARTER_LIMIT_REACHED for an account whose starter scans are a fixed bank: its 10-scan credits pack is empty, what a pack costs in credits, the credit balance, and whether the account can buy credits.

            '
          properties:
            available:
              type: integer
            packCost:
              type: integer
            packSize:
              type: integer
            balance:
              type: integer
            canBuyBundles:
              type: boolean
        paused:
          type: boolean
          description: 'Present only on the LLM-pause 503, where the body is exactly { error, code, paused }.

            '
        upsell:
          $ref: '#/components/schemas/ExportUpsell'
  responses:
    InternalError:
      description: 'Unexpected server error (INTERNAL_ERROR, or TRIGGER_DISPATCH_FAILED when a deep scan could not be handed to the job runner). Never tell the user their quota is safe: on a deep scan the spend can already have happened when the failure hit, and an ambiguous dispatch deliberately keeps the report and its funding because the job may have been accepted before its response was lost. Treat consumption as unknown and retry with backoff. On an operation that takes a clientRunId, retry with the SAME one - that reconciles the original run, whatever state it reached, instead of starting and charging for a second one. On every other operation there is nothing to reconcile: the read or export simply failed, so a plain backed-off retry is the whole recovery.

        '
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ApiError'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Your API key (prv_...), sent as Authorization: Bearer prv_.... It is the only credential the API needs - see the Authentication guide. The older x-preuve-key header still works for existing integrations.

        '
externalDocs:
  description: Developer docs - quickstart, authentication, quotas, error codes
  url: https://docs.preuve.ai/