Product API

Overview

Go UPC's API makes it easy to access the world's largest UPC product database. This documentation provides all the details in order to navigate the database.

Authentication

We use an API key to verify requests. The API key was emailed to you when you signed up. If you've lost or would like to reset your API key, please send an email to info@go-upc.com with the Subject: Request new API key. The API key must be part of the of the HTTP header as a Bearer token. See examples for usage.

Limits

Developer Startup Enterprise
Daily Requests 5,000 45,000 300,000
Requests / Second 2 4 10
Data Formats JSON JSON, XML, and CSV JSON, XML, CSV, and HTML
Customer Support Email Email and phone Email, phone, and dedicated online chat

Endpoints

Note: all endpoints require basic authentication using the API key you received during account registration


Get Product Info

Endpoint

GET /v1/code/:code

Description Searches for the product using the UPC/EAN/GTIN.
URL Parameters:
code [required string] - Any valid UPC, EAN, or GTIN code

Example:
curl --location --request GET 'https://go-upc.com/api/v1/code/6925281910029' \
     --header 'Authorization: Bearer <api_key>'
                  
Response 200 SUCCESS
{
  "code": "6925281910029",
  "codeType": "EAN",
  "product": {
    "name": "JBL Harman Reflect",
    "region": "Outside of North America",
    "imageUrl": "https://go-upc.com/api/v1/image/6925281910029"
  }
}
                
Error Response
404 Not Found
500 Internal Server Error

Get Product Image

Endpoint

GET /v1/image/:code

Description Searches for the product image using the UPC/EAN/GTIN.
URL Parameters:
code [required string] - Any valid UPC, EAN, or GTIN code

Example:
curl --location --request GET 'https://go-upc.com/api/v1/image/6925281910029' \
     --header 'Authorization: Bearer <api_key>'
                  
Response
200 SUCCESS
<product image>
Error Response
404 Not Found
500 Internal Server Error