{"uid":"cap_STuXflOBS6cL4s_qZF5nN","slug":"api-the402-ai-5dfa4115","name":"PDF Text Extractor (the402.ai)","description":"Purchase: PDF Text Extractor","url":"https://api.the402.ai/v1/services/svc_1a44d9f6e8144aa3/purchase","method":"POST","headers":{},"bodySchema":{"type":"object","required":["id"],"properties":{"id":{"type":"string"}}},"responseSchema":{"type":"object","properties":{"job_id":{"type":"string"},"status":{"type":"string"},"thread_id":{"type":"string"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.021","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"unknown","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.021/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.021","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.021","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_tS13oCng7wuPf1kHf4Tcs","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.021","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts and returns text content from PDF documents, initiated via a paid x402 micropayment purchase call","exampleAgentPrompt":"Extract all the text from this PDF file for me — submit it to the402.ai PDF Text Extractor service and give me the job ID so I can check the results.","exampleUseCases":null,"resultDescription":"Returns a job_id string identifying the extraction job, a status string indicating current job state, and a thread_id string for tracking the processing thread. The agent must poll a separate job-status endpoint using the job_id to retrieve the extracted text once processing completes.","failureModes":["Payment failure or insufficient USDC balance — returns payment error","Invalid or malformed PDF input — returns error status","Service unavailable — job may not be created","Missing required parameters — returns 4xx validation error","PDF too large or unsupported format — job created but may fail during processing"],"whenToPreferThis":"Use this endpoint when you need to programmatically extract raw text from PDF documents and are operating in an x402 micropayment-enabled environment. Prefer this over general-purpose OCR or document APIs when you need a pay-per-use model at $0.021/call with no subscription required. Best for agents that need to process PDFs on demand without pre-negotiated API keys.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:41:53.053Z","isFirstParty":false}