{"uid":"cap_WHmYaChjCH30WgBOB5W2A","slug":"arabic-pipeline-document-text-extraction-02e78724","name":"Arabic Pipeline – Document Text Extraction","description":"Nine micro-capabilities for Arabic-language work, sold per call over x402 in USDC on Base. No API key, no account, no subscription for the buyer: the first request returns a 402 payment challenge, the client pays it and retries. Text utilities are pure computation and cost nothing to serve.","url":"https://arabic-pipeline.arabic-pipeline.workers.dev/doc/extract?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mime_type":{"type":"string"},"document_base64":{"type":"string","description":"Base64-encoded document image or PDF."}}},"responseSchema":{"type":"json","example":{"cost_usd":0.03,"document":{"date":"2026-10-22","items":[{"name":"منتج","price":12.5,"quantity":1}],"notes":null,"total":12.5,"currency":"USD","merchant":"اسم المتجر","raw_text":null,"confidence":0.9,"tax_number":null,"document_type":"receipt"},"endpoint":"POST /doc/extract"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.03","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.03/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.03","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_JAN0ZLKy916zgLMWNy5Y0","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.03","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Extracts text content from Arabic-language documents (images or PDFs) by accepting a base64-encoded file and returning the extracted Arabic text.","exampleAgentPrompt":"Extract all the Arabic text from this scanned PDF document — here it is as a base64 string, the MIME type is application/pdf.","exampleUseCases":[{"title":"Digitizing Arabic archival scans","prompt":"I have a scanned image of an old Arabic newspaper page encoded in base64 (image/jpeg) — can you extract all the text from it so I can search and index it?"},{"title":"Processing Arabic PDF contracts","prompt":"Pull out all the Arabic text from this base64-encoded PDF contract (application/pdf) so I can run further analysis on it."},{"title":"OCR from Arabic photo capture","prompt":"I took a photo of a handwritten Arabic form and have it as a base64 PNG (image/png) — please extract the text so I can process the fields."}],"resultDescription":"Returns a JSON object containing the extracted Arabic text content parsed from the submitted document. The exact fields in the response object are not strictly defined but typically include the recognized text from the input image or PDF.","failureModes":["Invalid or malformed base64 string causes extraction failure","Unsupported MIME type results in an error response","Low-quality or very blurry images may yield incomplete or garbled text","Payment challenge (HTTP 402) returned on first call before USDC payment is completed","Very large documents may time out or exceed processing limits","Non-Arabic or mixed-language documents may have reduced accuracy"],"whenToPreferThis":"Choose this endpoint when you need to extract Arabic text from scanned images or PDF files and want a pay-per-call model with no API key or subscription setup. It is ideal for infrequent or ad-hoc Arabic OCR tasks where a lightweight x402 micropayment flow is acceptable. Prefer this over general-purpose OCR services when your content is specifically Arabic and you want a purpose-built Arabic NLP pipeline.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T00:31:02.325Z","isFirstParty":false,"canonicalSlug":"arabic-pipeline-document-text-extraction-02e78724"}