Pay-per-access IPFS content retrieval via x402 on Base Sepolia (0.01 USDC)
What it does
This endpoint serves IPFS-pinned content behind an x402 paywall, hosted on a Pinata-based gateway (grapevine.dev-mypinata.cloud). When a GET request is made without payment, the server returns a 402 challenge requiring 0.01 USDC on the Base Sepolia testnet. Once a valid x-payment header is provided, the endpoint delivers the content identified by the IPFS CID (bafkreiavlus5qlo67x7lypvcvkgqcfdc5vkmy3eru3titipx7am5ysmbmq) as application/octet-stream.
The x402 challenge uses the "exact" payment scheme with x402 version 1. Payment is directed to address 0xbc03df2D9F44Cc552EbbFF39860f2CC4fC751d0E using the USDC token contract at 0x036CbD53842c5426634e7929541eC2318f3dCF7e on Base Sepolia. The maximum timeout for payment verification is 60 seconds. Since Base Sepolia is a testnet, this endpoint is likely intended for development, testing, or demonstration purposes rather than production use.
Documentation is essentially absent — the crawled pages all return error messages indicating invalid URLs or missing CID parameters. The gateway appears to be a CID-routing service where the path /x402/cid/{CID} gates individual pieces of IPFS content behind micropayments. No OpenAPI spec, agents.txt, or additional documentation was found.
Capabilities
Use cases
- —Paying to retrieve specific IPFS-pinned files via micropayment
- —Testing x402 payment flows against a live IPFS gateway on a testnet
- —Demonstrating pay-per-download for decentralized storage content
Fit
Best for
- —Developers testing x402 payment integrations on Base Sepolia
- —Agents that need to fetch gated IPFS content programmatically
- —Prototyping micropayment-based content distribution
Not for
- —Production use requiring mainnet payments
- —Bulk or high-throughput IPFS content retrieval
- —Users who need free, ungated IPFS access
Quick start
curl -X GET \
https://grapevine.dev-mypinata.cloud/x402/cid/bafkreiavlus5qlo67x7lypvcvkgqcfdc5vkmy3eru3titipx7am5ysmbmq \
-H "x-payment: <valid_x402_payment_token>"Endpoint
Quality
The x402 challenge is live and well-formed, confirming the endpoint works. However, there is no documentation, no OpenAPI spec, no example responses, and no information about what the actual content behind the CID is. The testnet context and sparse crawl data limit confidence significantly.
Warnings
- —No documentation found — all crawled pages return errors
- —Base Sepolia is a testnet; this endpoint may not be suitable for production
- —Content type is application/octet-stream with no description of what the file actually contains
- —No OpenAPI or schema documentation available beyond the x402 challenge itself
Citations
- —The endpoint returns a 402 challenge requiring 0.01 USDC on Base Sepolia with x402 version 1https://grapevine.dev-mypinata.cloud/x402/cid/bafkreiavlus5qlo67x7lypvcvkgqcfdc5vkmy3eru3titipx7am5ysmbmq
- —Payment is directed to 0xbc03df2D9F44Cc552EbbFF39860f2CC4fC751d0E using USDC contract 0x036CbD53842c5426634e7929541eC2318f3dCF7ehttps://grapevine.dev-mypinata.cloud/x402/cid/bafkreiavlus5qlo67x7lypvcvkgqcfdc5vkmy3eru3titipx7am5ysmbmq
- —The response MIME type is application/octet-stream with a 60-second payment timeouthttps://grapevine.dev-mypinata.cloud/x402/cid/bafkreiavlus5qlo67x7lypvcvkgqcfdc5vkmy3eru3titipx7am5ysmbmq