Skip to content
clusters: prooflayer · edgemarket · edgefinance · synthforge · mediakit · wordmint · webprobe · locale · comppoint · rollforge · bestiary · statline · matchpoint · retail · agentops · browserworkflow · modelrouter · compose
$ man merge-pdf

/merge-pdf

agentutility / mediakit / merge-pdf
PRICE / CALL
$0.01
USDC · base mainnet · scheme: exact
METHOD
POST
CLUSTER
mediakit
CATEGORY
uncategorized
STATUS
live
NAME
merge-pdf combines two to fifty separate pdf files into one, taking each source as a url and stitching them together in the order supplied, bookmar…
synonym alias of pdf-merge — reuses the canonical handler.
SYNOPSIS
POST https://x402.agentutility.ai/merge-pdf
     Content-Type: application/json
     X-PAYMENT:    <signed-transferWithAuthorization>

     { ... }
↳ first call → 402 Payment Required. Sign USDCtransferWithAuthorization, retry with theX-PAYMENT header.
DESCRIPTION

Combines two to fifty separate PDF files into one, taking each source as a URL and stitching them together in the order supplied, bookmarks intact. Send pdf_urls (an array of links) and an optional filename for the output; get back pdf_url pointing to the merged file and merged_count with the number of inputs combined. Same backend as pdf-merge. Use it as a PDF merger to concatenate PDF files, join multiple PDFs into one document, or assemble multi-file submissions into a single deliverable.

INPUTrequest schema
propertytypedescriptionreq?
pdf_urlsarrayPDF URLs to merge in order. 2-50 URLs, each http/https.required
filenamestringOutput filename, must end in .pdf. Optional; defaults to "merged.pdf".optional
OUTPUTresponse shape
fieldtypedescription
pdf_urlstringHTTPS URL to download the single merged PDF combining all input files with bookmarks preserved.
merged_countstringNumber of input PDFs successfully concatenated into the output file.
EXAMPLEStwo ways to call
EXAMPLE 1 · curl
curl -X POST https://x402.agentutility.ai/merge-pdf \
  -H 'Content-Type: application/json' \
  -d '{ }'
first response = 402 Payment Required with payment requirements; sign + retry with X-PAYMENT.
EXAMPLE 2 · mcp
# Install the MCP package for this endpoint's cluster
npx -y @agentutility/mcp-<cluster>

# Required: EVM private key with USDC on Base
export X402_PRIVATE_KEY=0x...

# Then call the merge-pdf tool from your MCP-aware agent.
MCP server handles payment automatically — your coding agent just calls the tool by name.
METADATA
tags
mediakitpdfpdf-toolsmerge-pdfcombine-pdfsdocument-processingcloudconvert
methods
POST
cluster
mediakit
price
$0.01 USDC per call
ADJACENTother endpoints in mediakit
endpointdescriptionprice
audio-transcribeTranscribes audio to text with whisper-large-v3.$0.01
csv-to-icsConverts a CSV of events into an RFC 5545 compliant ICS calendar file (VCALENDAR/VEVENT) for Google Calendar, Outlook, and Apple Calendar…$0.01
image-convertConvert an image from one format to another.$0.01
image-format-convertImage converter.$0.01
movie-databaseFinds movies or TV shows by title, with optional year and region, and returns release year, poster, overview, and language.$0.01
movie-database-apiSearches movies and TV shows by title and optional year, returning release date, rating, popularity, overview, poster URLs, TMDB links, a…$0.01
movie-infoLooks up movie and TV metadata: title, release year, rating, overview, poster, and optional streaming providers.$0.01
pdf-mergeJoins multiple PDF files, hosted at URLs, into a single ordered document, so you don't have to merge them by hand in a desktop PDF editor.$0.01
SEE ALSO
agentutility · mediakit · x402 · mcp · llms.txt · registry.json · bazaar.x402.org