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.
openapi: 3.2.0
info:
title: IPFS RPC Multibase 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: Multibase
paths:
/api/v0/multibase/decode:
post:
operationId: multibase/decode
description: Decode multibase string
externalDocs:
url: https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-multibase-decode
parameters: []
requestBody:
description: Argument `encoded_file` 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
tags:
- Multibase
summary: Multibase/decode
x-summary-source: derived
/api/v0/multibase/encode:
post:
operationId: multibase/encode
description: Encode data into multibase string
externalDocs:
url: https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-multibase-encode
parameters:
- name: b
in: query
description: multibase encoding.
schema:
type: string
default: base64url
requestBody:
description: Argument `file` 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
tags:
- Multibase
summary: Multibase/encode
x-summary-source: derived
/api/v0/multibase/list:
post:
operationId: multibase/list
description: List available multibase encodings.
externalDocs:
url: https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-multibase-list
parameters:
- name: prefix
in: query
description: also include the single letter prefixes in addition to the code.
schema:
type: boolean
- name: numeric
in: query
description: also include numeric codes.
schema:
type: boolean
responses:
'200':
description: Successful response
content:
application/json:
example:
- Code: <int>
Name: <string>
tags:
- Multibase
summary: Multibase/list
x-summary-source: derived
/api/v0/multibase/transcode:
post:
operationId: multibase/transcode
description: Transcode multibase string between bases
externalDocs:
url: https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-multibase-transcode
parameters:
- name: b
in: query
description: multibase encoding.
schema:
type: string
default: base64url
requestBody:
description: Argument `encoded_file` 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
tags:
- Multibase
summary: Multibase/transcode
x-summary-source: derived
externalDocs:
url: https://docs.ipfs.tech/reference/kubo/rpc/