PubFi Docs API

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

GitHub OpenAPI

Operations 2

GET /openapi.json Get the runtime OpenAPI document #
GET /reference Open the API reference #

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-docs-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-docs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: pubfi-api-server-runtime Docs 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: Docs
paths:
  /openapi.json:
    get:
      tags:
      - Docs
      summary: Get the runtime OpenAPI document
      operationId: openapi_json
      responses:
        '200':
          description: OpenAPI
  /reference:
    get:
      tags:
      - Docs
      summary: Open the API reference
      operationId: reference
      responses:
        '200':
          description: Scalar UI
components:
  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
- source_key: beefy-api
  source_revision: 1
  successor_sha256: 16ebf5712a10b2c577828b173cd3773c612423f16a21fc97ef43783bae8fd3fa
  content_sha256: 5af76b5ffa7133b4028500444f6523d886d64566927fb461445a083cd209608b
  canonical_json:
    externalDocs:
      url: https://raw.githubusercontent.com/beefyfinance/beefy-api/master/src/router.ts
    info:
      title: Beefy
      version: live-reference
    openapi: 3.1.0
    paths:
      /articles:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /articles
      /articles/latest:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /articles/latest
      /beefy-bridge/axelar/{sourceChainId}/{destChainId}:
        get:
          parameters:
          - description: ''
            in: path
            name: sourceChainId
            required: true
            schema:
              type: string
          - description: ''
            in: path
            name: destChainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /beefy-bridge/axelar/:sourceChainId/:destChainId
      /boosts:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /boosts
      /boosts/v2:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /boosts/v2
      /boosts/v2/{chainId}:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /boosts/v2/:chainId
      /boosts/{chainId}:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /boosts/:chainId
      /chains:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /chains
      /chains/{chainId}:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /chains/:chainId
      /clm-vaults:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /clm-vaults
      /clm-vaults/{chainId}:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /clm-vaults/:chainId
      /config:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /config
      /config/{chainId}:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /config/:chainId
      /cow-dune-ltipp-merkl-campaigns:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /cow-dune-ltipp-merkl-campaigns
      /cow-price-ranges:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /cow-price-ranges
      /cow-vaults:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /cow-vaults
      /cow-vaults/id/{vaultId}:
        get:
          parameters:
          - description: ''
            in: path
            name: vaultId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /cow-vaults/id/:vaultId
      /cow-vaults/{chainId}:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /cow-vaults/:chainId
      /fees:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /fees
      /geo/country:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /geo/country
      /gov-vaults:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /gov-vaults
      /gov-vaults/id/{vaultId}:
        get:
          parameters:
          - description: ''
            in: path
            name: vaultId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /gov-vaults/id/:vaultId
      /gov-vaults/{chainId}:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /gov-vaults/:chainId
      /harvestable-vaults:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /harvestable-vaults
      /harvestable-vaults/id/{vaultId}:
        get:
          parameters:
          - description: ''
            in: path
            name: vaultId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /harvestable-vaults/id/:vaultId
      /harvestable-vaults/related:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /harvestable-vaults/related
      /harvestable-vaults/{chainId}:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /harvestable-vaults/:chainId
      /harvestable-vaults/{chainId}/related:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /harvestable-vaults/:chainId/related
      /lps:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /lps
      /lps/breakdown:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /lps/breakdown
      /mootokenprices:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /mootokenprices
      /offchain-rewards:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /offchain-rewards/
          x-pubfi-upstream-trailing-slash: true
      /offchain-rewards/active:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /offchain-rewards/active
      /offchain-rewards/active/{chainId}:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /offchain-rewards/active/:chainId
      /offchain-rewards/{chainId}:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /offchain-rewards/:chainId
      /points-structures:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /points-structures
      /prices:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /prices
      /raw/boosts:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /raw/boosts
      /raw/boosts/{chainId}:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /raw/boosts/:chainId
      /raw/vaults:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /raw/vaults
      /raw/vaults/{chainId}:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /raw/vaults/:chainId
      /snapshot/active:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /snapshot/active
      /snapshot/latest:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /snapshot/latest
      /supply:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /supply
      /supply/circulating:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /supply/circulating
      /supply/total:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /supply/total
      /tokens:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /tokens
      /tokens/native:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /tokens/native
      /tokens/{chainId}:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /tokens/:chainId
      /tokens/{chainId}/native:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /tokens/:chainId/native
      /tokens/{chainId}/{tokenId}:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          - description: ''
            in: path
            name: tokenId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /tokens/:chainId/:tokenId
      /treasury:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /treasury
      /tvl:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /tvl
      /vault/{vaultId}:
        get:
          parameters:
          - description: ''
            in: path
            name: vaultId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /vault/:vaultId
      /vaults:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /vaults
      /vaults/all:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /vaults/all
      /vaults/all/{chainId}:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /vaults/all/:chainId
      /vaults/id/{vaultId}:
        get:
          parameters:
          - description: ''
            in: path
            name: vaultId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /vaults/id/:vaultId
      /vaults/last-harvest:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /vaults/last-harvest
      /vaults/{chainId}:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /vaults/:chainId
      /zap/providers/enso/{chainId}/quote:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /zap/providers/enso/:chainId/quote
      /zap/providers/enso/{chainId}/swap:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /zap/providers/enso/:chainId/swap
      /zap/providers/kyber/{chainId}/quote:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /zap/providers/kyber/:chainId/quote
      /zap/providers/liquid-swap/{chainId}/quote:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /zap/providers/liquid-swap/:chainId/quote
      /zap/providers/oneinch/{chainId}/quote:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /zap/providers/oneinch/:chainId/quote
      /zap/providers/oneinch/{chainId}/swap:
        get:
          parameters:
          - description: ''
            in: path
            name: chainId
            required: true
            schema:
              type: string
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /zap/providers/oneinch/:chainId/swap
      /zap/swaps:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /zap/swaps
      /zap/swaps/debug:
        get:
          parameters: []
          responses:
            '200':
              content:
                application/json:
                  schema: {}
              description: Upstream response
          summary: GET /zap/swaps/debug


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