PubFi Capabilities API

The capabilities API from PubFi — 2 operation(s) for capabilities.

GitHub OpenAPI

Operations 2

GET /v1/capabilities List available capabilities #
GET /v1/capabilities/{capability_id} Get capability details #

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/pubfi-ai:pubfi-ai-capabilities-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

pubfi-ai-capabilities-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: pubfi-api-server-runtime Capabilities API
  description: Shared implementation for PubFi API and operational binaries.
  contact:
    name: PubFi
    url: https://pubfi.ai/contact
    email: hello@pubfi.ai
  license:
    name: GPL-3.0
    identifier: GPL-3.0
  version: 0.3.21
servers:
- url: https://api.pubfi.ai
tags:
- name: Capabilities
paths:
  /v1/capabilities:
    get:
      tags:
      - Capabilities
      summary: List available capabilities
      operationId: list_capabilities
      parameters:
      - name: limit
        in: query
        description: Page size from 1 through 1000; defaults to 50
        required: false
        schema:
          type: integer
          format: int32
          minimum: 0
      - name: cursor
        in: query
        description: Opaque canonical v3, v4, or v5 cursor from the preceding page; this release emits v5
        required: false
        schema:
          type: string
      - name: provider_key
        in: query
        description: Exact public provider key filter
        required: false
        schema:
          type: string
      - name: method
        in: query
        description: Exact GET or POST method filter
        required: false
        schema:
          type: string
      responses:
        '200':
          description: Capability catalog page bound to one generation and versioned projection
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicCapabilityPage'
        '400':
          description: Invalid page request, cursor, or filter
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '409':
          description: Cursor generation or versioned catalog projection changed; restart pagination
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '503':
          description: Registry snapshot is unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
  /v1/capabilities/{capability_id}:
    get:
      tags:
      - Capabilities
      summary: Get capability details
      operationId: get_capability
      parameters:
      - name: capability_id
        in: path
        description: Exact Registry capability id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Exact capability detail
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PublicCapabilityDetail'
        '400':
          description: Capability id is malformed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '404':
          description: Capability is not installed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
        '503':
          description: Registry snapshot is unavailable
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorEnvelope'
components:
  schemas:
    PublicFreeQuotaWindow:
      type: object
      description: Public longer fixed-window free request quota.
      required:
      - requests_per_window
      - window_seconds
      properties:
        requests_per_window:
          type: integer
          format: int64
          description: Maximum admitted requests in this quota window.
          minimum: 0
        window_seconds:
          type: integer
          format: int32
          description: Fixed quota-window length in seconds.
          minimum: 0
    ErrorEnvelope:
      type: object
      required:
      - error
      properties:
        error:
          $ref: '#/components/schemas/ErrorBody'
    PublicCapabilityFilters:
      type: object
      description: Exact static filters accepted by capability catalog pagination.
      properties:
        method:
          type:
          - string
          - 'null'
          description: Return only capabilities that accept this exact method.
        provider_key:
          type:
          - string
          - 'null'
          description: Return only capabilities from this exact public provider key.
      additionalProperties: false
    ErrorBody:
      type: object
      required:
      - code
      - message
      properties:
        code:
          type: string
        message:
          type: string
    PublicCapabilityOperation:
      type: object
      description: One public method and its exact commercial classification.
      required:
      - method
      - billing
      properties:
        billing:
          type: object
          description: Current commercial classification for this exact route-method pair.
        method:
          type: string
          description: Canonical method accepted by this route.
    PublicCapabilitySummary:
      type: object
      description: Compact capability record returned during complete catalog enumeration.
      required:
      - capability_id
      - provider_key
      - provider_name
      - matcher
      - methods
      - credential_required
      - operations
      - readiness
      properties:
        capability_id:
          type: string
          description: Stable Registry route id used by exact capability detail lookup.
        credential_required:
          type: boolean
          description: Whether execution requires a credential lease.
        free_rate_limit:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/PublicFreeRateLimit'
            description: Account-level free variant limits when this exact route is available as a free variant.
        matcher:
          type: object
          description: Typed matcher used by exact route execution.
        methods:
          type: array
          items:
            type: string
          description: Canonical method set accepted by the route.
        operations:
          type: array
          items:
            $ref: '#/components/schemas/PublicCapabilityOperation'
          description: Per-method commercial classifications from the active pricing authority.
        provider_key:
          type: string
          description: Stable evidence-bound public provider key used for Discovery joins.
        provider_name:
          type: string
          description: Public-safe canonical provider name.
        readiness:
          type: object
          description: Current readiness sampled for this response.
    PublicFreeRateLimit:
      type: object
      description: Public account-level limiter contract for one free API variant.
      required:
      - requests_per_window
      - window_seconds
      - max_concurrency
      - permit_ttl_seconds
      properties:
        bucket_scope:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/PublicFreeRateLimitBucketScope'
            description: Optional non-default Registry identity used to share this allowance between routes.
        max_concurrency:
          type: integer
          format: int32
          description: Maximum concurrent in-flight requests.
          minimum: 0
        permit_ttl_seconds:
          type: integer
          format: int32
          description: Permit expiry used to recover requests after a crashed process.
          minimum: 0
        quota:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/PublicFreeQuotaWindow'
            description: Optional longer fixed-window quota enforced with the primary rate window.
        requests_per_window:
          type: integer
          format: int32
          description: Maximum admitted requests in one fixed window.
          minimum: 0
        total_request_limit:
          type:
          - integer
          - 'null'
          format: int64
          description: Optional cumulative admitted-request hard limit.
          minimum: 0
        window_seconds:
          type: integer
          format: int32
          description: Fixed-window length in seconds.
          minimum: 0
    PublicFreeRateLimitBucketScope:
      type: string
      description: Public Registry identity used to share one free allowance between routes.
      enum:
      - policy_source
      - provider
    PublicCapabilityPage:
      type: object
      description: One complete, deterministic, generation-bound page of compact capabilities.
      required:
      - schema_version
      - generation
      - manifest
      - compiled_at
      - observed_at
      - total_capability_count
      - matching_capability_count
      - filters
      - capabilities
      properties:
        capabilities:
          type: array
          items:
            $ref: '#/components/schemas/PublicCapabilitySummary'
          description: Compact capability summaries in deterministic generation order.
        compiled_at:
          type: string
          description: Trusted time at which the immutable serving snapshot was compiled.
        filters:
          $ref: '#/components/schemas/PublicCapabilityFilters'
          description: Exact static filters applied to this enumeration.
        generation:
          type: object
          description: Exact immutable generation bound to this page and its cursor.
        manifest:
          type: object
          description: Exact signed manifest installed by this Data Plane.
        matching_capability_count:
          type: integer
          description: Total number of capabilities matching the applied static filters.
          minimum: 0
        next_cursor:
          type:
          - string
          - 'null'
          description: Opaque cursor for the next page, or `None` when enumeration is complete.
        observed_at:
          type: string
          description: Trusted time at which dynamic readiness was sampled.
        schema_version:
          type: string
          description: Stable public page schema.
        total_capability_count:
          type: integer
          description: Total number of capabilities in the installed generation before filtering.
          minimum: 0
    PublicRegistryCapability:
      type: object
      description: One provider-neutral public capability derived from a typed execution plan.
      required:
      - capability_id
      - route
      - provider
      - provider_key
      - provider_name
      - upstream
      - matcher
      - methods
      - request
      - response
      - credential_required
      - operations
      - readiness
      properties:
        capability_id:
          type: string
          description: Stable capability id. It is exactly the Registry route id, never a second mapping table.
        credential_required:
          type: boolean
          description: Whether execution requires a credential lease.
        free_rate_limit:
          oneOf:
          - type: 'null'
          - $ref: '#/components/schemas/PublicFreeRateLimit'
            description: Account-level free variant limits when this exact route is available as a free variant.
        matcher:
          type: object
          description: Typed matcher used by the same request-path index.
        methods:
          type: array
          items:
            type: string
          description: Canonical method set accepted by the route.
        operations:
          type: array
          items:
            $ref: '#/components/schemas/PublicCapabilityOperation'
          description: Per-method commercial classifications from the active pricing authority.
        provider:
          type: object
          description: Exact immutable provider revision used only as data, not an execution branch.
        provider_key:
          type: string
          description: Stable evidence-bound public provider key used for Discovery joins.
        provider_name:
          type: string
          description: Public-safe canonical provider name.
        readiness:
          type: object
          description: Current readiness evaluated from the installed snapshot.
        request:
          type: object
          description: Finite request validation contract enforced by the executor.
        response:
          type: object
          description: Finite response validation contract enforced by the executor.
        route:
          type: object
          description: Exact immutable route revision.
        upstream:
          type: object
          description: Exact immutable upstream revision.
    PublicCapabilityDetail:
      type: object
      description: Full detail for one exact capability id in the installed generation.
      required:
      - schema_version
      - generation
      - manifest
      - compiled_at
      - observed_at
      - capability
      properties:
        capability:
          $ref: '#/components/schemas/PublicRegistryCapability'
          description: Full typed Registry capability contract.
        compiled_at:
          type: string
          description: Trusted time at which the immutable serving snapshot was compiled.
        generation:
          type: object
          description: Exact immutable generation from which the capability was derived.
        manifest:
          type: object
          description: Exact signed manifest installed by this Data Plane.
        observed_at:
          type: string
          description: Trusted time at which dynamic readiness was sampled.
        schema_version:
          type: string
          description: Stable public detail schema.
  securitySchemes:
    pubfiBearer:
      type: http
      scheme: bearer
      bearerFormat: PubFi API key or native session credential
      description: 'Send a PubFi API key or dashboard token as Authorization: Bearer <token>.'
