Cerveja Barata Datasets API

The datasets API from Cerveja Barata — 12 operation(s) for datasets.

Operations 12

GET /api/v1/index.json Every dataset, per city, with counts #
GET /api/v1/cities.json Active cities #
GET /api/v1/catalog.json Brands, beers and formats #
GET /api/v1/{city}/deals.json Published prices in the city #
GET /api/v1/{city}/deals.csv Published prices in the city (CSV: reais, local dates) #
GET /api/v1/{city}/venues.json Places with at least one price #
GET /api/v1/{city}/venues.csv Places with at least one price (CSV: reais, local dates) #
GET /api/v1/{city}/venues-all.json Every active place, priced or not #
GET /api/v1/{city}/venues-all.csv Every active place, priced or not (CSV: reais, local dates) #
GET /api/v1/{city}/price-index.json The monthly Índice Cerveja Barata #
GET /api/v1/{city}/price-index.csv The monthly Índice Cerveja Barata (CSV: reais, local dates) #
GET /api/v1/{city}/neighbourhoods.geojson Bairro boundaries (GeoJSON) #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cervejabarata-com-br:cervejabarata-com-br-datasets-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

cervejabarata-com-br-datasets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cerveja Barata public Datasets API
  version: 1.0.0
  description: 'Real beer prices from bars, supermarkets and depósitos in Brazil, ranked by price per litre, bars and shops apart. Open data under the ODbL 1.0: credit "Cerveja Barata (cervejabarata.com.br)" and keep derived databases open. Static files cover everything and are free to fetch; the live endpoints answer at most 50 prices, are cached for 10–15 minutes and answer 503 with the static files'' address when the database runs low. No key needed.'
  contact:
    name: Cerveja Barata
    email: contato@cervejabarata.com.br
    url: https://cervejabarata.com.br
  license:
    name: ODbL-1.0
    url: https://opendatacommons.org/licenses/odbl/1-0/
