API

Access supermarket brochures, products, and price data programmatically

API Keys

Create and manage your API keys. The API is free but rate-limited to 100 requests per day.

Sign in to create API keys

You need to be signed in to create and manage your API keys.

Quick Start

Authentication

Include your API key in requests using either the Authorization header or query parameter:

Authorization: Bearer YOUR_API_KEY
or
GET /api/v1/products?api_key=YOUR_API_KEY

Rate Limits

The API is rate-limited to 100 requests per day per API key. Rate limit headers are included in every response:

X-RateLimit-Limit: 100X-RateLimit-Remaining: 99X-RateLimit-Reset: 86400

Example Request

curl -H "Authorization: Bearer YOUR_API_KEY" \ "/api/v1/products?search=milk&limit=10"

API Reference

Full API documentation with all available endpoints

Interactive Documentation

Try out the API endpoints directly in the browser with the interactive API Explorer.

Available Endpoints

GET/api/v1/supermarkets

List all available supermarkets

GET/api/v1/brochures

List brochures with pagination and filtering

GET/api/v1/brochures/:id

Get a specific brochure with pages

GET/api/v1/products

List products with pagination, search, and filtering

GET/api/v1/products/search

Semantic search products using AI embeddings

GET/api/v1/products/:id

Get a specific product by ID

GET/api/v1/categories

List all product categories with counts

Query Parameters

ParameterTypeDescription
pageintegerPage number (default: 1)
limitintegerItems per page (max: 100)
searchstringSearch by name or description
categorystringFilter by category name
supermarketstringFilter by supermarket slug
min_pricenumberMinimum price in BGN
max_pricenumberMaximum price in BGN
has_discountbooleanFilter by discount status
only_validbooleanOnly valid promotions (default: true)