> **平台**: 万维易源 (ShowAPI)
> **接入方式**: 统一 API 网关 (HTTPS POST/GET)
> **认证**: showapi_appid + showapi_sign
> **文档**: https://www.showapi.com/apis/barcode-1129

---
title: 条码生成与识别API接口|万维易源ShowAPI
canonical_url: "https://www.showapi.com/apis/barcode-1129"
last_updated: "2026-09-25T11:21:22.399Z"
meta:
  description: 提供条码生成（支持多种类型）和条码识别功能，包括上传图片、图片链接、Base64编码三种识别方式，适用于商品查询、库存管理、图书管理、医疗药品管理、物流跟踪、食品安全追溯、企业内部管理、会员卡管理、学生管理及票务管理等场景。
  keywords: "条码生成, 条码识别, 条形码API, 二维码生成, 条码识别接口"
  "og:description": 提供条码生成（支持多种类型）和条码识别功能，包括上传图片、图片链接、Base64编码三种识别方式，适用于商品查询、库存管理、图书管理、医疗药品管理、物流跟踪、食品安全追溯、企业内部管理、会员卡管理、学生管理及票务管理等场景。
  "og:title": 条码生成与识别API接口
---

*

*

*

# **条码生成与识别**

**免费服务**

生成多种类型的条码，返回图片链接。适用于数据录入、零售结算、图书管理、仓储物流、质量跟踪等场景，有助于降低运营成本，减少人工错误。

[条码技术](https://www.showapi.com/market?search=%E6%9D%A1%E7%A0%81%E6%8A%80%E6%9C%AF) [数据采集](https://www.showapi.com/market?search=%E6%95%B0%E6%8D%AE%E9%87%87%E9%9B%86) [零售业](https://www.showapi.com/market?search=%E9%9B%B6%E5%94%AE%E4%B8%9A) [物流管理](https://www.showapi.com/market?search=%E7%89%A9%E6%B5%81%E7%AE%A1%E7%90%86) [图书管理](https://www.showapi.com/market?search=%E5%9B%BE%E4%B9%A6%E7%AE%A1%E7%90%86) [质量追溯](https://www.showapi.com/market?search=%E8%B4%A8%E9%87%8F%E8%BF%BD%E6%BA%AF) [移动支付](https://www.showapi.com/market?search=%E7%A7%BB%E5%8A%A8%E6%94%AF%E4%BB%98) [电子票务](https://www.showapi.com/market?search=%E7%94%B5%E5%AD%90%E7%A5%A8%E5%8A%A1) [图像识别](https://www.showapi.com/market?search=%E5%9B%BE%E5%83%8F%E8%AF%86%E5%88%AB)

**免费****本接口注册后默认可免费调用，为防止滥用设有使用档次限制。**

[**了解积分与档位详情 › **](https://www.showapi.com/free-api)

权益档次可使用平台积分兑换更高调用档位，多种积分获取方式请查看积分与档位详情。

在线调试

**官方自营**

易源官方提供，长期稳定运营

<dl>

<dt>服务商</dt>
<dd>昆明秀派科技有限公司</dd>

<dt>电话</dt>
<dd>400-998-8033</dd>

<dt>QQ</dt>
<dd>4009988033</dd>

<dt>邮箱</dt>
<dd>[service@showapi.com](mailto:service@showapi.com)</dd>

</dl>

<dl>

<dt>所属分类</dt>
<dd>视觉处理</dd>

<dt>接入点</dt>
<dd>4 个</dd>

<dt>请求方式</dt>
<dd>POST/GET</dd>

<dt>返回格式</dt>
<dd>JSON</dd>

</dl>

**条码生成**

接入点说明

```
支持生成多种类型的条码，并可返回对应的条码图片链接。
```

接口地址

https://route.showapi.com/1129-1?appKey={your\_appKey} [查看密钥](https://www.showapi.com/console#/myApp) [调用帮助](https://www.showapi.com/helpcenter/view#/3960/1)

返回格式JSON

请求方式POST/GET

更新频率每12个小时删除数据,您需及时保存链接

**请求参数**

**Header 参数**

| |
|

| |
|

**Post 表单**

| |
|

| |
|
| |
| |
| |

**返回参数**查看公共返回参数

该接口返回经 `showapi_res_body` 系统封装，业务数据均位于该对象内；系统级字段见公共返回参数。

**返回体**

| |
|

| |
|
| |
| |

**请求示例**

[查看我的 appKey](https://www.showapi.com/console#/myApp) [查看使用向导](https://www.showapi.com/helpcenter/view#/3960/1) [Python / Java 等多语言示例](https://www.showapi.com/apitest/market/1129/1)

cURL 复制

```
curl -X POST "https://route.showapi.com/1129-1?appKey=YOUR_APPKEY" \
  -H "content-type: application/x-www-form-urlencoded" \
  -d "content=6901294172197&width=150&height=30&formatType=5"
```

**返回示例**

JSON 复制

```
{
	"showapi_res_code": 0,
	"showapi_res_error": "",
	"showapi_res_id":"ce135f6739294c63be0c021b76b6fbff",
    "showapi_res_body": {
		"imgUrl": "http://app2.showapi.com/img/barCodeImg/20160930/xxxx.jpg",
		"ret_code": 0
	}
}
```

**MCP 服务集成**接口级

在 Cherry Studio、ChatBox 等支持 MCP 的客户端中配置，将 {your\_appKey} 替换为真实 AppKey（ [AppKey 管理](https://www.showapi.com/console#/myApp)）。该服务覆盖本接口全部接入点。

MCP JSON 复制

```
{
  "mcpServers": {
    "showapi-mcp-1129": {
      "url": "http://www.showapi.com.cn/mcp/1129/{your_appKey}"
    }
  }
}
```

**OpenAPI 文档**接口级

标准 OpenAPI 3.0 文档，覆盖本接口全部接入点，可导入 Apifox / Postman / Swagger UI，或供 AI Agent 直接消费。

[在线查看 YAML](https://www.showapi.com/openapi/market/1129.yaml) [下载 YAML](https://www.showapi.com/openapi/market/1129.yaml) [查看 JSON](https://www.showapi.com/openapi/market/1129.json)