externalDocs:
  description: PubFi Developers policy for /v1 stability, deprecation, and Sunset
  url: https://pubfi.ai/developers.md
x-pubfi-registry-generation:
  epoch_id: epoch-ef987cf7-5944-5f55-871d-b04c93b0c839
  id: generation-310-278c8584fe59d2bed841be54a3aa450fa79029f06447516552991c84ecf749f8
  sequence: 310
  codec: canonical_json_v1
  payload_hash: 206cd96e93b9f4dfda64387c5fa1623cf71e5517ebfc3e66264733dc72580c9a
x-pubfi-registry-manifest:
  registry_epoch_id: epoch-ef987cf7-5944-5f55-871d-b04c93b0c839
  manifest_sequence: 5437
  manifest_payload_hash: c55ca050b52133b27771476ffea88ed8dbab59a76d87d421f41ad4baecd8bb55
x-pubfi-registered-openapi-sources:
- source_key: alternative-fng
  source_revision: 4
  successor_sha256: d903baed44cbb642f0ff34735b07fbb2129e31ffa22aa076b4753a4f813d474f
  content_sha256: 1b30a5865467194c13e2af98a011882f5f9f8f2fe64209ca658196c31ab3539c
  canonical_json:
    externalDocs:
      url: https://alternative.me/crypto/fear-and-greed-index/
    info:
      title: Alternative.me
      version: live-reference
    openapi: 3.1.0
    paths:
      /fng:
        get:
          description: Get the latest data of the Fear and Greed Index.
          parameters:
          - description: 'Limit the number of returned results. The default value is ''1'', use ''0'' for all available data. Please note that the field "time_until_update" will only be returned for the latest value ( in other words: when the value ''1'' is used).'
            in: query
            name: limit
            required: false
            schema:
              type: integer
          - description: Choose to either receive the data part formatted as regular JSON or formatted as CSV for easy pasting in spreadsheets, use either 'json' or 'csv' respectively. The default is 'json'.
            in: query
            name: format
            required: false
            schema:
              type: string
          - description: Choose to either receive the date part formatted for the United States (MM/DD/YYYY), for China and Korea (YYYY/MM/DD) or for the rest of the world (DD/MM/YYYY). Use 'us', 'cn', 'kr' or 'world' respectively. The default is an empty string which will return the date in unixtime, unless format is set to 'csv'. When "format" is set to 'csv' the default "date_format" is 'world'.
            in: query
            name: date_format
            required: false
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          x-pubfi-upstream-trailing-slash: true


# --- truncated at 32 KB (5624 KB total) ---
# Full source: https://artifacts.apis.io/pubfi-ai/openapi/pubfi-ai-capabilities-api-openapi.yml