Operations 6
Documentation
Documentation
https://docs.ipfs.tech/reference/kubo/rpc/
Documentation
https://ipfs.github.io/pinning-services-api-spec/
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/ipfs-dag-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: 3.2.0
info:
title: IPFS RPC Dag 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: DAG
paths:
/api/v0/dag/export:
post:
operationId: dag/export
description: Streams the selected DAG as a .car stream on stdout.
externalDocs:
url: https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-dag-export
parameters:
- name: arg
in: query
description: CID of a root to recursively export
required: true
schema:
type: string
- name: progress
in: query
description: Display progress on CLI. Defaults to true when STDERR is a TTY.
schema:
type: boolean
responses:
'200':
description: Successful response
tags:
- DAG
summary: Dag/export
x-summary-source: derived
/api/v0/dag/get:
post:
operationId: dag/get
description: Get a DAG node from IPFS.
externalDocs:
url: https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-dag-get
parameters:
- name: arg
in: query
description: The object to get
required: true
schema:
type: string
- name: output-codec
in: query
description: Format that the object will be encoded as.
schema:
type: string
default: dag-json
responses:
'200':
description: Successful response
tags:
- DAG
summary: Dag/get
x-summary-source: derived
/api/v0/dag/import:
post:
operationId: dag/import
description: Import the contents of .car files
externalDocs:
url: https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-dag-import
parameters:
- name: pin-roots
in: query
description: Pin optional roots listed in the .car headers after importing.
schema:
type: boolean
default: true
- name: silent
in: query
description: No output.
schema:
type: boolean
- name: stats
in: query
description: Output stats.
schema:
type: boolean
- name: allow-big-block
in: query
description: 'Disable block size check and allow creation of blocks bigger than 1MiB. WARNING: such blocks won''t be transferable over the standard bitswap.'
schema:
type: boolean
default: false
requestBody:
description: Argument `path` is of file type. This endpoint expects one or several files (depending on the command) in the body of the request as 'multipart/form-data'.
content: {}
responses:
'200':
description: Successful response
content:
application/json:
example:
Root:
Cid:
/: <cid-string>
PinErrorMsg: <string>
Stats:
BlockBytesCount: <uint64>
BlockCount: <uint64>
tags:
- DAG
summary: Dag/import
x-summary-source: derived
/api/v0/dag/put:
post:
operationId: dag/put
description: Add a DAG node to IPFS.
externalDocs:
url: https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-dag-put
parameters:
- name: store-codec
in: query
description: Codec that the stored object will be encoded with.
schema:
type: string
default: dag-cbor
- name: input-codec
in: query
description: Codec that the input object is encoded in.
schema:
type: string
default: dag-json
- name: pin
in: query
description: Pin this object when adding.
schema:
type: boolean
- name: hash
in: query
description: Hash function to use.
schema:
type: string
default: sha2-256
- name: allow-big-block
in: query
description: 'Disable block size check and allow creation of blocks bigger than 1MiB. WARNING: such blocks won''t be transferable over the standard bitswap.'
schema:
type: boolean
default: false
requestBody:
description: Argument `object data` is of file type. This endpoint expects one or several files (depending on the command) in the body of the request as 'multipart/form-data'.
content: {}
responses:
'200':
description: Successful response
content:
application/json:
example:
Cid:
/: <cid-string>
tags:
- DAG
summary: Dag/put
x-summary-source: derived
/api/v0/dag/resolve:
post:
operationId: dag/resolve
description: Resolve IPLD block.
externalDocs:
url: https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-dag-resolve
parameters:
- name: arg
in: query
description: The path to resolve
required: true
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
example:
Cid:
/: <cid-string>
RemPath: <string>
tags:
- DAG
summary: Dag/resolve
x-summary-source: derived
/api/v0/dag/stat:
post:
operationId: dag/stat
description: Gets stats for a DAG.
externalDocs:
url: https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-dag-stat
parameters:
- name: arg
in: query
description: CID of a DAG root to get statistics for
required: true
schema:
type: string
- name: progress
in: query
description: Return progressive data while reading through the DAG.
schema:
type: boolean
default: true
responses:
'200':
description: Successful response
content:
application/json:
example:
NumBlocks: <int64>
Size: <uint64>
tags:
- DAG
summary: Dag/stat
x-summary-source: derived
externalDocs:
url: https://docs.ipfs.tech/reference/kubo/rpc/