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.
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.
The UPC Database API can accept authentication in one of two ways.
You can append your API key to the end of the query, such as:
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.