[IPFS] Cat metadata from Nid/Cid

The following API helps you cat metadata with IPFS Nid from Numbers IPFS gateway. Capture Tokenarrow-up-right and the Nid of the asset are required. If you do not already have a Capture Token yet, please follow the instructionarrow-up-right provided to create one.

API Endpoint: https://eoilb27dj3s5ncc.m.pipedream.net

Cost: 0.01 NUM

Method: GET
Endpoint: /?nid=NID_TO_FETCH

Description:
This API endpoint allows developers to retrieve metadata on IPFS via the Numbers Gateway (https://ipfs-pin.numbersprotocol.io/ipfs/) using a Nid. The returned data is a string containing the metadata associated with the provided Nid.

Authentication:
This API requires a valid token for Authorization. The token should be passed in the headers of the request using the following format: "Authorization: token YOUR_CAPTURE_TOKEN"

Headers:
- Content-Type: application/json
- Authorization: token YOUR_CAPTURE_TOKEN

Examples:
curl -X GET -H "Content-Type: application/json" \
            -H "Authorization: token YOUR_CAPTURE_TOKEN" \
            https://eoilb27dj3s5ncc.m.pipedream.net?nid=NID_TO_FETCH

Response:
A string containing the metadata associated with the provided Nid.

A detailed explanation of the Nid can be found on the Numbers ID (Nid) page. In this example, you would replace YOUR_CAPTURE_TOKEN with your actual Capture token and NID_TO_FETCH with the Nid of the metadata you want to cat. More examples can be found below:

Last updated