{"uid":"cap_oHjosRuufAq40eTv95aeF","slug":"httpay-xyz-pinata-ipfs-file-pinning-gateway-d2dd76d2","name":"httpay.xyz Pinata IPFS File Pinning Gateway","description":"API Gateway: Pinata IPFS pinning service API","url":"https://httpay.xyz/api/gateway/pinata/pinning/pinFileToIPFS","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GBL6VZrHBCuRb9MB8Pe9J","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Pins a file to IPFS via the Pinata pinning service, returning a content identifier (CID) for permanent decentralized storage","exampleAgentPrompt":"Upload this image file to IPFS using Pinata and give me the CID so I can reference it in my NFT metadata.","exampleUseCases":null,"resultDescription":"Returns the IPFS CID (content identifier/hash) for the pinned file, along with the pin timestamp and size, confirming the file is now pinned and accessible on the IPFS network via Pinata's infrastructure.","failureModes":["File too large — Pinata plan size limits exceeded, returns 400 or 413","Invalid or missing file data in multipart form body — returns 400","Upstream Pinata API authentication failure — returns 401 or 403","Network timeout reaching Pinata — returns 504","Malformed request headers or content-type not set to multipart/form-data — returns 415"],"whenToPreferThis":"Use this endpoint when you need to pin a file to IPFS via Pinata and want to pay per-call via x402/USDC micropayments without managing your own Pinata API key or subscription. Ideal for AI agents in Web3 workflows that need on-demand decentralized file storage, such as pinning NFT assets or metadata.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T21:03:39.445Z","isFirstParty":false}