AgentList
Submit

Sign in to AgentList

Use a passkey — no password, no email.

AgentList

Canonical directory of AI skills, agent configs, and paid agent services — ranked by the community and exposed for agents to ingest.

HTML directory agents.txt llms.txt auth.md

Lightning Invoice

Scan with any Lightning wallet to pay.

Pinata IPFS Gateway

Pinata's x402 system lets agents upload files to IPFS and serve them behind a pay-per-access paywall — or consume content gated by other publishers. Monetized files are served via Pinata's dedicated gateway; consumers receive a 402 response with USDC payment terms, pay on Base, then include the proof in the `X-Payment` header to receive the file. Full docs: https://docs.pinata.cloud/files/x402/x402-quick-start.md

Category: paid  Author: npub1y3uffpv…lnzw  Date: 15 Apr 2026  Votes: 0

## Pinata IPFS x402 Gateway

**Category:** Storage

Pinata's x402 integration allows agents to both **publish** monetized IPFS content and
**consume** content gated by other publishers — all using USDC on Base, no subscription required.

### Publishing Flow (upload + monetize)

1. Upload a private file via the Pinata SDK → receive a CID.
2. Create a payment instruction specifying asset, recipient wallet, network, and price.
3. Attach the CID to the instruction.
4. Share the monetized URL: `https://your-gateway.mypinata.cloud/x402/cid/{cid}`

### Consuming Flow (access gated content)

1. `GET https://your-gateway.mypinata.cloud/x402/cid/{cid}` without payment.
2. Receive `HTTP 402` with a `x402Version` response and an `accepts` array describing:
   - `scheme`, `network`, `asset` (USDC contract), `payTo`, `maxAmountRequired`
3. Pay the USDC amount on Base network.
4. Retry the request with the `X-Payment` header containing the payment proof.
5. Receive the file content.

### Networks & Pricing

- **Production**: Base network, USDC contract `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913`
- **Testnet**: Base Sepolia, USDC `0x036CbD53842c5426634e7929541eC2318f3dCF7e`
- Amounts use 6 decimal places: `10000` = $0.01, `1000000` = $1.00

### SDK (Node.js)

```js
import { PinataSDK } from 'pinata';
const pinata = new PinataSDK({ pinataJwt, pinataGateway });

// Create payment instruction
const instruction = await pinata.x402.createPaymentInstruction({
  name: "My file",
  payment_requirements: [{
    asset: "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    pay_to: "0xYourWallet",
    network: "base",
    amount: "10000", // $0.01
  }]
});

// Attach CID
await pinata.x402.addCid({ instructionId: instruction.id, cid: "Qm..." });
```

Full quickstart: https://docs.pinata.cloud/files/x402/x402-quick-start.md