Pay-per-access download of "Lean In" by Sheryl Sandberg via x402 on Base Sepolia
What it does
This x402 endpoint gates access to a Pinata-hosted IPFS file (CID: bafybeihks62g6zgvmhdfw36a6jejwijgjutwhnonfggtwieu46ftp5ku24) behind a micropayment wall. The content is described as "Lean In - Sheryl Sandberg" and is served as application/octet-stream. To retrieve the file, a caller must supply a valid x-payment header satisfying the x402 challenge, paying 20,000 USDC on the Base Sepolia testnet.
The endpoint uses the x402 protocol (version 1) with the "exact" payment scheme. The payment is directed to address 0x4e9fd5a22E78750a6299AC19885136EE2eFA7893 using the USDC token contract at 0x036CbD53842c5426634e7929541eC2318f3dCF7e on Base Sepolia. The maximum timeout for payment verification is 60 seconds. Once payment is confirmed, the endpoint returns the raw file content.
No additional documentation, OpenAPI schema, or landing page is available from the provider. The crawled gateway pages all return error messages indicating missing or invalid CIDs/URLs. Because this operates on Base Sepolia (a testnet), the USDC tokens have no real monetary value, suggesting this is a demonstration or testing deployment rather than a production service.
Capabilities
Use cases
- —Purchasing gated digital content via x402 micropayment
- —Demonstrating x402 protocol payment flows on a testnet
- —Agent-driven pay-per-access file retrieval from IPFS
Fit
Best for
- —Developers testing x402 payment integrations on Base Sepolia
- —Agents that need to programmatically purchase and download gated files
- —Exploring pay-per-download content distribution over IPFS
Not for
- —Production purchases requiring real monetary transactions (this is on a testnet)
- —Streaming or partial-content delivery — returns a single octet-stream blob
- —Users looking for free or open IPFS content
Quick start
curl -X GET \
-H "x-payment: <valid-x402-payment-token>" \
https://brown-voluntary-aardwolf-402.mypinata.cloud/x402/cid/bafybeihks62g6zgvmhdfw36a6jejwijgjutwhnonfggtwieu46ftp5ku24 \
--output lean-in.binEndpoint
Quality
The x402 challenge is live and well-formed, confirming the endpoint works. However, there is no documentation, no OpenAPI schema, no examples, and no additional provider information beyond the challenge itself. The testnet deployment and single-file nature limit practical utility.
Warnings
- —Operates on Base Sepolia testnet — USDC tokens have no real value
- —No documentation or API schema available from the provider
- —Content described as a copyrighted book; legality/licensing of distribution is unclear
- —Provider gateway returns errors for all non-CID paths; no support or docs site found
- —20,000 USDC denomination is unusually high even for testnet; verify token decimals before transacting
Citations
- —The endpoint returns a 402 challenge with x402Version 1, exact scheme, on base-sepolia network requiring 20000 USDChttps://brown-voluntary-aardwolf-402.mypinata.cloud/x402/cid/bafybeihks62g6zgvmhdfw36a6jejwijgjutwhnonfggtwieu46ftp5ku24
- —The USDC asset contract is 0x036CbD53842c5426634e7929541eC2318f3dCF7e and payment is directed to 0x4e9fd5a22E78750a6299AC19885136EE2eFA7893https://brown-voluntary-aardwolf-402.mypinata.cloud/x402/cid/bafybeihks62g6zgvmhdfw36a6jejwijgjutwhnonfggtwieu46ftp5ku24
- —The content MIME type is application/octet-stream and the file is hosted via Pinata IPFS gatewayhttps://brown-voluntary-aardwolf-402.mypinata.cloud/x402/cid/bafybeihks62g6zgvmhdfw36a6jejwijgjutwhnonfggtwieu46ftp5ku24