> ## Documentation Index
> Fetch the complete documentation index at: https://docs.safeconduct.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Public provider statistics

> Every enabled provider and kind, with its price and its numbers over the rolling
window: attempts, successes (tokens reported as rejected count as failures),
success rate and solve times, and whether the provider accepts your own key.
Per-site numbers are not published. No key needed; cached for 60 seconds.




## OpenAPI

````yaml /openapi.yaml get /v1/stats/providers
openapi: 3.0.3
info:
  title: SafeConduct API
  version: 0.21.0
  description: >
    SafeConduct routes each captcha (later antibot, SERP and proxy) request to
    the best

    provider for its target site, billed from one wallet.


    Compatibility promise (ADR-003): within /v1, changes are additive only: new

    endpoints, new optional fields, new enum values. Clients must ignore unknown
    fields

    and tolerate unknown enum values. Anything else ships as /v2, side by side.


    This is the single source of truth: the dashboard's client is generated from
    it,

    the server is tested against it, and CI rejects breaking changes to it.
servers:
  - url: https://api.safeconduct.ai
security: []
tags:
  - name: captcha
    description: >
      Captcha solving. Create a task, then poll it (or wait on it), or do both
      in one

      call with /v1/tasks/solve. Each task is routed to the best provider for
      its

      site, retried and failed over automatically, and charged only if solved:
      the

      price is reserved when it is created and the unused part released at the
      end.
  - name: billing
    description: Wallet and payments
  - name: stats
    description: Public provider statistics; no key needed
  - name: compat
    description: >
      Drop-in compatible API: the createTask / getTaskResult / getBalance
      methods of

      Anti-Captcha, also used by 2Captcha (v2 API), CapSolver and CapMonster.
      Point an

      existing client at this server's base URL and use a SafeConduct key as
      clientKey.

      Every answer is HTTP 200; errorId > 0 means an error (Anti-Captcha's
      codes;

      errorDescription starts with the SafeConduct error code). taskId is an
      integer,

      or a string for CapSolver-style requests (appId set, or CapSolver's type
      names).

      Also 2Captcha's original in.php / res.php API (GET or POST, form
      parameters):

      plain-text answers (OK|<id>, CAPCHA_NOT_READY, OK|<token>, ERROR_...) or
      JSON

      with json=1.
paths:
  /v1/stats/providers:
    get:
      tags:
        - stats
      summary: Public provider statistics
      description: >
        Every enabled provider and kind, with its price and its numbers over the
        rolling

        window: attempts, successes (tokens reported as rejected count as
        failures),

        success rate and solve times, and whether the provider accepts your own
        key.

        Per-site numbers are not published. No key needed; cached for 60
        seconds.
      operationId: getProviderStats
      parameters:
        - name: product
          in: query
          description: Only this product (e.g. captcha)
          schema:
            type: string
      responses:
        '200':
          description: The statistics
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ProviderStats'
components:
  schemas:
    ProviderStats:
      type: object
      required:
        - computedAt
        - windowHours
        - providers
      properties:
        computedAt:
          type: string
          format: date-time
          nullable: true
          description: When the numbers were computed; null before the first computation
        windowHours:
          type: number
          description: How far back the numbers look
        providers:
          type: array
          items:
            type: object
            required:
              - provider
              - name
              - product
              - kind
              - status
              - price
              - attempts
              - successes
              - successRate
              - p50Ms
              - p90Ms
            properties:
              provider:
                type: string
                example: capsolver
              name:
                type: string
                example: CapSolver
              product:
                type: string
                example: captcha
              kind:
                type: string
                example: recaptcha_v2
              status:
                type: string
                description: enabled or beta; tolerate new values
              price:
                $ref: '#/components/schemas/USD'
              attempts:
                type: integer
              successes:
                type: integer
              successRate:
                type: number
                nullable: true
                description: successes / attempts, null without attempts
              p50Ms:
                type: integer
                description: Median solve time of successful attempts
              p90Ms:
                type: integer
                description: 90th percentile solve time
              ownKeys:
                type: boolean
                description: >-
                  You can add your own key for this provider (Provider keys in
                  the dashboard). Tolerate its absence on older servers
    USD:
      type: string
      description: An amount in US dollars, as a decimal string
      pattern: ^-?[0-9]+\.[0-9]{2,6}$
      example: '0.0006'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.