Open Prices API
Django REST API for the Open Food Facts prices database - a comprehensive collection of food product prices from around the world.
The Open Prices API provides access to the Open Food Facts prices database, offering comprehensive price information for food products worldwide. Built with Django REST Framework, this API enables developers to access, contribute, and analyze global food pricing data.
Open Prices is a collaborative project to collect and share food product prices from stores around the world, providing transparency and helping consumers make informed purchasing decisions.
API Overview
The Open Prices API enables you to:
Retrieve price information for products across different stores and time periods
Access store locations and geographic price distribution data
Contribute new price data with proof photos and location verification
Access price trends, statistics, and historical data analysis
Key Features
Price Management
Create, update, and retrieve price information with proof photos and validation
Location Data
Access store locations verified through OpenStreetMap integration
Product Integration
Link prices to Open Food Facts products using barcodes and identifiers
Product Catalog
Browse and search products with associated price data
Receipt Processing
Upload and process receipts to extract price information
User Management
Handle user accounts and authentication for contributors
Statistics
Access aggregated statistics and analytics about price data
Base URL
https://prices.openfoodfacts.org/api
API Features
Data Quality
- Photo Verification: All prices require proof photos for validation
- Location Validation: Store locations verified through OpenStreetMap
- Duplicate Prevention: Automatic detection and handling of duplicate entries
- Community Moderation: User reporting and moderation tools
Developer Tools
- RESTful Design: Clean, predictable API endpoints following REST principles
- Comprehensive Documentation: Auto-generated OpenAPI documentation
- Rate Limiting: Fair usage policies with clear limits
- CORS Support: Cross-origin requests for web applications