IPFS Refs API

The Refs API from IPFS — 2 operation(s) for refs.

Operations 2

POST /api/v0/refs Refs #
POST /api/v0/refs/local Refs/local #

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/ipfs-refs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

ipfs-refs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: IPFS RPC Refs API
  version: v0
  description: When a Kubo IPFS node is running as a daemon, it exposes an HTTP RPC API that allows you to control the node and run the same commands you can from the command line.
  x-providerName: IPFS
  x-logo:
    url: https://raw.githubusercontent.com/ipfs/ipfs-docs/55fe8bc6a53ba3b9023951fb4b432efbbc81fba5/docs/.vuepress/public/images/ipfs-logo.svg
servers:
- description: Local IPFS node
  url: http://localhost:5001
- description: Local IPFS node
  url: http://127.0.0.1:5001
- description: Infura hosted IPFS node
  url: https://ipfs.infura.io:5001
tags:
- name: Refs
paths:
  /api/v0/refs:
    post:
      operationId: refs
      description: List links (references) from an object.
      externalDocs:
        url: https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-refs
      parameters:
      - name: arg
        in: query
        description: Path to the object(s) to list refs from.
        required: true
        schema:
          type: string
      - name: format
        in: query
        description: 'Emit edges with given format. Available tokens: <src> <dst> <linkname>.'
        schema:
          type: string
          default: <dst>
      - name: edges
        in: query
        description: 'Emit edge format: &lt;from&gt; -&gt; &lt;to&gt;.'
        schema:
          type: boolean
      - name: unique
        in: query
        description: Omit duplicate refs from output.
        schema:
          type: boolean
      - name: recursive
        in: query
        description: Recursively list links of child nodes.
        schema:
          type: boolean
      - name: max-depth
        in: query
        description: Only for recursive refs, limits fetch and listing to the given depth.
        schema:
          type: integer
          default: -1
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              example:
                Err: <string>
                Ref: <string>
      tags:
      - Refs
      summary: Refs
      x-summary-source: derived
  /api/v0/refs/local:
    post:
      operationId: refs/local
      description: List all local references.
      externalDocs:
        url: https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-refs-local
      parameters: []
      responses:
        '200':
          description: Successful response
          content:
            application/json:
              example:
                Err: <string>
                Ref: <string>
      tags:
      - Refs
      summary: Refs/local
      x-summary-source: derived
externalDocs:
  url: https://docs.ipfs.tech/reference/kubo/rpc/