{"uid":"cap_0ijfe-UFnwhV0xpR3EuFy","slug":"api-the402-ai-00b4ddd4","name":"the402.ai Image OCR","description":"Purchase: Image OCR","url":"https://api.the402.ai/v1/services/svc_e99341e58b9d49b7/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.011","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.011/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.011","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.011","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XImLUTFp0Z6IyiR5XdFKr","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.011","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Submits an image OCR job via the402.ai, extracting text from an image identified by a service ID","exampleAgentPrompt":"Can you run OCR on that image using the402.ai and extract all the text from it? The service ID is svc_e99341e58b9d49b7.","exampleUseCases":null,"resultDescription":"Returns a job_id to track the OCR task, an initial status string indicating processing state, and a thread_id for correlating the request. The actual extracted text is likely retrieved by polling the job status endpoint.","failureModes":["Missing or invalid 'id' field returns a validation error","Payment failure (insufficient USDC balance) prevents job creation","Invalid service ID returns a not-found or unauthorized error","Image is unreadable or unsupported format leads to a failed job status","Job creation succeeds but OCR processing fails asynchronously — check job status endpoint"],"whenToPreferThis":"Choose this endpoint when you need to extract text from images and are operating in a pay-per-use, x402-payment context. Suitable for agents that need lightweight, on-demand OCR without managing a dedicated OCR service subscription. Best when already integrated with the402.ai platform for other services.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T12:53:16.301Z","isFirstParty":false}