appkey (string, required): Application key used for request authentication. Supply the value as a query parameter, form field, or multipart field according to the request content type.
type (string, required): Endpoint-specific type selector. Refer to the endpoint description for supported values.
content (string, required): Primary text content processed by the endpoint.
width (integer, required): Output width in pixels.
height (integer, required): Output height in pixels.
Response Fields:
url (string, required): CDN URL of the generated barcode image. Validation failures may return a plain-text error message instead of the success payload.
HTTP Status Codes:
200: Request processed successfully. Some endpoints expose a separate application-level status field in the response body, such as dataStatus.statusCode.
400: Invalid request parameters or request format. Check required fields, data types, and request body format.
401: Missing or unknown application key. Provide a valid appkey with the request.
403: The application key is recognized but access is not allowed. The key may be expired, inactive, or not permitted for the requested API.
429: Request rate or trial usage limit exceeded. Reduce concurrency or retry after the limit window resets.
500: Internal service error. Retry later or contact support if the error persists.
503: Upstream service unavailable. Retry later; the requested upstream dependency is temporarily unavailable.
Business Status Codes:
100 Normal return: No additional remark.
101 Parameter error: No additional remark.
102 Request rate limited: No more than 100 requests per second
103 Account in arrears: No additional remark.
104 APPKEY error: Check whether the passed APPKEY matches the one obtained from the developer center
110 API response error: No additional remark.
Key Features:
Supports 40 types of barcodes.
Supports generating custom barcode sizes.
Directly generates a CDN link for the barcode image for easy reference.
Full support for HTTPS (TLS v1.0 / v1.1 / v1.2 / v1.3).
Fully compatible with Apple ATS.
Nationwide CDN deployment.
Ultra-fast API response, multiple servers for load balancing.