UPC Database API

Our API allows you to access our UPC database with any programming language.

We have different API endpoints that you can explore on the left.

When designing our new API, we have taken great steps to ensure the development process remains quick and simple.

 

 

Get Started

To get started, follow the steps below.

1. Create an account.
If you have not done so already, create an account.

2. Register your application.
Register an application in your user dashboard to obtain a token.

3. Interact with API endpoints.
Use your token to interact with the API endpoints listed here.

 

 

Authentication

The UPC Database API can accept authentication in one of two ways.

 

Via URL

You can append your API key to the end of the query, such as:

https://api.upcdatabase.org/product/0111222333446?apikey=098f6bc22621d_demo_4de4e8326b4f6

 

Via Basic Auth

For a more RESTful API, you can authenticate with basic HTTP headers when making your request, for example:

curl --location --request GET 'https://api.upcdatabase.org/product/0111222333446' \
--header 'Authorization: Basic TXlUZXN0QXBwOjA5OGY2YmNkNDYyMWQzNzNjYWRlNGU4MzI2MjdiNGY2'

The username can be anything of your choosing, however, the password field needs to contain you API key.