post https://api.pinata.cloud/pinning/pinJSONToIPFS
Uploads a JSON object to Pinata and pins it to IPFS
Recipes
✨
Mint an NFT with Pinata and Crossmint
Open Recipe
This endpoint allows the sender to add and pin any JSON object they wish to Pinata's IPFS nodes. This endpoint is specifically optimized to only handle JSON content. Once the server receives the JSON, it is converted into a JSON file and pinned to our IPFS storage nodes.
Uploading and Pinning JSON
Each upload can optionally include additional information beyond just the file. Both pinataOptions
and pinataMetadata
can be included in the request. Their formats are document here