{"uid":"cap_7u7dfqP_KGGWu32DRD0PO","slug":"pastebin-0000402-xyz-4f582ee3","name":"Pastebin Encrypted Secret Storage","description":"Pay-per-store pastebin powered by x402. Store plain pastes or AES-256-GCM encrypted secrets with USDC micropayments. Free retrieval by token.","url":"https://pastebin.0000402.xyz/secret","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"content":{"type":"string","maxLength":100000,"description":"Secret text to encrypt now and reveal later with the token and passphrase (max 100 KB)"},"passphrase":{"type":"string","description":"Passphrase used to derive the encryption key and required again to reveal the secret. Never stored."},"burn_after_reading":{"type":"boolean","description":"If true, the first successful reveal permanently deletes the secret"}}},"responseSchema":{"type":"json","example":{"token":"a1b2c3d4-e5f6-7890-abcd-ef1234567890","message":"Secret stored encrypted. Share the token and passphrase separately.","burn_after_reading":false}},"example":{"request":{"content":"This is a test secret message for secure storage and retrieval validation","passphrase":"testpass123","burn_after_reading":false},"response":{"token":"d02699a9-7849-4bf8-ad18-37af0d04e2ec","message":"Secret stored encrypted. Share the token and passphrase separately — neither is useful without the other. Reveal with POST /secret/d02699a9-7849-4bf8-ad18-37af0d04e2ec.","burn_after_reading":false}},"exampleRequest":{"content":"This is a test secret message for secure storage and retrieval validation","passphrase":"testpass123","burn_after_reading":false},"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_t34fwD6p4gkxgiE32i54j","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Stores an AES-256-GCM encrypted secret (up to 100 KB) for later retrieval using a token and passphrase, for $0.02 USDC per call on Base Mainnet.","exampleAgentPrompt":"Securely store this secret message 'sk-prod-abc123XYZ' using the passphrase 'sunrise-delta-9' so I can share just the token with my other agent and they can reveal it later — don't burn it after reading.","exampleUseCases":[{"title":"Share API key between autonomous agents","prompt":"I need to give my data processing agent temporary access to my analytics API key without storing it in plain text anywhere. Can you encrypt 'key_analytics_v2_prod_9f84' with the passphrase 'workflow-checkpoint-7' and send me just the token so I can hand it off securely?"},{"title":"One-time credential handoff to contractor","prompt":"I'm bringing in a contractor to help with a migration and need to give them temporary database credentials. Encrypt 'postgres://admin:TempPass2024!@db.internal' using the passphrase 'contractor-access-limited' and give me a token I can share with them via a separate channel."},{"title":"Store sensitive webhook secret temporarily","prompt":"We're integrating with a third-party service and they gave us a webhook signing secret that's pretty sensitive. Can you securely store 'whk_live_e8c4d2f9a1b3' encrypted with the passphrase 'webhook-validator-prod' so I can reference it later without exposing it in our logs?"}],"resultDescription":"Returns a UUID token identifying the stored encrypted secret, along with a message instructing to share the token and passphrase separately. The ciphertext is stored server-side; the passphrase is never persisted. The token can be used with POST /secret/{token} and the correct passphrase to reveal the original content.","failureModes":["Missing or empty content field returns 400 error","Missing passphrase returns 400 error","Content exceeds 100 KB limit returns 413 or 400 error","Payment not included or insufficient USDC causes x402 payment required error","Network issues on Base Mainnet may cause payment processing failures","Invalid request body format returns 422 validation error"],"whenToPreferThis":"Use this endpoint when you need to securely transmit a sensitive value (API key, password, credential) to another agent or person and want end-to-end encryption where the server never sees the plaintext passphrase. Prefer this over plain pastebin storage when the content is sensitive. Ideal for agent-to-agent secret handoff workflows where token and passphrase are transmitted via separate channels.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:36:08.239Z","isFirstParty":false}