{
  "x402Version": 2,
  "id": 3358,
  "slug": "3358",
  "resource": "https://ocr.underscoredone.com/read",
  "description": "Send a picture, either as a public web address or as base64-encoded image data, and get back the plain text found inside it.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xE9740820225B3918b4ddd1292C7cA4Ca0e2C2F08",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "8ugAWAXDB8V18kiUrGZTq1oMvU3C6Fxs8hfC6rvzQT3b",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "image_url": "https://example.com/receipt.png",
            "lang": "eng"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "api_version": "1.0.0",
            "confidence": 91.4,
            "lang": "eng",
            "source": "image_url",
            "text": "TOTAL 24.50\nTHANK YOU",
            "word_count": 4
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "image_base64": {
                    "description": "The image encoded as base64 text. Leave this out if you are sending a web address instead.",
                    "type": "string"
                  },
                  "image_url": {
                    "description": "A public web address pointing to the image file. Leave this out if you are sending the image as base64 text instead.",
                    "type": "string"
                  },
                  "lang": {
                    "description": "The language of the text in the image. Only 'eng' (English) is supported at the moment.",
                    "type": "string"
                  }
                },
                "required": [],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "api_version": {
                    "type": "string"
                  },
                  "confidence": {
                    "type": "number"
                  },
                  "lang": {
                    "type": "string"
                  },
                  "source": {
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  },
                  "word_count": {
                    "type": "integer"
                  }
                },
                "required": [
                  "api_version",
                  "text",
                  "word_count",
                  "confidence",
                  "lang",
                  "source"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "ocr.underscoredone.com",
  "lastUpdated": "2026-09-16T15:07:22.442Z",
  "quality": {
    "calls30d": 6,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-09-16T15:07:44.098Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "ocr.underscoredone.com",
    "manifest_name": "ocr.underscoredone.com",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}