V1 (Legacy)
This is documentation for V1 of the API, which is no longer maintained. Use the V2 documentation for new integrations.
Reverse Barcode Lookup with SKU GET Endpoint
Dive deep into our GET endpoint designed to facilitate reverse barcode lookups using SKU identifiers. By utilizing this endpoint, you can access product barcodes linked to specific SKUs.
Route
https://barcodes.gg/api/barcode/lookup/sku/{SKU}?is_verified={verification_status}&page={page_number}Header
Authorization: Bearer {Your API Key}Query Parameters
Tailor your request by incorporating these parameters:
SKU- The unique SKU identifier for the product.is_verified- A binary switch (0 or 1) to filter results based on verification status.page- The desired page number for paginated results.
Responses
Upon dispatching your request, anticipate the following responses:
400Input validation debacle.200No barcodes found for the given SKU.200Results containing barcodes.
Successful Request and Response Illustration:
Request:
https://barcodes.gg/api/barcode/lookup/sku/DD1391-100?is_verified=1&page=1Response:
{
"error": false,
"barcodes": [
{
"product_barcode_type": "GTIN12",
"product_barcode_value": "194502875980",
"product_size": {
"us": "6",
"uk": "5.5",
"eu": "38.5"
},
"isVerified": true
},
{
"product_barcode_type": "GTIN12",
"product_barcode_value": "194502875997",
"product_size": {
"us": "6.5",
"uk": "6 (EU 39)",
"eu": "39"
},
"isVerified": true
}
... up to 20 barcodes in the response
],
"pagination": {
"current_page": "1",
"next_page": "2",
"has_next_page": true
},
"response_time": "318ms",
"request_fulfilled": true,
"request_debited": true
}Lookup Image
Legacy V1 image lookup uses a product style code and returns the image as a binary stream when found; the page lists validation and missing-image outcomes.
Wrapper for C#
Legacy V1 C# client sample for authenticated product search, barcode lookup, image retrieval, and SKU-based reverse barcode lookup.