API Documents - GuGuData | Production-Ready APIs Built for Developers
  1. QRcode and Barcode
API Documents - GuGuData | Production-Ready APIs Built for Developers
  • GuGuData API documents
  • Metadata
    • DEMO
      • [DEMO] Global QS World University Rankings
      • [DEMO] Global University
      • [DEMO] Chinese Poem
    • Global QS World University Rankings
      GET
    • Global University
      GET
    • Chinese Poem
      GET
  • Website Tools
    • DEMO
      • [DEMO] Webpage Readable Content Extraction
      • [DEMO] Domain SSL Certificate Information Parsing
      • [DEMO] Domain DNS Information Query
      • [DEMO] Query Website Favicon and Title
      • [DEMO] Format International Phone
      • [DEMO] URL to static HTML
      • [DEMO] URL to Image
      • [DEMO] URL to Markdown
      • [DEMO] Get URL links
      • [DEMO] Website Snapshot
      • [DEMO] Domain Whois
      • [DEMO] IP Address
      • [DEMO] Article Extract
      • [DEMO] Geographic Coordinate System Converter
      • [DEMO] Extract Structured JSON from Webpage
    • Webpage Readable Content Extraction
      POST
    • Domain SSL Certificate Information Parsing
      GET
    • Domain DNS Information Query
      GET
    • Query Website Favicon and Title
      GET
    • Format International Phone
      GET
    • URL to static HTML
      POST
    • URL to Image
      GET
    • URL to Markdown
      POST
    • Get URL links
      GET
    • Website Snapshot
      POST
    • Domain Whois
      GET
    • IP Address
      GET
    • Article Extract
      POST
    • Geographic Coordinate System Converter
      GET
    • Extract Structured JSON from Webpage
      POST
  • Image Recognition
    • DEMO
      • [DEMO] HTML to PDF
      • [DEMO] Image OCR
      • [DEMO] PDF to Format
      • [DEMO] PDF Splitting
      • [DEMO] Markdown to PDF
      • [DEMO] PPT to Images
      • [DEMO] PDF to HTML
      • [DEMO] PDF Summary
      • [DEMO] Image Compress
      • [DEMO] Word to HTML
    • HTML to PDF
      POST
    • Image OCR
      POST
    • PDF to Format
      POST
    • PDF Splitting
      POST
    • Markdown to PDF
      POST
    • PPT to Images
      POST
    • PDF to HTML
      POST
    • PDF Summary
      POST
    • Image Compress
      POST
    • Word to HTML
      POST
  • QRcode and Barcode
    • DEMO
      • [DEMO] QR Code
      • [DEMO] Wifi QR Code
      • [DEMO] Bar Code
    • QR Code
      POST
    • Wifi QR Code
      POST
    • Bar Code
      POST
  • Text Tools
    • DEMO
      • [DEMO] Simplified and Traditional Chinese Converter
      • [DEMO] Text Similarity Calculator
    • Simplified and Traditional Chinese Converter
    • Text Similarity Calculator
  • healthcheck
    GET
  1. QRcode and Barcode

Bar Code

POST
https://api.gugudata.io/v1/barcode
Last modified:2026-02-11 09:08:02
General Barcode Generation
A general barcode generation API
Method: POST
Path: /v1/barcode?appkey={{appkey}}
Demo: https://api.gugudata.io/v1/barcode/demo
Request Parameters:
type (string, required): Barcode type. Options: UNSPECIFIED | UPCA | UPCE | UPC_SUPPLEMENTAL_2DIGIT | UPC_SUPPLEMENTAL_5DIGIT | EAN13 | EAN8 | Interleaved2of5 | Interleaved2of5_Mod10 | Standard2of5 | Standard2of5_Mod10 | Industrial2of5 | Industrial2of5_Mod10 | CODE39 | CODE39Extended | CODE39_Mod43 | Codabar | PostNet | BOOKLAND | ISBN | JAN13 | MSI_Mod10 | MSI_2Mod10 | MSI_Mod11 | MSI_Mod11_Mod10 | Modified_Plessey | CODE11 | USD8 | UCC12 | UCC13 | LOGMARS | CODE128 | CODE128A | CODE128B | CODE128C | ITF14 | CODE93 | TELEPEN | FIM | PHARMACODE
content (string, required): Barcode content. Pay attention to length specifications for the chosen barcode type.
width (int, required): Barcode width in pixels
height (int, required): Barcode height in pixels
Response Fields Count: 6
Response Field Examples:
DataStatus.StatusCode: API return status code
DataStatus.StatusDescription: API return status description
DataStatus.ResponseDateTime: The time the data is returned by the API
DataStatus.DataTotalCount: Total amount of data under these conditions, generally used for pagination
Data.Content: Barcode type:barcode content
Data.Url: The CDN URL path of the generated barcode
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
Details:
https://gugudata.io/details/barcode

Request

Query Params

Header Params

Body Params application/json

Example
{
    "type": "UPCA",
    "content": "065258744747",
    "width": 200,
    "height": 100
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request POST 'https://api.gugudata.io/v1/barcode?appkey=sk-******' \
--header 'Content-Type: application/json' \
--data-raw '{
    "type": "UPCA",
    "content": "065258744747",
    "width": 200,
    "height": 100
}'

Responses

⚪0
application/json
Body

Example
{
  "DataStatus": {
    "StatusCode": 0,
    "StatusDescription": "string",
    "ResponseDateTime": "string",
    "DataTotalCount": 0
  },
  "Data": {
    "Content": "string",
    "Url": "string"
  }
}
Modified at 2026-02-11 09:08:02
Previous
Wifi QR Code
Next
Text Tools
Built with