Pay 0.1 USDC (Base Sepolia) to retrieve IPFS content by CID via x402 paywall.
What it does
This x402-enabled endpoint on grapevine.dev-mypinata.cloud serves IPFS content gated behind a micropayment. When a client requests a specific CID (Content Identifier), the server responds with an x402 payment challenge requiring 0.1 USDC on the Base Sepolia testnet. Once a valid `x-payment` header is provided, the server returns the content associated with the requested CID as `text/plain`.
The endpoint follows the x402 protocol (version 1) using the "exact" payment scheme. Payments are directed to the address `0x99935f281d3ED1E804bF1413b76E0B03e1fed4F9` using the USDC token contract at `0x036CbD53842c5426634e7929541eC2318f3dCF7e` on Base Sepolia. The maximum timeout for payment verification is 60 seconds. The underlying infrastructure appears to be built on Pinata's IPFS gateway (as indicated by the `dev-mypinata.cloud` domain).
Note that this endpoint operates on Base Sepolia, a testnet, so it uses testnet USDC rather than real funds. No documentation, OpenAPI spec, or additional API routes were found on the server — all non-CID paths return errors. The content behind this specific CID is opaque; only the MIME type (`text/plain`) is known from the challenge metadata.
Capabilities
Use cases
- —Retrieving paywalled IPFS content by CID with automated micropayments
- —Testing x402 payment flows on Base Sepolia testnet
- —Agent-driven purchase of content-addressed data behind a paywall
Fit
Best for
- —Developers experimenting with x402 protocol on testnet
- —Agents that need to programmatically purchase IPFS-hosted content
- —Testing micropayment-gated content delivery pipelines
Not for
- —Production use requiring mainnet payments (this is testnet only)
- —Browsing or discovering available content (no listing/search endpoint found)
- —Retrieving non-text content (MIME type is text/plain for this CID)
Quick start
curl -H "x-payment: <VALID_X402_PAYMENT_HEADER>" \
https://grapevine.dev-mypinata.cloud/x402/cid/bafkreif6hzdbioskr2qofong6ap7d6wqz7vlsin2bw2l3niofdyjclfk6iEndpoint
Quality
Only the x402 challenge metadata is available. There is no documentation, no OpenAPI spec, no examples of successful responses, and no information about what content the CID actually contains. The server returns errors for all non-CID paths. This is effectively a stub listing built from the payment challenge alone.
Warnings
- —Operates on Base Sepolia testnet — not production/mainnet
- —No documentation or OpenAPI spec found on the server
- —All non-CID paths return errors; server provides no discoverability
- —Content behind the CID is unknown; only MIME type text/plain is specified
- —No robots.txt or agents.txt present
Citations
- —x402 challenge requires 0.1 USDC (maxAmountRequired: 100000) on base-sepolia with exact schemehttps://grapevine.dev-mypinata.cloud/x402/cid/bafkreif6hzdbioskr2qofong6ap7d6wqz7vlsin2bw2l3niofdyjclfk6i
- —Payment is directed to address 0x99935f281d3ED1E804bF1413b76E0B03e1fed4F9 using USDC asset at 0x036CbD53842c5426634e7929541eC2318f3dCF7ehttps://grapevine.dev-mypinata.cloud/x402/cid/bafkreif6hzdbioskr2qofong6ap7d6wqz7vlsin2bw2l3niofdyjclfk6i
- —MIME type of the gated content is text/plainhttps://grapevine.dev-mypinata.cloud/x402/cid/bafkreif6hzdbioskr2qofong6ap7d6wqz7vlsin2bw2l3niofdyjclfk6i
- —Root and other paths return error 'No CID provided' or 'Invalid URL'https://grapevine.dev-mypinata.cloud