{"uid":"cap_pCHCRdeftLRTGHtvtHMu3","slug":"kleros-ipfs-gateway-pin-file-to-ipfs-1607208b","name":"Kleros IPFS Gateway - Pin File to IPFS","description":"Pin a file to IPFS","url":"https://kleros-ipfs-gateway.fly.dev/upload-to-ipfs","method":"POST","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_sAyPlG687oPhD5BES-b_o","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Uploads and pins a file to IPFS via the Kleros-operated IPFS gateway, returning a content-addressed CID","exampleAgentPrompt":"Can you pin this PDF file to IPFS using the Kleros gateway so I get back a permanent content-addressed CID I can reference on-chain?","exampleUseCases":null,"resultDescription":"Returns an IPFS CID (content identifier) and/or IPFS URI pointing to the pinned file, confirming the file is stored and retrievable from the IPFS network via the Kleros-operated gateway.","failureModes":["File too large — gateway may reject oversized uploads","Invalid or missing file payload — returns 400 bad request","Payment failure — x402 payment of $0.01 USDC not provided or invalid, returns 402","Gateway unavailable — fly.dev instance down, returns 503","Unsupported file type — certain MIME types may be rejected"],"whenToPreferThis":"Use this endpoint when you need to pin a file to IPFS quickly and cost-effectively (at $0.01 USDC per call) without running your own IPFS node, especially in Kleros-ecosystem workflows where IPFS evidence or metadata storage is required for dispute resolution or on-chain references.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:32:35.424Z","isFirstParty":false}