Pay-per-access IPFS content retrieval via x402 on Base Sepolia (USDC)
What it does
This x402-enabled endpoint serves content stored on IPFS, identified by a specific CID (Content Identifier: bafybeifve5t7bs7dd2fim2z5xm5fjpeitc3kh45rja2xn2srvnxqspdcue). It is hosted on a Pinata gateway (dev-mypinata.cloud) and gates access behind an x402 payment challenge. Callers must provide a valid `x-payment` header to retrieve the content.
The endpoint accepts GET requests and returns content with MIME type `application/octet-stream`, meaning the gated resource is served as raw binary data. Payment is accepted via the "exact" scheme on the Base Sepolia testnet using USDC (contract 0x036CbD53842c5426634e7929541eC2318f3dCF7e) with a maximum required amount of 1000 units (likely 0.001 USDC given 6-decimal precision). The payment timeout is 60 seconds.
Documentation is essentially absent — the gateway root returns "No CID provided" and all other paths return "Invalid URL." The provider description field in the x402 challenge is empty. This appears to be a single-resource paywall rather than a general-purpose API, hosted under the domain "thebestagency.dev-mypinata.cloud." Because it runs on Base Sepolia (a testnet), this is likely experimental or for demonstration purposes rather than production use.
Capabilities
Use cases
- —Purchasing access to a specific IPFS-hosted file via micropayment
- —Demonstrating x402 payment flows on Base Sepolia testnet
- —Gating binary content behind a crypto paywall
Fit
Best for
- —Agents that need to retrieve a specific gated IPFS resource
- —Developers experimenting with x402 payment protocol on testnet
- —Accessing pay-per-download binary content on IPFS
Not for
- —General-purpose IPFS pinning or hosting
- —Production workloads (this uses Base Sepolia testnet)
- —Browsing or searching IPFS content
Quick start
curl -X GET \
-H "x-payment: <valid-x402-payment-token>" \
https://thebestagency.dev-mypinata.cloud/x402/cid/bafybeifve5t7bs7dd2fim2z5xm5fjpeitc3kh45rja2xn2srvnxqspdcue \
--output downloaded_file.binEndpoint
Quality
The endpoint is live and returns a valid x402 challenge, but there is zero documentation, no description, no OpenAPI schema, and the resource is a single opaque binary blob on a testnet. Almost all listing details had to be inferred from the challenge payload alone.
Warnings
- —No documentation available — all crawled pages return errors
- —Provider description in x402 challenge is empty
- —Uses Base Sepolia testnet, not a production network
- —Single-resource endpoint; not a general-purpose API
- —Content type is application/octet-stream with no indication of what the file contains
Citations
- —Endpoint returns a valid x402 challenge with status 402 on GEThttps://thebestagency.dev-mypinata.cloud/x402/cid/bafybeifve5t7bs7dd2fim2z5xm5fjpeitc3kh45rja2xn2srvnxqspdcue
- —Payment accepted on base-sepolia network using USDC at contract 0x036CbD53842c5426634e7929541eC2318f3dCF7ehttps://thebestagency.dev-mypinata.cloud/x402/cid/bafybeifve5t7bs7dd2fim2z5xm5fjpeitc3kh45rja2xn2srvnxqspdcue
- —maxAmountRequired is 1000 units with 60-second timeouthttps://thebestagency.dev-mypinata.cloud/x402/cid/bafybeifve5t7bs7dd2fim2z5xm5fjpeitc3kh45rja2xn2srvnxqspdcue
- —Root domain returns 'No CID provided' errorhttps://thebestagency.dev-mypinata.cloud