Content identifier (CID) of IPFS and IPLD
ID ipfs_cid
This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).
Self-describing content address of the multiformats CID specification, used by IPFS, IPLD, Filecoin and the AT Protocol. It is made from a cryptographic hash of the content, so the same content always has the same CID. A CIDv0 is 46 base58btc characters starting with Qm and always holds a SHA-256 hash of a dag-pb block. A CIDv1 starts with a multibase prefix that names its encoding; the default is b for lowercase base32, as in bafy... strings. The regexp covers CIDv0 and base32 CIDv1, not CIDv1 in other encodings such as base58btc (prefix z) or base36 (prefix k).
- Categories
- Universal unique identifiers, Internet, Cryptographic identifiers
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Quality
- 80/100 · missing: mapping (Wikidata, Schema.org, ...), detector coverage
- Metacrafter rules
- no detection rule yet
- Supported by tools
- no tool record lists this type yet
Regular expression
^(?:Qm[1-9A-HJ-NP-Za-km-z]{44}|b[a-z2-7]{58,})$
Python re syntax.
Examples
| Value | Description |
|---|---|
| QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR | CIDv0 of the IPFS content addressing documentation |
| bafybeigdyrzt5sfp7udm7hu76uh7y26nf3efuylqabf3oclgtqy55fbzdi | The same content as a base32 CIDv1, IPFS documentation |
| QmY7Yh4UquoXHLPFo2XbhXkhBvFoPwmQUSa92pxnxjQuPU | Sample CID of the IPFS CID Inspector |
| zb2rhe5P4gXftAwvA4eXQ5HJwsER2owDyS9sKaQRRVQPn93bA invalid | CIDv1 in base58btc, not covered |
| QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMn0 invalid | 0 is not a base58btc character |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Идентификатор содержимого (CID) IPFS и IPLD |
Sources
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/ipfs_cid - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/identifiers/ipfs_cid.yamlon GitHub