{"uid":"cap_tFRv7M4ARHSJLLTvhgHsw","slug":"pagesnap-pdf-generation-api-6eed9d56","name":"Pagesnap PDF Generation API","description":"Turn any public URL into clean Markdown, a screenshot, a PDF or metadata with one API. Free tier, no signup and a remote MCP server for AI agents.","url":"https://pagesnap.142-93-197-141.sslip.io/x402/v1/pdf","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["url"],"properties":{"url":{"type":"string","description":"Public HTTP(S) URL"},"wait":{"type":"integer","maximum":10000,"minimum":0},"format":{"enum":["A4","A3","A5","Letter","Legal","Tabloid"],"type":"string"},"margin":{"type":"string"},"landscape":{"type":"boolean"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["contentType","encoding"],"properties":{"encoding":{"type":"string","const":"binary"},"contentType":{"type":"string"}}}}}}},"responseSchema":{"type":"json","example":{"encoding":"binary","contentType":"application/pdf"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_e82kYIbJG5nhU9vC1_lFL","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts any public web URL into a downloadable PDF document with configurable page format, orientation, and margins","exampleAgentPrompt":"Can you convert https://en.wikipedia.org/wiki/Eiffel_Tower into a PDF using A4 format in portrait orientation?","exampleUseCases":[{"title":"Archive a news article as PDF","prompt":"Save this news article as a PDF for me — the URL is https://www.bbc.com/news/world — use A4 format and give me a clean print-ready version."},{"title":"Export a report page for sharing","prompt":"I need to send this web report to my team as a PDF — can you convert https://example.com/quarterly-report into a Letter-size PDF in landscape mode?"},{"title":"Capture a recipe page as a document","prompt":"Turn this recipe page at https://www.seriouseats.com/recipes/2023/pasta into a PDF so I can print it out — A4 size with normal margins should work."}],"resultDescription":"Returns a binary PDF file (application/pdf) representing the fully rendered webpage at the given URL, formatted according to the specified page size (A4, A3, A5, Letter, Legal, Tabloid), orientation, and margin settings.","failureModes":["URL is not publicly accessible or requires authentication — returns error","Invalid or malformed URL in query parameter — returns validation error","Timeout if page takes longer than the specified wait duration to load","Unsupported page format value causes schema validation failure","Network unreachable or DNS failure for the target URL"],"whenToPreferThis":"Choose this endpoint when you need a faithful, print-ready PDF rendering of a public webpage, especially when you need control over paper format (A4/Letter/Legal/etc.), landscape orientation, or custom margins. Prefer this over screenshot endpoints when a selectable-text, printable document format is required rather than a raster image.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T18:32:29.334Z","isFirstParty":false}