Server402 marketplace

Paid API service

English OCR

Recognize printed text from a public image URL. Use this OCR API for English document images; pass optional language and layout hints when the schema supports them.

Invocation

Service ID
english-ocr
Method
POST
Endpoint
/api/tools/english-ocr
Legacy Endpoint
/api/tools/aliyun-ocr-english
MCP Tool
english_ocr
Price
USD 0.20

Payment

Call the endpoint without payment to receive HTTP 402 metadata. After payment is complete, retry with X-Payment-Token, an x402 payment signature, or MCP paymentToken.

Create a payment with POST /api/payments using serviceId="english-ocr", then pass the returned token in X-Payment-Token or MCP paymentToken.

Schema And Examples

{
  "exampleRequest": {
    "imageUrl": "https://img.alicdn.com/tfs/TB1K2a4NVY7gK0jSZKzXXaikpXa-2060-800.jpg",
    "needRotate": false,
    "outputCharInfo": false,
    "outputTable": false
  },
  "exampleResponse": {
    "code": "200",
    "content": "Dear Ms Jenkins",
    "data": {
      "content": "Dear Ms Jenkins"
    },
    "message": "success",
    "requestId": "example-request-id"
  },
  "inputSchema": {
    "properties": {
      "imageUrl": {
        "format": "uri",
        "type": "string"
      },
      "needRotate": {
        "type": "boolean"
      },
      "outputCharInfo": {
        "type": "boolean"
      },
      "outputTable": {
        "type": "boolean"
      }
    },
    "required": [
      "imageUrl"
    ],
    "type": "object"
  },
  "outputSchema": {
    "properties": {
      "code": {
        "type": "string"
      },
      "content": {
        "type": "string"
      },
      "data": {
        "type": "object"
      },
      "message": {
        "type": "string"
      },
      "requestId": {
        "type": "string"
      }
    },
    "required": [
      "requestId",
      "content",
      "data"
    ],
    "type": "object"
  }
}