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. See our Privacy Policy and
Terms.
openapi: 3.2.0
info:
title: IPFS RPC Resolve 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: Resolve
paths:
/api/v0/resolve:
post:
operationId: resolve
description: Resolve the value of names to IPFS.
externalDocs:
url: https://docs.ipfs.tech/reference/kubo/rpc/#api-v0-resolve
parameters:
- name: arg
in: query
description: The name to resolve.
required: true
schema:
type: string
- name: recursive
in: query
description: Resolve until the result is an IPFS name.
schema:
type: boolean
default: true
- name: dht-record-count
in: query
description: Number of records to request for DHT resolution.
schema:
type: integer
- name: dht-timeout
in: query
description: Max time to collect values during DHT resolution eg "30s". Pass 0 for no timeout.
schema:
type: string
responses:
'200':
description: Successful response
content:
application/json:
example:
Path: <string>
tags:
- Resolve
summary: Resolve
x-summary-source: derived
externalDocs:
url: https://docs.ipfs.tech/reference/kubo/rpc/