Menor Preço Hoje Offers API

The Offers API from Menor Preço Hoje — 4 operation(s) for offers.

GitHub OpenAPI

Operations 4

GET /best-price Encontra a menor oferta vigente para um produto #
GET /search Pesquisa ofertas vigentes #
GET /compare Compara ofertas vigentes para um produto #
GET /top30 Lista destaques atuais #

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/menorprecohoje-com-br:menorprecohoje-com-br-offers-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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

menorprecohoje-com-br-offers-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Menor Preço Hoje — MPH Public Offers API
  version: 1.0.0
  description: API pública de inteligência de preços e ofertas locais do Menor Preço Hoje (MPH). Para agentes de IA, o primeiro servidor listado é a rota preferencial. Dados atuais devem ser interpretados em conjunto com reference_date, current_date, snapshot_current e freshness.
  contact:
    url: https://www.menorprecohoje.com.br
servers:
- url: https://www.menorprecohoje.com.br/agent/v1
  description: MPH Agent API — preferencial para agentes de IA
- url: https://api.menorprecohoje.com.br/v1
  description: MPH Public API — canônica
tags:
- name: Offers
paths:
  /best-price:
    get:
      tags:
      - Offers
      summary: Encontra a menor oferta vigente para um produto
      operationId: getBestPrice
      parameters:
      - name: product
        in: query
        required: true
        description: Produto pesquisado
        schema:
          type: string
        example: costela bovina
      responses:
        '200':
          description: Melhor oferta vigente encontrada
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BestPriceResponse'
        '409':
          description: Snapshot desatualizado para consultas do presente
  /search:
    get:
      tags:
      - Offers
      summary: Pesquisa ofertas vigentes
      operationId: searchOffers
      parameters:
      - name: product
        in: query
        required: false
        schema:
          type: string
      - name: market
        in: query
        required: false
        schema:
          type: string
      - name: category
        in: query
        required: false
        schema:
          type: string
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 500
      responses:
        '200':
          description: Lista de ofertas
        '409':
          description: Snapshot desatualizado
  /compare:
    get:
      tags:
      - Offers
      summary: Compara ofertas vigentes para um produto
      operationId: compareOffers
      parameters:
      - name: product
        in: query
        required: true
        schema:
          type: string
        example: costela bovina
      responses:
        '200':
          description: Comparação ordenada por preço
        '409':
          description: Snapshot desatualizado
  /top30:
    get:
      tags:
      - Offers
      summary: Lista destaques atuais
      operationId: getTop30
      responses:
        '200':
          description: Top 30
components:
  schemas:
    Meta:
      type: object
      properties:
        api:
          type: string
        api_version:
          type: string
        bridge_version:
          type:
          - string
          - 'null'
        gateway_version:
          type:
          - string
          - 'null'
        edition_id:
          type:
          - string
          - 'null'
        reference_date:
          type:
          - string
          - 'null'
          format: date
        current_date:
          type:
          - string
          - 'null'
          format: date
        snapshot_current:
          type:
          - boolean
          - 'null'
        city:
          type: string
        state:
          type: string
        country:
          type: string
    Offer:
      type: object
      properties:
        mercado:
          type: string
        categoria:
          type: string
        marca:
          type: string
        descricao:
          type: string
        unidade:
          type: string
        preco_normal:
          type: number
        preco_promocional:
          type: number
        preco_clube:
          type: number
        preco_final:
          type: number
        tipo_preco:
          type: string
        data_inicio:
          type: string
          format: date
        data_fim:
          type: string
          format: date
        temporal_status:
          type: string
        mph_id:
          type: string
    BestPriceResponse:
      type: object
      properties:
        ok:
          type: boolean
        meta:
          $ref: '#/components/schemas/Meta'
        intent:
          type: string
        temporal_scope:
          type: string
        reference_date:
          type:
          - string
          - 'null'
          format: date
        best_offer:
          oneOf:
          - $ref: '#/components/schemas/Offer'
          - type: 'null'
        alternatives:
          type: array
          items:
            $ref: '#/components/schemas/Offer'
        total_matches:
          type: integer
externalDocs:
  description: MPH Developers
  url: https://www.menorprecohoje.com.br/developers