Open data
Every price and place on Cerveja Barata (bars, supermarkets and depósitos, i.e. drinks shops), to download, analyse and reuse. Updated with every publish; these are from 29 November 2026.
Files per city
| City | Prices | Places with prices | Every place | Neighbourhoods | Monthly index |
|---|---|---|---|---|---|
| Salvador | CSV · JSON (7370) | CSV · JSON (932) | CSV · JSON (2652) | GeoJSON | CSV · JSON (2) |
| Lauro de Freitas | CSV · JSON (827) | CSV · JSON (113) | CSV · JSON (189) | GeoJSON | CSV · JSON (2) |
How to cite
Cerveja Barata (cervejabarata.com.br), data from 29 November 2026, ODbL 1.0 licence.
Licence
The data is open under the Open Database License (ODbL) 1.0: copy, adapt and publish it, commercially too, as long as you credit the source and keep databases made from it open under the same licence.
- Receipt prices: Preço da Hora Bahia, Bahia State Treasury (SEFAZ-BA).
- Bars and their locations: derived from OpenStreetMap, © OpenStreetMap contributors (ODbL), and from Overture Maps' places, © Overture Maps Foundation (CDLA Permissive 2.0).
- Neighbourhood boundaries: GeoSalvador, Salvador City Council (Salvador); IBGE, 2022 Census (Lauro de Freitas).
- The site's maps: OpenFreeMap, © OpenMapTiles, data © OpenStreetMap contributors.
For programs
The JSON files carry the same rows with our database's field names (money in cents, unix times); the CSV files use commas, a decimal point and UTF-8, with money in reais and local dates. In Excel, open them with Data → From Text/CSV.
- /api/v1/index.json: every file, per city, with counts
- AI agents can query the same data live through our MCP server at
https://cervejabarata.com.br/mcp - The developer docs: live API, MCP and examples
No personal data is published: no emails, no IP addresses, no names of whoever sent a price.
Columns of deals.csv
price_brl | Price, in reais, for what the row describes (e.g. a bucket of 5): the menu price or the receipt price |
|---|---|
price_per_litre_brl | The price per litre we rank by |
format_code, units, packaging | Serving: format (garrafa_600), how many, and single, balde, torre, combo or dobro |
kind | regular, happy_hour, promo, combo or open_bar (open bars rank by price and length) |
schedules | When the price applies, in the city's time: "Fri 17:00-20:00; Sat 22:00-02:00"; empty means whenever the place is open (for a happy_hour or promo: days and hours not known yet) |
service_charge_pct, couvert_brl | Service charge and cover, on top of the menu price |
last_verified_on | The last time the price was checked; at bars, past 90 days it may be out of date and past 180 it leaves the ranking; at shops, it leaves after 14 days |