{"uid":"cap_1_h14LOEdgN-MHZlF_Bi0","slug":"agent402-tools-pdf-merge-efe60035","name":"agent402.tools PDF Merge","description":"Combine several PDFs into one, in order. Body: {\"urls\":[\"https://…/a.pdf\",\"https://…/b.pdf\"]}. Returns the merged PDF as base64 plus page count and size.","url":"https://agent402.tools/api/pdf-merge","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"urls":{"type":"array","description":"2–20 public PDF URLs, merged in order"}}},"responseSchema":{"type":"json","example":{"bytes":51234,"pages":8,"pdfBase64":"JVBERi0xLjcK…"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","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.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_o1sJQPJYB9QSXgaz2EwIK","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Merges 2–20 public PDF URLs into a single PDF, returning the result as base64 with page count and file size","exampleAgentPrompt":"Can you merge these three PDFs into one document, in this order: https://example.com/intro.pdf, https://example.com/body.pdf, and https://example.com/appendix.pdf?","exampleUseCases":null,"resultDescription":"Returns a JSON object containing the merged PDF encoded as a base64 string, the total page count of the combined document, and the file size in bytes.","failureModes":["One or more URLs is not publicly accessible or returns a non-200 status","One or more URLs does not point to a valid PDF file","Fewer than 2 URLs provided","More than 20 URLs provided","A PDF is password-protected or encrypted","Network timeout fetching a remote PDF","Payment not received or x402 protocol failure"],"whenToPreferThis":"Use this endpoint when you need to programmatically combine multiple PDF documents from public URLs into a single ordered PDF, especially in automated agent workflows where the result needs to be returned as base64 for further processing or storage. Prefer this over local PDF tools when operating in a serverless or cloud environment without filesystem access.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T12:57:38.274Z","isFirstParty":false}