{"uid":"cap_e1If3h8Gynogt0tNT2_jb","slug":"x402-farm-pdf-endpoint-976ba96b","name":"x402-farm PDF Endpoint","description":"Pay-per-call APIs for AI agents — x402 protocol, USDC on Base, no account needed.","url":"https://x402-farm.vercel.app/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","bodyType","body"],"properties":{"body":{"properties":{}},"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false}}},"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_9ZLWurPyrUcwlnJ3UdK-J","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":"Fetch a PDF document via a pay-per-call API using the x402 protocol with USDC on Base, no account required.","exampleAgentPrompt":"Can you fetch that PDF for me using the x402-farm pay-per-call API — it's just $0.01 USDC on Base and I don't need to create an account?","exampleUseCases":[{"title":"On-demand PDF retrieval for agents","prompt":"I need to grab a PDF document right now without setting up an account — can you use the x402-farm API to fetch it for a small USDC micropayment?"},{"title":"Automated PDF access in agent workflow","prompt":"My AI agent needs to pull a PDF as part of an automated pipeline — use x402-farm's pay-per-call endpoint and settle the $0.01 USDC fee on Base."},{"title":"Crypto-native document delivery","prompt":"Retrieve the PDF using the x402 protocol on Base — just pay the one-cent USDC fee per call and hand me the document content, no sign-up needed."}],"resultDescription":"Returns the raw PDF file content (binary or base64) for the requested document, delivered after successful x402 USDC micropayment settlement on Base.","failureModes":["Payment not included or insufficient USDC balance — returns 402 Payment Required","Invalid or malformed x402 payment header — returns 400 Bad Request","PDF resource not found or unavailable — returns 404 Not Found","Network or Vercel hosting issue — returns 500 Internal Server Error","Payment settled but document delivery failed — partial or empty response"],"whenToPreferThis":"Choose this endpoint when an AI agent needs to retrieve a PDF document without API key registration, using a crypto-native micropayment model (x402 protocol, USDC on Base). Ideal for agent pipelines that require pay-per-use access patterns, low-cost per-call pricing ($0.01 USDC), and no account overhead. Prefer over traditional REST PDF APIs when operating in a Web3 or agentic context where wallet-based payments are already available.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:40:50.524Z","isFirstParty":false}