Pay-per-access IPFS content gateway serving a PNG image via x402 micropayment on Base Sepolia.
What it does
This endpoint is an x402-enabled IPFS content gateway hosted on Pinata infrastructure. It serves a specific IPFS-pinned PNG image (CID: bafybeibflo5qiryeuupzuayowoi5qsillk3bij7yaizld2jvma3ah6cgdi) behind a micropayment wall. Callers must supply a valid `x-payment` header to retrieve the content; without it, the endpoint returns a 402 Payment Required challenge describing the accepted payment scheme.
The payment scheme uses the "exact" method on the Base Sepolia testnet, accepting USDC (contract 0x036CbD53842c5426634e7929541eC2318f3dCF7e) with a maximum amount of 1,000,000 units (1 USDC at 6 decimals). Payments are directed to address 0x941f29fddA2CB16649b70D1C28aA5933DBba6295 with a 60-second timeout window. The response content type is `image/png`.
This appears to be a hackathon project (indicated by the subdomain "x402hackathon") demonstrating pay-per-access for IPFS-hosted content using the x402 protocol. No documentation, OpenAPI spec, or additional endpoints were found on the origin. The gateway pattern suggests it could serve other CIDs at different paths, but only this specific CID path was observed and confirmed live.
Capabilities
Use cases
- —Paying to retrieve a specific IPFS-pinned PNG image via x402 protocol
- —Demonstrating x402 micropayment integration with IPFS content delivery
- —Agent-driven acquisition of paywalled decentralized storage content
Fit
Best for
- —Developers experimenting with x402 payment flows on Base Sepolia testnet
- —Accessing IPFS-hosted images behind a micropayment wall
- —Prototyping pay-per-access content delivery for decentralized storage
Not for
- —Production use — this runs on Base Sepolia testnet, not mainnet
- —Bulk or high-volume IPFS content retrieval without payment capability
Quick start
curl -X GET \
-H "x-payment: <valid-x402-payment-header>" \
https://x402hackathon.mypinata.cloud/x402/cid/bafybeibflo5qiryeuupzuayowoi5qsillk3bij7yaizld2jvma3ah6cgdiEndpoint
Quality
The endpoint is live and returns a well-formed 402 challenge with clear payment parameters and MIME type. However, there is no documentation, no OpenAPI spec, no usage examples, and the crawl returned only error pages. The project appears to be a hackathon demo with minimal supporting material.
Warnings
- —Hackathon project — likely experimental and not production-grade
- —Runs on Base Sepolia testnet; USDC payments are testnet tokens only
- —No documentation or OpenAPI spec found at the origin
- —Single-CID endpoint; unclear if other CIDs are supported
- —Empty description field in the x402 challenge
Citations
- —Endpoint returns 402 with x402 challenge accepting USDC on Base Sepoliahttps://x402hackathon.mypinata.cloud/x402/cid/bafybeibflo5qiryeuupzuayowoi5qsillk3bij7yaizld2jvma3ah6cgdi
- —Payment amount is 1,000,000 units of USDC (contract 0x036CbD53842c5426634e7929541eC2318f3dCF7e)https://x402hackathon.mypinata.cloud/x402/cid/bafybeibflo5qiryeuupzuayowoi5qsillk3bij7yaizld2jvma3ah6cgdi
- —Response content type is image/pnghttps://x402hackathon.mypinata.cloud/x402/cid/bafybeibflo5qiryeuupzuayowoi5qsillk3bij7yaizld2jvma3ah6cgdi
- —Root origin returns 'No CID provided' errorhttps://x402hackathon.mypinata.cloud