Pay-per-access IPFS content gateway via x402 on Base Sepolia (0.01 USDC per request)
What it does
This endpoint provides paid access to IPFS content identified by CID (Content Identifier) through the x402 payment protocol. It is hosted on a Pinata-based gateway (grapevine.dev-mypinata.cloud) and gates content retrieval behind a micropayment of 0.01 USDC on the Base Sepolia testnet. The response MIME type is application/json, indicating the gated content is structured JSON data.
The x402 challenge is live and well-formed. A GET request to the resource URL returns a 402 Payment Required response with a standard x402 version 1 challenge. To access the content, callers must supply a valid `x-payment` header containing a payment proof for 0.01 USDC (10000 in raw units) sent to the payTo address on Base Sepolia using the USDC contract at 0x036CbD53842c5426634e7929541eC2318f3dCF7e. The payment scheme is "exact" with a maximum timeout of 60 seconds.
Documentation is essentially absent — the host returns error messages for all non-CID paths, and no OpenAPI spec, agents.txt, or README is available. The specific CID referenced is bafkreifetgpasdyc6dypgfguo56jyvgc54m7pkfz6lvv2initoammtz46u, but the nature of the underlying JSON content is unknown from the available material.
Capabilities
Use cases
- —Paying to retrieve gated IPFS-hosted JSON content via micropayment
- —Demonstrating x402 payment flows on Base Sepolia testnet
- —Integrating pay-per-access decentralized content into agent workflows
Fit
Best for
- —Developers experimenting with x402 payment-gated IPFS content
- —Agents that need to retrieve specific paid JSON resources from IPFS
- —Testing micropayment integrations on Base Sepolia
Not for
- —Production use cases requiring mainnet payments (this is on Base Sepolia testnet)
- —Browsing or discovering available content (only a single CID is exposed)
- —Retrieving non-JSON or large binary content
Quick start
curl -X GET \
-H "x-payment: <valid-x402-payment-proof>" \
https://grapevine.dev-mypinata.cloud/x402/cid/bafkreifetgpasdyc6dypgfguo56jyvgc54m7pkfz6lvv2initoammtz46uEndpoint
Quality
The x402 challenge is live and well-structured, confirming the endpoint works. However, there is no documentation, no OpenAPI schema, no description of the underlying content, and all crawled pages return errors. The listing description and title are minimal stubs. This is effectively a testnet demo with a single gated CID and no supporting material.
Warnings
- —No documentation available — all crawled paths return errors
- —Base Sepolia is a testnet; this endpoint is not suitable for production value transfer
- —The nature of the gated JSON content behind the CID is unknown
- —No OpenAPI or schema documentation provided beyond the x402 challenge itself
Citations
- —The endpoint returns a 402 challenge with x402 version 1, scheme 'exact', network 'base-sepolia', maxAmountRequired 10000 (0.01 USDC)https://grapevine.dev-mypinata.cloud/x402/cid/bafkreifetgpasdyc6dypgfguo56jyvgc54m7pkfz6lvv2initoammtz46u
- —The USDC asset contract is 0x036CbD53842c5426634e7929541eC2318f3dCF7e and payTo address is 0x6e62FF0591d4D8a0E5A1C274AbCFd2D716F1035Ehttps://grapevine.dev-mypinata.cloud/x402/cid/bafkreifetgpasdyc6dypgfguo56jyvgc54m7pkfz6lvv2initoammtz46u
- —Response MIME type is application/jsonhttps://grapevine.dev-mypinata.cloud/x402/cid/bafkreifetgpasdyc6dypgfguo56jyvgc54m7pkfz6lvv2initoammtz46u