PrijsProfeet Deals API

The deals API from PrijsProfeet — 6 operation(s) for deals.

GitHub OpenAPI

Operations 6

GET /api/v1/deals/top Get Top Deals Endpoint #
GET /api/v1/deals/brand/{brand} Get Brand Deals #
GET /api/v1/deals/summary Deals Summary Endpoint #
GET /api/v1/deals/by-type Deals By Type Endpoint #
GET /api/v1/deals/new New Deals Endpoint #

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/prijsprofeet-nl:prijsprofeet-nl-deals-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

prijsprofeet-nl-deals-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Prijsprofeet Nl Deals API
  version: 1.0.0
  termsOfService: https://www.prijsprofeet.nl/api-voorwaarden
  description: 'Operations tagged deals across 2 of this provider''s published API definitions: prijsprofeet-nl-openapi-en-openapi.json, prijsprofeet-nl-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://www.prijsprofeet.nl
  description: Dutch chains
- url: https://www.prijsprofeet.be
  description: Belgian chains
- url: https://www.prijsprofeet.de
  description: German chains; only `aldi_sued`, with exactly one `retailer=` on `/api/v1/products`, `/api/v1/products/changes`, `/api/v1/search`, or `/api/v1/products/retailer/{retailer}`
tags:
- name: Deals
paths:
  /api/v1/deals/top:
    get:
      tags:
      - Deals
      summary: Get Top Deals Endpoint
      description: 'Get top promotional deals grouped by brand.


        Returns two lists:

        - **top_by_percentage**: Best deals by savings percentage (e.g., 50% off)

        - **top_by_amount**: Best deals by absolute savings (e.g., save EUR 5.00)


        Products are grouped by brand + promotion_type to avoid showing

        15 variants of the same Calve sauce.


        Pass **retailer** (repeatable) to scope the lists to the shops you actually

        visit — e.g. only the three supermarkets on your street.


        Each group carries a `representative_product` with `name`, `price`,

        `original_price`, `savings_percentage`, `image_url`, `product_url` and

        `valid_from`/`valid_until`. Cache the response by all means, but check

        `valid_until` before you render it: promotion weeks roll over mid-week and a

        cached deal can expire between two of your refreshes.'
      operationId: list_top_deals
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 50
          minimum: 1
          description: Number of deals per list
          default: 10
          title: Limit
        description: Number of deals per list
      - name: min_savings
        in: query
        required: false
        schema:
          type: number
          maximum: 100
          minimum: 0
          description: Minimum savings percentage
          default: 10.0
          title: Min Savings
        description: Minimum savings percentage
      - name: retailer
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: 'Retailer key: the same value as `retailer` in every response. Each host has its own: www.prijsprofeet.nl: `albert_heijn`, `jumbo`, `aldi`, `lidl`, `ekoplaza`, `plus`, `poiesz`, `spar`, `nettorama`, `boni`, `coop`, `gewoon_coop`, `mcd`, `boons_markt`, `dagwinkel`, `amazing_oriental`, `dekamarkt`, `hoogvliet`, `vomar`, `dirk`; www.prijsprofeet.be: `delhaize`, `albert_heijn_be`, `colruyt`, `bioplanet`, `spar_be`, `intermarche`, `carrefour`, `aldi_be`, `lidl_be`, `jumbo_be`; www.prijsprofeet.de: `aldi_sued`. Repeat the parameter to pass several: `?retailer=albert_heijn&retailer=jumbo`. Hyphenated keys (`albert-heijn`) are accepted too.'
          title: Retailer
        description: 'Retailer key: the same value as `retailer` in every response. Each host has its own: www.prijsprofeet.nl: `albert_heijn`, `jumbo`, `aldi`, `lidl`, `ekoplaza`, `plus`, `poiesz`, `spar`, `nettorama`, `boni`, `coop`, `gewoon_coop`, `mcd`, `boons_markt`, `dagwinkel`, `amazing_oriental`, `dekamarkt`, `hoogvliet`, `vomar`, `dirk`; www.prijsprofeet.be: `delhaize`, `albert_heijn_be`, `colruyt`, `bioplanet`, `spar_be`, `intermarche`, `carrefour`, `aldi_be`, `lidl_be`, `jumbo_be`; www.prijsprofeet.de: `aldi_sued`. Repeat the parameter to pass several: `?retailer=albert_heijn&retailer=jumbo`. Hyphenated keys (`albert-heijn`) are accepted too.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TopDealsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '403':
          description: 'Can occur without a key: the anti-scraping protection refuses a User-Agent containing `bot`, `crawler`, `spider` or `slurp` on most routes, and `www.prijsprofeet.de` refuses a route or chain that storefront does not serve.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many requests. Wait the number of seconds in `Retry-After`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            Retry-After:
              description: Seconds until a retry makes sense.
              schema:
                type: integer
        '503':
          description: Temporary outage on our side. Retry after `Retry-After`, if present.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            Retry-After:
              description: Seconds until a retry makes sense.
              schema:
                type: integer
      security:
      - {}
      - ApiKeyAuth: []
    servers:
    - url: https://www.prijsprofeet.nl
      description: Dutch chains
    - url: https://www.prijsprofeet.be
      description: Belgian chains
    - url: https://www.prijsprofeet.de
      description: German chains; only `aldi_sued`, with exactly one `retailer=` on `/api/v1/products`, `/api/v1/products/changes`, `/api/v1/search`, or `/api/v1/products/retailer/{retailer}`
  /api/v1/deals/brand/{brand}:
    get:
      tags:
      - Deals
      summary: Get Brand Deals
      description: 'Get all deals for a specific brand.


        Use this to show all variants when a user clicks on a deal group.'
      operationId: list_brand_deals
      parameters:
      - name: brand
        in: path
        required: true
        schema:
          type: string
          title: Brand
      - name: promotion_type
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Filter by promotion type
          title: Promotion Type
        description: Filter by promotion type
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 200
          minimum: 1
          description: Max products to return
          default: 50
          title: Limit
        description: Max products to return
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DealProduct'
                title: Response 200 List Brand Deals
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '403':
          description: 'Can occur without a key: the anti-scraping protection refuses a User-Agent containing `bot`, `crawler`, `spider` or `slurp` on most routes, and `www.prijsprofeet.de` refuses a route or chain that storefront does not serve.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many requests. Wait the number of seconds in `Retry-After`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            Retry-After:
              description: Seconds until a retry makes sense.
              schema:
                type: integer
        '503':
          description: Temporary outage on our side. Retry after `Retry-After`, if present.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            Retry-After:
              description: Seconds until a retry makes sense.
              schema:
                type: integer
      security:
      - {}
      - ApiKeyAuth: []
    servers:
    - url: https://www.prijsprofeet.nl
      description: Dutch chains
    - url: https://www.prijsprofeet.be
      description: Belgian chains
    - url: https://www.prijsprofeet.de
      description: German chains; only `aldi_sued`, with exactly one `retailer=` on `/api/v1/products`, `/api/v1/products/changes`, `/api/v1/search`, or `/api/v1/products/retailer/{retailer}`
  /api/v1/deals/summary:
    get:
      tags:
      - Deals
      summary: Deals Summary Endpoint
      description: 'Aggregate stats: total products, retailer count, max discount, last updated.'
      operationId: get_deals_summary
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DealsSummary'
        '403':
          description: 'Can occur without a key: the anti-scraping protection refuses a User-Agent containing `bot`, `crawler`, `spider` or `slurp` on most routes, and `www.prijsprofeet.de` refuses a route or chain that storefront does not serve.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many requests. Wait the number of seconds in `Retry-After`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            Retry-After:
              description: Seconds until a retry makes sense.
              schema:
                type: integer
        '503':
          description: Temporary outage on our side. Retry after `Retry-After`, if present.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            Retry-After:
              description: Seconds until a retry makes sense.
              schema:
                type: integer
      security:
      - {}
      - ApiKeyAuth: []
    servers:
    - url: https://www.prijsprofeet.nl
      description: Dutch chains
    - url: https://www.prijsprofeet.be
      description: Belgian chains
    - url: https://www.prijsprofeet.de
      description: German chains; only `aldi_sued`, with exactly one `retailer=` on `/api/v1/products`, `/api/v1/products/changes`, `/api/v1/search`, or `/api/v1/products/retailer/{retailer}`
  /api/v1/deals/popular:
    get:
      tags:
      - Deals
      summary: Popular Deals Endpoint
      description: Most-clicked products from the last 7 days.
      operationId: list_popular_deals
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 30
          minimum: 1
          default: 10
          title: Limit
      - name: retailer
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: 'Retailer key: the same value as `retailer` in every response. Each host has its own: www.prijsprofeet.nl: `albert_heijn`, `jumbo`, `aldi`, `lidl`, `ekoplaza`, `plus`, `poiesz`, `spar`, `nettorama`, `boni`, `coop`, `gewoon_coop`, `mcd`, `boons_markt`, `dagwinkel`, `amazing_oriental`, `dekamarkt`, `hoogvliet`, `vomar`, `dirk`; www.prijsprofeet.be: `delhaize`, `albert_heijn_be`, `colruyt`, `bioplanet`, `spar_be`, `intermarche`, `carrefour`, `aldi_be`, `lidl_be`, `jumbo_be`; www.prijsprofeet.de: `aldi_sued`. Repeat the parameter to pass several, like `/deals/top`.'
          title: Retailer
        description: 'Retailer key: the same value as `retailer` in every response. Each host has its own: www.prijsprofeet.nl: `albert_heijn`, `jumbo`, `aldi`, `lidl`, `ekoplaza`, `plus`, `poiesz`, `spar`, `nettorama`, `boni`, `coop`, `gewoon_coop`, `mcd`, `boons_markt`, `dagwinkel`, `amazing_oriental`, `dekamarkt`, `hoogvliet`, `vomar`, `dirk`; www.prijsprofeet.be: `delhaize`, `albert_heijn_be`, `colruyt`, `bioplanet`, `spar_be`, `intermarche`, `carrefour`, `aldi_be`, `lidl_be`, `jumbo_be`; www.prijsprofeet.de: `aldi_sued`. Repeat the parameter to pass several, like `/deals/top`.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DealProduct'
                title: Response 200 List Popular Deals
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '403':
          description: 'Can occur without a key: the anti-scraping protection refuses a User-Agent containing `bot`, `crawler`, `spider` or `slurp` on most routes, and `www.prijsprofeet.de` refuses a route or chain that storefront does not serve.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many requests. Wait the number of seconds in `Retry-After`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            Retry-After:
              description: Seconds until a retry makes sense.
              schema:
                type: integer
        '503':
          description: Temporary outage on our side. Retry after `Retry-After`, if present.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            Retry-After:
              description: Seconds until a retry makes sense.
              schema:
                type: integer
      security:
      - {}
      - ApiKeyAuth: []
    servers:
    - url: https://www.prijsprofeet.nl
      description: Dutch chains
    - url: https://www.prijsprofeet.be
      description: Belgian chains
    - url: https://www.prijsprofeet.de
      description: German chains; only `aldi_sued`, with exactly one `retailer=` on `/api/v1/products`, `/api/v1/products/changes`, `/api/v1/search`, or `/api/v1/products/retailer/{retailer}`
  /api/v1/deals/by-type:
    get:
      tags:
      - Deals
      summary: Deals By Type Endpoint
      description: Products matching a promotion type keyword.
      operationId: list_deals_by_type
      parameters:
      - name: type
        in: query
        required: true
        schema:
          type: string
          description: 'A mechanism or a word from the promotion label. A term that names a mechanism returns every promotion of that `promotion_type`: ''1+1'' and ''2e halve prijs'' are `one_plus_one`, ''3 voor 5'' is `multi_buy`, ''25% korting'' is `percentage`. Any other term matches one word of the label exactly as the retailer writes it (e.g. ''OP=OP''). A term that matches nothing returns an empty list.'
          title: Type
        description: 'A mechanism or a word from the promotion label. A term that names a mechanism returns every promotion of that `promotion_type`: ''1+1'' and ''2e halve prijs'' are `one_plus_one`, ''3 voor 5'' is `multi_buy`, ''25% korting'' is `percentage`. Any other term matches one word of the label exactly as the retailer writes it (e.g. ''OP=OP''). A term that matches nothing returns an empty list.'
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 30
          minimum: 1
          default: 10
          title: Limit
      - name: retailer
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: 'Retailer key: the same value as `retailer` in every response. Each host has its own: www.prijsprofeet.nl: `albert_heijn`, `jumbo`, `aldi`, `lidl`, `ekoplaza`, `plus`, `poiesz`, `spar`, `nettorama`, `boni`, `coop`, `gewoon_coop`, `mcd`, `boons_markt`, `dagwinkel`, `amazing_oriental`, `dekamarkt`, `hoogvliet`, `vomar`, `dirk`; www.prijsprofeet.be: `delhaize`, `albert_heijn_be`, `colruyt`, `bioplanet`, `spar_be`, `intermarche`, `carrefour`, `aldi_be`, `lidl_be`, `jumbo_be`; www.prijsprofeet.de: `aldi_sued`. Repeat the parameter to pass several, like `/deals/top`.'
          title: Retailer
        description: 'Retailer key: the same value as `retailer` in every response. Each host has its own: www.prijsprofeet.nl: `albert_heijn`, `jumbo`, `aldi`, `lidl`, `ekoplaza`, `plus`, `poiesz`, `spar`, `nettorama`, `boni`, `coop`, `gewoon_coop`, `mcd`, `boons_markt`, `dagwinkel`, `amazing_oriental`, `dekamarkt`, `hoogvliet`, `vomar`, `dirk`; www.prijsprofeet.be: `delhaize`, `albert_heijn_be`, `colruyt`, `bioplanet`, `spar_be`, `intermarche`, `carrefour`, `aldi_be`, `lidl_be`, `jumbo_be`; www.prijsprofeet.de: `aldi_sued`. Repeat the parameter to pass several, like `/deals/top`.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DealProduct'
                title: Response 200 List Deals By Type
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '403':
          description: 'Can occur without a key: the anti-scraping protection refuses a User-Agent containing `bot`, `crawler`, `spider` or `slurp` on most routes, and `www.prijsprofeet.de` refuses a route or chain that storefront does not serve.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many requests. Wait the number of seconds in `Retry-After`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            Retry-After:
              description: Seconds until a retry makes sense.
              schema:
                type: integer
        '503':
          description: Temporary outage on our side. Retry after `Retry-After`, if present.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            Retry-After:
              description: Seconds until a retry makes sense.
              schema:
                type: integer
      security:
      - {}
      - ApiKeyAuth: []
    servers:
    - url: https://www.prijsprofeet.nl
      description: Dutch chains
    - url: https://www.prijsprofeet.be
      description: Belgian chains
    - url: https://www.prijsprofeet.de
      description: German chains; only `aldi_sued`, with exactly one `retailer=` on `/api/v1/products`, `/api/v1/products/changes`, `/api/v1/search`, or `/api/v1/products/retailer/{retailer}`
  /api/v1/deals/new:
    get:
      tags:
      - Deals
      summary: New Deals Endpoint
      description: Products scraped this week, sorted by most recent.
      operationId: list_new_deals
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 30
          minimum: 1
          default: 10
          title: Limit
      - name: retailer
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: 'Retailer key: the same value as `retailer` in every response. Each host has its own: www.prijsprofeet.nl: `albert_heijn`, `jumbo`, `aldi`, `lidl`, `ekoplaza`, `plus`, `poiesz`, `spar`, `nettorama`, `boni`, `coop`, `gewoon_coop`, `mcd`, `boons_markt`, `dagwinkel`, `amazing_oriental`, `dekamarkt`, `hoogvliet`, `vomar`, `dirk`; www.prijsprofeet.be: `delhaize`, `albert_heijn_be`, `colruyt`, `bioplanet`, `spar_be`, `intermarche`, `carrefour`, `aldi_be`, `lidl_be`, `jumbo_be`; www.prijsprofeet.de: `aldi_sued`. Repeat the parameter to pass several, like `/deals/top`.'
          title: Retailer
        description: 'Retailer key: the same value as `retailer` in every response. Each host has its own: www.prijsprofeet.nl: `albert_heijn`, `jumbo`, `aldi`, `lidl`, `ekoplaza`, `plus`, `poiesz`, `spar`, `nettorama`, `boni`, `coop`, `gewoon_coop`, `mcd`, `boons_markt`, `dagwinkel`, `amazing_oriental`, `dekamarkt`, `hoogvliet`, `vomar`, `dirk`; www.prijsprofeet.be: `delhaize`, `albert_heijn_be`, `colruyt`, `bioplanet`, `spar_be`, `intermarche`, `carrefour`, `aldi_be`, `lidl_be`, `jumbo_be`; www.prijsprofeet.de: `aldi_sued`. Repeat the parameter to pass several, like `/deals/top`.'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DealProduct'
                title: Response 200 List New Deals
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '403':
          description: 'Can occur without a key: the anti-scraping protection refuses a User-Agent containing `bot`, `crawler`, `spider` or `slurp` on most routes, and `www.prijsprofeet.de` refuses a route or chain that storefront does not serve.'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many requests. Wait the number of seconds in `Retry-After`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            Retry-After:
              description: Seconds until a retry makes sense.
              schema:
                type: integer
        '503':
          description: Temporary outage on our side. Retry after `Retry-After`, if present.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            Retry-After:
              description: Seconds until a retry makes sense.
              schema:
                type: integer
      security:
      - {}
      - ApiKeyAuth: []
    servers:
    - url: https://www.prijsprofeet.nl
      description: Dutch chains
    - url: https://www.prijsprofeet.be
      description: Belgian chains
    - url: https://www.prijsprofeet.de
      description: German chains; only `aldi_sued`, with exactly one `retailer=` on `/api/v1/products`, `/api/v1/products/changes`, `/api/v1/search`, or `/api/v1/products/retailer/{retailer}`
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    Error:
      type: object
      title: Error
      required:
      - detail
      properties:
        detail:
          type: string
          description: What went wrong and what you can do.
        error:
          type: string
          description: Short name of the error, for example `Forbidden`.
        retry_after:
          type:
          - integer
          - 'null'
          description: 'On a 429: seconds until a retry makes sense.'
    DealProduct:
      properties:
        product_id:
          type: string
          title: Product Id
        name:
          type: string
          title: Name
        brand:
          anyOf:
          - type: string
          - type: 'null'
          title: Brand
        price:
          type: number
          title: Price
          description: Promotion price per item
        original_price:
          anyOf:
          - type: number
          - type: 'null'
          title: Original Price
          description: Price before the promotion
        savings_percentage:
          anyOf:
          - type: number
          - type: 'null'
          title: Savings Percentage
        savings_amount:
          anyOf:
          - type: number
          - type: 'null'
          title: Savings Amount
        promotion_type:
          anyOf:
          - type: string
          - type: 'null'
          title: Promotion Type
          description: Mechanism, one value of the `promotion_type` vocabulary
        promotional_keywords:
          anyOf:
          - items:
              type: string
            type: array
          - type: 'null'
          title: Promotional Keywords
        image_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Image Url
        product_url:
          anyOf:
          - type: string
          - type: 'null'
          title: Product Url
          description: The retailer's product page
        retailer:
          type: string
          title: Retailer
        quantity:
          anyOf:
          - type: string
          - type: 'null'
          title: Quantity
          description: Pack size as the retailer states it
        valid_from:
          anyOf:
          - type: string
          - type: 'null'
          title: Valid From
          description: First day (ISO date)
        valid_until:
          anyOf:
          - type: string
          - type: 'null'
          title: Valid Until
          description: Last day (ISO date)
        is_lowest_price:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Lowest Price
          description: 'Not on /deals/brand: lowest price in our history for this product'
        weeks_at_lowest:
          anyOf:
          - type: integer
          - type: 'null'
          title: Weeks At Lowest
          description: Not on /deals/brand
        avg_price_4w:
          anyOf:
          - type: number
          - type: 'null'
          title: Avg Price 4W
          description: 'Not on /deals/brand: average price over the last four weeks'
        is_new_this_week:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is New This Week
          description: Not on /deals/brand
        promotion_status:
          anyOf:
          - type: string
          - type: 'null'
          title: Promotion Status
          description: Only on /deals/brand
        unified_category:
          anyOf:
          - type: string
          - type: 'null'
          title: Unified Category
          description: Only on /deals/brand
      type: object
      required:
      - product_id
      - name
      - price
      - retailer
      title: DealProduct
      description: 'One promotion as the /deals list endpoints return it. A field the row does

        not carry is left out, not sent as null.'
    TopDealsResponse:
      properties:
        top_by_percentage:
          items:
            $ref: '#/components/schemas/DealGroup'
          type: array
          title: Top By Percentage
        top_by_amount:
          items:
            $ref: '#/components/schemas/DealGroup'
          type: array
          title: Top By Amount
      type: object
      required:
      - top_by_percentage
      - top_by_amount
      title: TopDealsResponse
      description: Response with top deals by percentage and amount
    DealsSummary:
      properties:
        total_products:
          type: integer
          title: Total Products
          description: Running promotions in this storefront
        retailer_count:
          type: integer
          title: Retailer Count
        max_discount_pct:
          type: integer
          title: Max Discount Pct
        last_updated:
          anyOf:
          - type: string
          - type: 'null'
          title: Last Updated
          description: Latest scrape (ISO 8601)
        expiring_today:
          type: integer
          title: Expiring Today
          description: Promotions whose last day is today
      type: object
      required:
      - total_products
      - retailer_count
      - max_discount_pct
      - expiring_today
      title: DealsSummary
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    DealGroup:
      properties:
        brand:
          anyOf:
          - type: string
          - type: 'null'
          title: Brand
        promotion_type:
          type: string
          title: Promotion Type
        variant_count:
          type: integer
          title: Variant Count
        savings_percentage:
          anyOf:
          - type: number
          - type: 'null'
          title: Savings Percentage
        savings_amount:
          anyOf:
          - type: number
          - type: 'null'
          title: Savings Amount
        retailer:
          anyOf:
          - type: string
          - type: 'null'
          title: Retailer
        representative_product:
          additionalProperties: true
          type: object
          title: Representative Product
      type: object
      required:
      - brand
      - promotion_type
      - variant_count
      - representative_product
      title: DealGroup
      description: A group of products with the same brand and promotion type
    Error_2:
      type: object
      title: Error
      required:
      - detail
      properties:
        detail:
          type: string
          description: Wat er misging en wat je kunt doen.
        error:
          type: string
          description: Korte naam van de fout, bijvoorbeeld `Forbidden`.
        retry_after:
          type:
          - integer
          - 'null'
          description: 'Bij een 429: seconden tot een nieuwe poging.'
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: Partner key, sent as the `X-API-Key` header. Required on the endpoints marked with a lock; most of those also need a paid plan (trial, pro or business). Optional everywhere else — the Gratis tier needs no key — but sending it raises your rate limit from the anonymous per-endpoint caps to your plan's. An unknown key on an optional endpoint is served as keyless, with an `X-PrijsProfeet-Notice` header. Request one at /api.
x-refined-from:
- prijsprofeet-nl-openapi-en-openapi.json
- prijsprofeet-nl-openapi.json