{
  "x402Version": 2,
  "id": 30155,
  "slug": "30155",
  "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",
  "serviceName": "OCR Text Extractor",
  "resourceType": "Blockchain Data",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xE9740820225B3918b4ddd1292C7cA4Ca0e2C2F08",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "8ugAWAXDB8V18kiUrGZTq1oMvU3C6Fxs8hfC6rvzQT3b",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "10000",
      "amountUsd": 0.01,
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "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"
  },
  "extensions": {
    "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": [
    "ocr",
    "image to text",
    "extract text from image",
    "read text from image",
    "optical character recognition",
    "bazaar"
  ],
  "sourceHost": "ocr.underscoredone.com",
  "lastUpdated": "2026-09-25T10:46:13.465Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 2,
    "lastCalledAt": "2026-09-25T10:46:13.298Z"
  },
  "metadata": {
    "serviceName": "OCR Text Extractor",
    "extensions": {
      "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "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-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "api_version": "string",
      "confidence": 0,
      "lang": "string",
      "source": "string",
      "text": "string",
      "word_count": 0
    },
    "type": "string"
  }
}