Retrieve the product details related to the specified barcode, including but not limited to the product name, brand, price, and other key information.
The APP Code required for API authentication can be applied for on the Alibaba Cloud API Marketplace: https://market.aliyun.com/apimarket/detail/cmapi011032
product-barcode-query
is a specialized service for querying domestic product barcode information. It supports obtaining details related to a specified barcode through API calls, including but not limited to product name, brand, price, and other key information. This service is particularly suitable for applications that require quick and accurate access to large amounts of product data, such as e-commerce platforms, inventory management systems, or consumer rights protection platforms.
code
: Domestic product barcode (must start with 69). This is one of the required parameters when making a request.
https://barcode14.market.alicloudapi.com/barcode
Authorization
: APPCODE {{.config.appCode}}X-Ca-Nonce
: '{{uuidv4}}'The response will be returned in JSON format and will include the following main fields:
showapi_res_body
: Contains the actual product information.
showapi_res_body.code
: Barcodeshowapi_res_body.engName
: English nameshowapi_res_body.flag
: Query result flagshowapi_res_body.goodsName
: Product nameshowapi_res_body.goodsType
: Product categoryshowapi_res_body.img
: Image URLshowapi_res_body.manuName
: Manufacturershowapi_res_body.note
: Note informationshowapi_res_body.price
: Reference price (unit: RMB)showapi_res_body.remark
: Query result remarksshowapi_res_body.ret_code
: Return codeshowapi_res_body.spec
: Specificationsshowapi_res_body.sptmImg
: Barcode imageshowapi_res_body.trademark
: Trademark/Brand nameshowapi_res_body.ycg
: Place of originshowapi_res_code
: Response status codeshowapi_res_error
: Error message (if any)The above is a basic overview of the product-barcode-query
service and its related tools. We hope this document helps you use these resources more effectively.
by: Higress official
A multifunctional service designed specifically for the stock, futures, and foreign exchange markets. It provides a variety of tools, including candlestick charts, quotes, rankings, and more, to help users obtain real-time and historical data, perform technical analysis, and support decision-making.
appCode