Overview
Go-UPC's API makes it easy to programmatically access information on products from all over the world. This documentation provides the details you should need to navigate our product database.
Authentication
We use an API key to verify requests. You should have received an API key when you signed up. If you've lost your API key or need a new one, please just send us an email.
Go-UPC provides two methods for including your API key when making a request.
For simplicity and testing we allow you to include your key as a URL parameter;
however we recommend the alternative method for production implementations,
which involves passing the key via an Authorization
header.
Examples
Method One |
The API key must be included in the URL as the
|
Method Two |
The API key must be part of the of the HTTP header as a
|
Limits
The number of lookups you're able to perform via the API varies depending on your plan, as do offered data formats and support options. See the table here for specifics.
Developer | Startup | Enterprise | |
---|---|---|---|
Lookups Per Month | 5,000 | 45,000 | 450,000 |
Available Formats | JSON | JSON, CSV | JSON, CSV, XML |
Customer Support | Limited email support | Email and phone support | Email and phone support |
In addition to monthly limits, you're permitted a maximum of 2 requests per second. If you need a higher rate-limit, please contact us.
Endpoints
Note: All API endpoints require authentication using your API key, which you should receive upon registration.
Get Product Info
Endpoint | GET /v1/code/:code |
Description | Searches for the product using the given UPC/EAN/GTIN. |
URL Parameters |
code [required string] —
Any valid UPC (GTIN-12), EAN (GTIN-13), EAN-8 (GTIN-8) or GTIN-14 code. |
Example |
|
Response |
|
Error Responses |
|
Note, the product categories provided by our API come from the taxonomy used by Google Shopping, which you can find here.
Sample Code
Want to see example code for an API call? Here are sample API integrations for Python, Node.js, C#, PHP, and client-side JavaScript.
Want to see sample code for another programming language? Let us know.