Pay-per-access IPFS content gateway serving an image/gif via x402 on Base Sepolia.
What it does
This endpoint is an x402-enabled gateway that serves IPFS content identified by CID (Content Identifier). The specific resource at CID `bafkreibed3rrvo5cmzfwvytbmkqpgn5m7ays5cotf2agweycev5ibirl4m` returns an `image/gif` file upon successful payment. The gateway uses the x402 protocol to gate access: unauthenticated GET requests receive a 402 Payment Required challenge describing how to pay.
Payment is accepted via the "exact" scheme on the Base Sepolia testnet, requiring up to 10 units of USDC (contract `0x036CbD53842c5426634e7929541eC2318f3dCF7e`) sent to address `0x0215c0c5621e52B7D05aaEE7C6C6aD07C8688e54`. The payment timeout is 60 seconds. Callers must include a valid `x-payment` header to retrieve the content.
The gateway appears to be a test/demo deployment hosted at `testgateway.mattober.com`. The root URL returns "No CID provided" errors, and no documentation, OpenAPI spec, or additional pages are available. The URL structure suggests it can serve arbitrary IPFS CIDs under the `/x402/cid/` path, but only this specific CID has been verified as live. Because this runs on a testnet with test USDC, it is suitable for development and experimentation rather than production use.
Capabilities
Use cases
- —Retrieving a pay-gated GIF image from IPFS via x402 payment
- —Testing x402 payment flows against a live testnet endpoint
- —Prototyping agent-driven micropayment workflows for IPFS content
- —Demonstrating decentralized content monetization with USDC on Base Sepolia
Fit
Best for
- —Developers testing x402 protocol integrations
- —Experimenting with IPFS content monetization on testnet
- —Agents that need to fetch pay-gated media files
Not for
- —Production content delivery (this is a testnet deployment)
- —Serving non-IPFS or non-CID-based content
- —High-throughput or low-latency media streaming
Quick start
curl -X GET \
-H "x-payment: <valid-x402-payment-token>" \
https://testgateway.mattober.com/x402/cid/bafkreibed3rrvo5cmzfwvytbmkqpgn5m7ays5cotf2agweycev5ibirl4mEndpoint
Quality
The endpoint is live and returns a well-formed 402 challenge, but there is no documentation, no OpenAPI spec, no examples, and no description beyond what the challenge itself provides. The gateway is a testnet deployment with no discoverable docs. Most listing details are inferred from the challenge payload alone.
Warnings
- —Testnet deployment (Base Sepolia) — not suitable for production use
- —No documentation, OpenAPI spec, or landing page available
- —The x402 challenge description field is empty, providing no human-readable explanation of the content
- —Only one specific CID has been verified as functional; gateway behavior for other CIDs is unknown
- —Payment uses test USDC, not real funds
Citations
- —Endpoint returns HTTP 402 with x402 version 1 challenge on GEThttps://testgateway.mattober.com/x402/cid/bafkreibed3rrvo5cmzfwvytbmkqpgn5m7ays5cotf2agweycev5ibirl4m
- —Payment accepted on Base Sepolia network using USDC at asset address 0x036CbD53842c5426634e7929541eC2318f3dCF7ehttps://testgateway.mattober.com/x402/cid/bafkreibed3rrvo5cmzfwvytbmkqpgn5m7ays5cotf2agweycev5ibirl4m
- —Content MIME type is image/gifhttps://testgateway.mattober.com/x402/cid/bafkreibed3rrvo5cmzfwvytbmkqpgn5m7ays5cotf2agweycev5ibirl4m
- —Root URL returns 'No CID provided' errorhttps://testgateway.mattober.com