The Barcode Finder API allows you to look up product information using UPC, EAN, or other barcode formats. This tutorial will walk you through making your first API requests.

Base URL

All API requests are made to:

https://api.barcodefinder.info

Looking Up a Barcode

The primary endpoint for barcode lookups is:

GET /v1/products/{barcode}

cURL Example

curl https://api.barcodefinder.info/v1/products/012345678905

Python Example

import requests

barcode = "012345678905"
response = requests.get(f"https://api.barcodefinder.info/v1/products/{barcode}")

if response.status_code == 200:
    product = response.json()
    print(f"Product: {product['name']}")
    print(f"Brand: {product['brand']}")
else:
    print("Product not found")

JavaScript Example

const barcode = "012345678905";

fetch(`https://api.barcodefinder.info/v1/products/${barcode}`)
  .then(response => response.json())
  .then(data => {
    console.log(`Product: ${data.name}`);
    console.log(`Brand: ${data.brand}`);
  })
  .catch(error => console.error('Error:', error));

Response Format

A successful response returns a JSON object with product details:

{
  "barcode": "012345678905",
  "name": "Example Product",
  "brand": "Example Brand",
  "category": "Electronics",
  "description": "Product description here",
  "images": ["https://example.com/image.jpg"]
}

Error Handling

The API returns standard HTTP status codes:

Rate Limits

The free tier allows:

Need more? Check out our pricing page for higher limits.

Full Documentation

For complete API documentation including all endpoints, parameters, and response schemas, visit our API Documentation.

Support

Having trouble? Check the documentation or reach out through our website.