servers:
- url: https://cervejabarata.com.br
tags:
- name: Datasets
paths:
  /api/v1/index.json:
    get:
      tags:
      - Datasets
      summary: Every dataset, per city, with counts
      responses:
        '200':
          description: Every dataset, per city, with counts
          content:
            application/json:
              schema:
                type: object
                properties:
                  updated_at:
                    type: string
                    description: When the build read the data
                  license:
                    type: string
                    enum:
                    - ODbL-1.0
                  attribution:
                    type: string
                  items:
                    type: array
                    items:
                      type: object
                      additionalProperties: {}
                required:
                - updated_at
                - license
                - attribution
      operationId: getApiV1IndexJson
      x-operation-id-source: derived
  /api/v1/cities.json:
    get:
      tags:
      - Datasets
      summary: Active cities
      responses:
        '200':
          description: Active cities
          content:
            application/json:
              schema:
                type: object
                properties:
                  updated_at:
                    type: string
                    description: When the build read the data
                  license:
                    type: string
                    enum:
                    - ODbL-1.0
                  attribution:
                    type: string
                  items:
                    type: array
                    items:
                      type: object
                      additionalProperties: {}
                required:
                - updated_at
                - license
                - attribution
      operationId: getApiV1CitiesJson
      x-operation-id-source: derived
  /api/v1/catalog.json:
    get:
      tags:
      - Datasets
      summary: Brands, beers and formats
      responses:
        '200':
          description: Brands, beers and formats
          content:
            application/json:
              schema:
                type: object
                properties:
                  updated_at:
                    type: string
                    description: When the build read the data
                  license:
                    type: string
                    enum:
                    - ODbL-1.0
                  attribution:
                    type: string
                  items:
                    type: array
                    items:
                      type: object
                      additionalProperties: {}
                required:
                - updated_at
                - license
                - attribution
      operationId: getApiV1CatalogJson
      x-operation-id-source: derived
  /api/v1/{city}/deals.json:
    get:
      tags:
      - Datasets
      summary: Published prices in the city
      parameters:
      - schema:
          type: string
          pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
          example: salvador
        required: true
        name: city
        in: path
      responses:
        '200':
          description: Published prices in the city
          content:
            application/json:
              schema:
                type: object
                properties:
                  updated_at:
                    type: string
                    description: When the build read the data
                  license:
                    type: string
                    enum:
                    - ODbL-1.0
                  attribution:
                    type: string
                  items:
                    type: array
                    items:
                      type: object
                      additionalProperties: {}
                required:
                - updated_at
                - license
                - attribution
      operationId: getApiV1ByCityDealsJson
      x-operation-id-source: derived
  /api/v1/{city}/deals.csv:
    get:
      tags:
      - Datasets
      summary: 'Published prices in the city (CSV: reais, local dates)'
      parameters:
      - schema:
          type: string
          pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
          example: salvador
        required: true
        name: city
        in: path
      responses:
        '200':
          description: Published prices in the city
          content:
            text/csv:
              schema:
                type: string
      operationId: getApiV1ByCityDealsCsv
      x-operation-id-source: derived
  /api/v1/{city}/venues.json:
    get:
      tags:
      - Datasets
      summary: Places with at least one price
      parameters:
      - schema:
          type: string
          pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
          example: salvador
        required: true
        name: city
        in: path
      responses:
        '200':
          description: Places with at least one price
          content:
            application/json:
              schema:
                type: object
                properties:
                  updated_at:
                    type: string
                    description: When the build read the data
                  license:
                    type: string
                    enum:
                    - ODbL-1.0
                  attribution:
                    type: string
                  items:
                    type: array
                    items:
                      type: object
                      additionalProperties: {}
                required:
                - updated_at
                - license
                - attribution
      operationId: getApiV1ByCityVenuesJson
      x-operation-id-source: derived
  /api/v1/{city}/venues.csv:
    get:
      tags:
      - Datasets
      summary: 'Places with at least one price (CSV: reais, local dates)'
      parameters:
      - schema:
          type: string
          pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
          example: salvador
        required: true
        name: city
        in: path
      responses:
        '200':
          description: Places with at least one price
          content:
            text/csv:
              schema:
                type: string
      operationId: getApiV1ByCityVenuesCsv
      x-operation-id-source: derived
  /api/v1/{city}/venues-all.json:
    get:
      tags:
      - Datasets
      summary: Every active place, priced or not
      parameters:
      - schema:
          type: string
          pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
          example: salvador
        required: true
        name: city
        in: path
      responses:
        '200':
          description: Every active place, priced or not
          content:
            application/json:
              schema:
                type: object
                properties:
                  updated_at:
                    type: string
                    description: When the build read the data
                  license:
                    type: string
                    enum:
                    - ODbL-1.0
                  attribution:
                    type: string
                  items:
                    type: array
                    items:
                      type: object
                      additionalProperties: {}
                required:
                - updated_at
                - license
                - attribution
      operationId: getApiV1ByCityVenuesAllJson
      x-operation-id-source: derived
  /api/v1/{city}/venues-all.csv:
    get:
      tags:
      - Datasets
      summary: 'Every active place, priced or not (CSV: reais, local dates)'
      parameters:
      - schema:
          type: string
          pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
          example: salvador
        required: true
        name: city
        in: path
      responses:
        '200':
          description: Every active place, priced or not
          content:
            text/csv:
              schema:
                type: string
      operationId: getApiV1ByCityVenuesAllCsv
      x-operation-id-source: derived
  /api/v1/{city}/price-index.json:
    get:
      tags:
      - Datasets
      summary: The monthly Índice Cerveja Barata
      parameters:
      - schema:
          type: string
          pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
          example: salvador
        required: true
        name: city
        in: path
      responses:
        '200':
          description: The monthly Índice Cerveja Barata
          content:
            application/json:
              schema:
                type: object
                properties:
                  updated_at:
                    type: string
                    description: When the build read the data
                  license:
                    type: string
                    enum:
                    - ODbL-1.0
                  attribution:
                    type: string
                  items:
                    type: array
                    items:
                      type: object
                      additionalProperties: {}
                required:
                - updated_at
                - license
                - attribution
      operationId: getApiV1ByCityPriceIndexJson
      x-operation-id-source: derived
  /api/v1/{city}/price-index.csv:
    get:
      tags:
      - Datasets
      summary: 'The monthly Índice Cerveja Barata (CSV: reais, local dates)'
      parameters:
      - schema:
          type: string
          pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
          example: salvador
        required: true
        name: city
        in: path
      responses:
        '200':
          description: The monthly Índice Cerveja Barata
          content:
            text/csv:
              schema:
                type: string
      operationId: getApiV1ByCityPriceIndexCsv
      x-operation-id-source: derived
  /api/v1/{city}/neighbourhoods.geojson:
    get:
      tags:
      - Datasets
      summary: Bairro boundaries (GeoJSON)
      parameters:
      - schema:
          type: string
          pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
          example: salvador
        required: true
        name: city
        in: path
      responses:
        '200':
          description: Bairro boundaries (GeoJSON)
          content:
            application/json:
              schema:
                type: object
                properties:
                  updated_at:
                    type: string
                    description: When the build read the data
                  license:
                    type: string
                    enum:
                    - ODbL-1.0
                  attribution:
                    type: string
                  items:
                    type: array
                    items:
                      type: object
                      additionalProperties: {}
                required:
                - updated_at
                - license
                - attribution
      operationId: getApiV1ByCityNeighbourhoodsGeojson
      x-operation-id-source: derived