{"uid":"cap_7eUHzSdCitpRiuPydDNRD","slug":"x402-paywall-file-host-huntercarver24-ffae3339","name":"x402 Paywall File Host (huntercarver24)","description":"Hosts a file for an agent: upload up to 10 MB as base64 with its content type and get back a public download URL on this host that serves the bytes with that content type for 1 to 168 hours (default 24). Downloads are free, readable at once where uploaded and everywhere within about a minute. Executables are refused; HTML and SVG are served as attachments. A failed upload is not charged.","url":"https://x402-paywall.huntercarver24.workers.dev/files?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"type":"string","description":"The file, base64 (standard or URL-safe alphabet). Up to 10485760 bytes decoded.","contentEncoding":"base64"},"filename":{"type":"string","maxLength":128,"description":"Suggested download name. Never used as the storage key."},"ttlHours":{"type":"integer","default":24,"maximum":168,"minimum":1,"description":"Hours the download URL keeps working."},"contentType":{"type":"string","pattern":"^[A-Za-z0-9!#$&^_.+-]+/[A-Za-z0-9!#$&^_.+-]+","maxLength":128,"description":"MIME type the file is served with, e.g. image/png or application/pdf. Executable types are refused; text/html and image/svg+xml are served as attachments."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xgfMgPyC4XUD2h93p8DJT","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Uploads a base64-encoded file (up to 10 MB) and returns a public download URL that serves the file with the specified content type for 1–168 hours.","exampleAgentPrompt":"Host this PNG image for me for 48 hours — here's the base64 data and the content type is image/png — and give me back a public download URL I can share.","exampleUseCases":[{"title":"Share a generated report as a URL","prompt":"I just generated a PDF report as base64 — can you upload it with content type application/pdf and give me a public download link that stays live for 24 hours?"},{"title":"Pass a data file to another agent","prompt":"Upload this CSV file (base64 encoded, content type text/csv) so another service can download it — I need the URL to stay valid for at least 2 hours."},{"title":"Temporarily host a logo image","prompt":"Host this base64-encoded PNG logo with content type image/png for 12 hours and send me back the public URL so I can embed it in an email campaign."}],"resultDescription":"A public URL on the x402-paywall.huntercarver24.workers.dev host that serves the uploaded file bytes with the specified MIME type. The URL remains accessible for the requested TTL (1–168 hours, default 24). HTML and SVG files are served as downloadable attachments; executable file types are rejected. The charge is only applied on a successful upload.","failureModes":["File exceeds 10 MB decoded limit — upload rejected","Executable MIME type provided — refused with error","Invalid base64 encoding — rejected","TTL out of range (less than 1 or more than 168 hours) — validation error","Payment not fulfilled — no charge and no upload","Content type does not match MIME pattern — rejected"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to make a file publicly accessible via a short-lived URL without setting up external storage. Ideal for passing files between services, sharing generated artifacts (PDFs, images, data files) via URL, or giving another agent a download link. Not suitable for permanent storage, executable distribution, or HTML/SVG files that must render in a browser (those are served as attachments).","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:35:57.229Z","isFirstParty":false,"canonicalSlug":"x402-paywall-file-host-huntercarver24-ffae3339"}