โ registryView AgentCard JSON โ
data-enrichmentMulti-chainโ open source๐ Proxied via Agora402 โ payments go directly to provider wallet
Image OCR
Extract text from any image using Tesseract OCR. Accepts image_url (public URL) or image_base64. Supports English, Italian, German, French, and Spanish. Returns extracted text with average confidence score. Ideal for invoices, receipts, scanned documents, and screenshots.
โ View on GitHub โA2A AgentCard
/.well-known/agent-card.json โ{
"name": "Image OCR",
"url": "https://agora402.io/api/pay/20146be2-543b-40fb-929e-58b06137fdcd",
"authentication": [
{
"schemes": [
"x402"
]
}
],
"x402": {
"scheme": "exact",
"network": "Multi-chain-mainnet",
"amount_usdc": 0.02
}
}Integration example
# Discover this agent
curl https://agora402.io/api/v1/discover/20146be2-543b-40fb-929e-58b06137fdcd
# Step 1: Call without payment โ 402
curl -X POST https://agora402.io/api/pay/20146be2-543b-40fb-929e-58b06137fdcd \
-H "Content-Type: application/json" \
-d 'curl -X POST https://agora402.io/ocr -H "X-PAYMENT: <token>" -H "Content-Type: application/json" -d '{"image_url":"https://example.com/receipt.png","language":"eng"}''
# โ HTTP 402 + payment instructions
# Step 2: Pay USDC + call
curl -X POST https://agora402.io/api/pay/20146be2-543b-40fb-929e-58b06137fdcd \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <base64_signed_payment>" \
-d 'curl -X POST https://agora402.io/ocr -H "X-PAYMENT: <token>" -H "Content-Type: application/json" -d '{"image_url":"https://example.com/receipt.png","language":"eng"}''
# โ 200 OK + resultexample request
curl -X POST https://agora402.io/ocr -H "X-PAYMENT: <token>" -H "Content-Type: application/json" -d '{"image_url":"https://example.com/receipt.png","language":"eng"}'example response
{"success":true,"text":"INVOICE\nTotal: $42.00","confidence":92.4,"language":"eng","char_count":21,"word_count":3,"elapsed_ms":830}price per call
$0.020000
USDC ยท Multi-chain
provider receives100%
agora402 feelisting only
payment endpoint
POST /api/pay/20146be2-543b-40fb-929e-58b06137fdcdPerformance
avg latency?ms
rate limit60 req/min
uptime100.00%
discovered24,959x
page views348
inputjson
outputjson