Koskamo

BestPrice MCP

An official MCP server by BestPrice.gr that allows AI agents to search for products, compare offers including shipping costs, and view price history for the Greek market. It provides read-only shopping assistance without completing purchases.

Endpoint and access

No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.

BestPrice MCP logo, by BestPriceVendor evidenceStreamable HTTPNo sign-inEndpoint checked 2026-11-23Operated by BestPrice
MCP endpoint (Streamable HTTP)
https://mcp.bestprice.gr/mcp
Vendor documentation

What its tools do

6 tools, grouped by the hints the server advertises. Hints are self-declared, not verified behavior.

6 of 6 have a description · 6 of 6 declare behavior hints · 6 of 6 with parameters document them all

Checks and signals

Each line is separate evidence, not a trust score.

  • Passed Endpoint answered the live check ·
  • Passed Official MCP Registry namespace is tied to bestprice.gr ·
  • Passed Endpoint is on the registry namespace domain ·
  • Uptime 100% over 90 days
  • Availability 2 of 2 checks passed in 30 days
  • Popularity 8 GitHub stars

What you can do with it

  • Search for products within a specific budget
  • Compare final costs including shipping
  • Check price history trends
  • Organize multi-item shopping lists

Source and maintenance

Vendor evidenceRegistry 1.8.5Apache-2.0
Last repository push
Latest release
v2.9.0
Maintenance checked

Protocol and capabilities

Server
bestprice-agent-commerce 1.9.0
MCP protocol negotiated in check
2025-11-25
Tools
6 advertised
Resources
4 advertised
Resource templates
0 advertised
Prompts
Not advertised
Server-advertised capabilities
{
  "tools": {
    "listChanged": true
  },
  "events": {},
  "resources": {
    "listChanged": true
  },
  "extensions": {
    "io.modelcontextprotocol/skills": {}
  }
}

Server-provided instructions

Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.

Use BestPrice for shopping decisions about physical products sold in Greece. Match the BestPrice tool to the original request. get_shopping_decision fits what-should-I-buy questions, needs, budgets, trade-offs, comparisons, a read-only basket plan, and a should-I-buy or is-now-a-good-time question about a named product. The call takes the request as written. A completed result covers that buying question and returns selected products, reasons, trade-offs, and unknowns. search_products fits a known product, model, or a request for a product_id. A matching result is the lookup. compare_offers fits current Greek merchant prices, shipping, or a delivered total, when the original request asks for them. A delivered total uses a shopper-supplied Greek postcode. get_price_history fits a request for price history, including whether today's price is low, typical, or high. It returns observed prices. BestPrice does not provide price forecasts or target prices; get_price_history reports historical data only. get_shopping_decision, search_products, compare_offers, and get_price_history are read-only. They return catalog, offer, and history data. They do not place orders, and they do not read purchase or browsing history. A get_shopping_decision basket plan may name two to five products with one aggregate budget or a budget per item, several units of one product, or at least two exact returned bp_<id> products. A completed plan requires a five-digit Greek postcode. A search_products price_from is a catalog minimum before shipping, not a buyable quote. It is not a compare_offers line, and it does not combine with a compare_offers total for another product. Unknown shipping is not free. A basket item in a category the Shopping Brain does not cover is named as not covered and left out of the plan, never silently dropped. When the shopper requires every item, or an item is unidentified, the result is a request for that item instead of a plan. When get_shopping_decision does not cover a category, the catalog_candidates and search_products fields in that result are BestPrice catalog results for the category. When check_deal is advertised, an offer URL, barcode, or visible identity text fits check_deal. The result is an identity check of the supplied text. When save_shopping_comparison, get_saved_comparisons, and update_saved_comparison are advertised, an explicit request to save, reopen, or recheck a comparison fits those tools. They manage comparisons the shopper deliberately saved under comparisons:manage consent. Stored prices retain their original check times. A recheck compares the same exact products and destination with an immutable baseline. No_match candidates and unknown requirements do not become recommendations when saved. Hosts that support MCP Skills can load skill://bestprice-shopping/SKILL.md for this same routing and for these evidence limits. BestPrice results describe the returned BestPrice catalog and merchant offers; they do not establish prices or availability on other marketplaces. Product-level stock does not confirm a requested size, color, capacity, bundle or other exact variant; absent variant-specific evidence remains unconfirmed. A result with an unconfirmed requested requirement is not a confirmed exact match. The no_match and clarification outcomes are not recommendations, even when products contains browsing candidates. An explicit comparison that also uses sources obtained outside BestPrice is a separate record from the BestPrice result. The BestPrice facts in that comparison are the returned variants, checked times, and shipping bases. Personal shopping assistance and occasional lookups only. Systematic or automated price or competitor monitoring by anyone, including sellers and merchants for their own use, bulk extraction, storing or reselling data, and building commercial, competitive-intelligence or price-monitoring tools are prohibited without written permission. Rate and volume limits are enforced and unpublished. Terms: https://www.bestprice.gr/policies/terms — Contact: feedback@bestprice.gr. Optional personal saved comparisons provided by BestPrice remain subject to their own authorization and consent. Returned BestPrice links open a non-billable BestPrice product landing. The exact URL in the tool result is that landing. get_shopping_decision's structuredContent carries summary evidence by default. evidence_detail "full" returns every claim and source. Structured results preserve the returned facts on every host, including bounded offers, history windows, reasons, alternatives, attributes, and resolvable evidence references. A client name or card metadata does not establish that the optional MCP Apps UI was displayed. When a card is displayed, the card shows the lists and tables in the result. When no card is displayed, the structured result is the returned record. Prices, counts, verdicts, and uncertainty in a result are the returned values. They do not include a price forecast or a target price. Each tool mirrors its bounded JSON result in TextContent. A large get_shopping_decision result is mirrored as a compact projection without its evidence ledger.

Tools

6 advertised

get_shopping_decision — Get a BestPrice shopping decision
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Provides read-only shopping recommendations, product comparisons, purchase-timing context, and basket plans for physical products sold in Greece. Accepts only a concise current shopping request with a budget, required specifications, and relevant corrections, excluding chat transcripts and unrelated personal data. Uses the same Shopping Brain as BestPrice Ask and returns selected products, reasons, tradeoffs, typed catalog attributes, checked offer and historical-price context, evidence references, and unknowns. Each product-family decision starts with one bounded catalog page and returns at most four candidates per slot. A failed recommendation may check a small set of externally discovered models against BestPrice. Basket plans accept two to five product slots, or several units of one product, under one aggregate budget or a budget per item, or at least two exact grouped bp_<id> products, and require a five-digit Greek delivery postcode. Product prices exclude shipping; unknown delivery costs remain unknown. A basket item in a category the Shopping Brain does not cover is named and left out of the plan; unidentified items, or a basket that must include every item, require clarification. Does not place orders, create alerts, access account history, or predict future prices.

get_shopping_decision input schema
{
  "type": "object",
  "required": [
    "message"
  ],
  "properties": {
    "message": {
      "type": "string",
      "maxLength": 2000,
      "minLength": 1,
      "description": "A concise current shopping request with only relevant budget, required specifications and user corrections. No chat transcripts or unrelated personal data. Greek and English are accepted."
    },
    "postal_code": {
      "type": "string",
      "pattern": "^(?:[1-7][0-9]{4}|8[0-5][0-9]{3})$",
      "description": "Optional Greek delivery postcode (five digits, 10000 to 85999) supplied by the user. It is required for basket plans; without it, shipping and delivered totals remain unknown."
    },
    "request_state": {
      "type": "string",
      "maxLength": 65536,
      "description": "Return the previous signed request_state unchanged for a follow-up; send only the new shopper message."
    },
    "evidence_detail": {
      "enum": [
        "summary",
        "full"
      ],
      "type": "string",
      "default": "summary",
      "description": "Optional evidence depth. 'summary' (default) returns only the claims this result cites by id (typed attributes, price history), the claims they are derived from and the sources they cite, and counts what it omits. 'full' returns every returned-product claim and source, including each offer's field receipts, complete spec sheets and ranking inputs; it is several times larger."
    },
    "skip_clarification": {
      "type": "boolean",
      "description": "Set true only when the shopper chooses Skip on an opening clarification. Mandatory criteria are still enforced."
    }
  },
  "additionalProperties": false
}
get_shopping_decision output schema
{
  "type": "object",
  "$defs": {
    "__schema0": {
      "type": "string",
      "pattern": "^[1-9][0-9]*\\.[0-9]+$",
      "description": "Result schema version. Currently 2.0; a later <major>.<minor> is returned without a tools/list change."
    },
    "__schema1": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    },
    "__schema2": {
      "type": "string",
      "const": "EUR"
    },
    "__schema3": {
      "type": "string",
      "const": "el-GR"
    },
    "__schema4": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/__schema5"
      },
      "maxItems": 20
    },
    "__schema5": {
      "type": "string",
      "maxLength": 240,
      "minLength": 1
    },
    "__schema6": {
      "type": "object",
      "required": [
        "product_id",
        "role",
        "spec_role",
        "reason",
        "pros",
        "cons"
      ],
      "properties": {
        "cons": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema9"
          },
          "maxItems": 2
        },
        "pros": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema8"
          },
          "maxItems": 3
        },
        "role": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*$",
          "maxLength": 100,
          "description": "Role of this recommendation. Known values: recommended, lower_price, alternative. New values are added without a tools/list change."
        },
        "reason": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "spec_role": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "product_id": {
          "$ref": "#/$defs/__schema7"
        }
      }
    },
    "__schema7": {
      "type": "string",
      "pattern": "^bp_[0-9]{10}$"
    },
    "__schema8": {
      "type": "string"
    },
    "__schema9": {
      "type": "string"
    },
    "__schema10": {
      "type": "object",
      "required": [
        "key",
        "label",
        "values",
        "winners",
        "better"
      ],
      "properties": {
        "key": {
          "type": "string"
        },
        "label": {
          "type": "string"
        },
        "better": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*$",
          "maxLength": 100,
          "description": "Direction of the better attribute value. Known values: lower, higher. New values are added without a tools/list change."
        },
        "values": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "winners": {
          "type": "array",
          "items": {
            "type": "integer",
            "maximum": 9007199254740991,
            "minimum": 0
          }
        }
      }
    },
    "__schema11": {
      "type": "string",
      "maxLength": 200
    },
    "__schema12": {
      "type": "string",
      "pattern": "^bp_[0-9]{10}$"
    },
    "__schema13": {
      "type": "object",
      "required": [
        "product_id",
        "label",
        "tradeoff",
        "requires_constraint_change",
        "offer_summary"
      ],
      "properties": {
        "label": {
          "type": "string",
          "maxLength": 240
        },
        "tradeoff": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 500
            },
            {
              "type": "null"
            }
          ]
        },
        "product_id": {
          "$ref": "#/$defs/__schema12"
        },
        "offer_summary": {
          "$ref": "#/$defs/__schema14"
        },
        "requires_constraint_change": {
          "type": "boolean"
        }
      }
    },
    "__schema14": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "postal_code",
            "price_basis",
            "recommended",
            "cheapest",
            "same_offer",
            "recommendation_reason",
            "budget_eur",
            "recommended_within_budget",
            "cheapest_within_budget",
            "compared_offer_count",
            "unknown_shipping_count"
          ],
          "properties": {
            "cheapest": {
              "anyOf": [
                {
                  "$ref": "#/$defs/__schema16"
                },
                {
                  "type": "null"
                }
              ]
            },
            "budget_eur": {
              "anyOf": [
                {
                  "type": "number",
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ]
            },
            "same_offer": {
              "type": "boolean"
            },
            "offer_scope": {
              "type": "string",
              "const": "returned_sample"
            },
            "postal_code": {
              "anyOf": [
                {
                  "$ref": "#/$defs/__schema15"
                },
                {
                  "type": "null"
                }
              ]
            },
            "price_basis": {
              "enum": [
                "item_price",
                "delivered_total"
              ],
              "type": "string"
            },
            "recommended": {
              "anyOf": [
                {
                  "$ref": "#/$defs/__schema16"
                },
                {
                  "type": "null"
                }
              ]
            },
            "affordability": {
              "enum": [
                "unknown",
                "not_requested",
                "over_budget",
                "within_delivered_budget",
                "within_item_budget_delivery_unknown"
              ],
              "type": "string"
            },
            "compared_offer_count": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0
            },
            "recommendation_reason": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 240
                },
                {
                  "type": "null"
                }
              ]
            },
            "cheapest_within_budget": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            },
            "unknown_shipping_count": {
              "type": "integer",
              "maximum": 10,
              "minimum": 0
            },
            "recommended_within_budget": {
              "anyOf": [
                {
                  "type": "boolean"
                },
                {
                  "type": "null"
                }
              ]
            },
            "delivery_affordability_proven": {
              "type": "boolean"
            }
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema15": {
      "type": "string",
      "pattern": "^(?:[1-7][0-9]{4}|8[0-5][0-9]{3})$"
    },
    "__schema16": {
      "type": "object",
      "required": [
        "offer_id",
        "merchant_id",
        "merchant_name",
        "merchant_rating",
        "merchant_rating_count",
        "verified_merchant",
        "item_price",
        "shipping_price",
        "shipping_status",
        "total_price",
        "availability",
        "condition",
        "bundle_status",
        "delivery_estimate",
        "price_checked_at"
      ],
      "properties": {
        "sizes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema41"
          },
          "maxItems": 60
        },
        "colors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema43"
          },
          "maxItems": 20
        },
        "offer_id": {
          "type": "string",
          "pattern": "^bp_offer_[0-9]+$"
        },
        "condition": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*$",
          "maxLength": 100,
          "description": "Item condition; treat an unrecognized value as unknown. Known values: new, refurbished, used, open_box, unknown. New values are added without a tools/list change."
        },
        "item_price": {
          "$ref": "#/$defs/__schema25"
        },
        "phys_attrs": {
          "$ref": "#/$defs/__schema35",
          "description": "Per-offer size and colour inventory exposed by the merchant listing (fashion/footwear)."
        },
        "sizes_repr": {
          "type": "string",
          "maxLength": 400,
          "minLength": 1
        },
        "merchant_id": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^bp_merchant_[0-9]+$"
            },
            {
              "type": "null"
            }
          ]
        },
        "total_price": {
          "$ref": "#/$defs/__schema32"
        },
        "availability": {
          "$ref": "#/$defs/__schema33"
        },
        "bundle_status": {
          "enum": [
            "single",
            "bundle",
            "unknown"
          ],
          "type": "string"
        },
        "merchant_name": {
          "$ref": "#/$defs/__schema17"
        },
        "price_anomaly": {
          "$ref": "#/$defs/__schema27",
          "description": "below_peer_price_range: item price is below 40% of the median of at least two other eligible offers. This listing remains inspectable but requires verification and is excluded from recommendations. Null means this peer-price check did not flag it; it is not a guarantee of price accuracy."
        },
        "shipping_price": {
          "$ref": "#/$defs/__schema28"
        },
        "merchant_rating": {
          "$ref": "#/$defs/__schema20"
        },
        "shipping_status": {
          "$ref": "#/$defs/__schema30"
        },
        "sizes_available": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema42"
          },
          "maxItems": 60
        },
        "price_checked_at": {
          "anyOf": [
            {
              "type": "string",
              "format": "date-time",
              "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
            },
            {
              "type": "null"
            }
          ]
        },
        "delivery_estimate": {
          "$ref": "#/$defs/__schema34"
        },
        "merchant_logo_url": {
          "$ref": "#/$defs/__schema18",
          "description": "BestPrice CDN SVG logo of the store; null when the store has none."
        },
        "verified_merchant": {
          "$ref": "#/$defs/__schema22"
        },
        "certification_level": {
          "$ref": "#/$defs/__schema23"
        },
        "merchant_rating_count": {
          "$ref": "#/$defs/__schema21"
        },
        "shipping_unknown_cause": {
          "$ref": "#/$defs/__schema31",
          "description": "Why shipping is unknown: missing when the store published no usable shipping cost, invalid when it published one this service refuses to trust. Null whenever shipping_status is known or estimated."
        },
        "merchant_logo_raster_url": {
          "$ref": "#/$defs/__schema19",
          "description": "PNG or JPEG logo of the store on the same CDN; null when the store has no logo."
        }
      }
    },
    "__schema17": {
      "type": "string",
      "maxLength": 100,
      "minLength": 1,
      "description": "Sanitized public BestPrice store name."
    },
    "__schema18": {
      "anyOf": [
        {
          "type": "string",
          "format": "uri"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema19": {
      "anyOf": [
        {
          "type": "string",
          "format": "uri"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema20": {
      "anyOf": [
        {
          "type": "number",
          "maximum": 5,
          "minimum": 0
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema21": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 9007199254740991,
          "minimum": 0
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema22": {
      "type": "boolean",
      "description": "True when this is a BestPrice-certified store (Πιστοποιημένο κατάστημα)."
    },
    "__schema23": {
      "$ref": "#/$defs/__schema24",
      "description": "BestPrice certification tier of the store (php/classes/Merchant.php verification_level 1..4); null when not certified."
    },
    "__schema24": {
      "anyOf": [
        {
          "enum": [
            "bronze",
            "silver",
            "gold",
            "platinum"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema25": {
      "$ref": "#/$defs/__schema26",
      "description": "Current item price in EUR before shipping."
    },
    "__schema26": {
      "type": "number",
      "maximum": 10000000,
      "minimum": 0
    },
    "__schema27": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*$",
          "maxLength": 100,
          "description": "Non-null anomaly codes require verification and exclude the listing from recommendations; treat unknown codes conservatively. Known values: below_peer_price_range. New values are added without a tools/list change."
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema28": {
      "$ref": "#/$defs/__schema29",
      "description": "Known or estimated shipping price in EUR; null means unknown."
    },
    "__schema29": {
      "anyOf": [
        {
          "$ref": "#/$defs/__schema26"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema30": {
      "enum": [
        "known",
        "estimated",
        "unknown"
      ],
      "type": "string"
    },
    "__schema31": {
      "anyOf": [
        {
          "enum": [
            "missing",
            "invalid"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema32": {
      "$ref": "#/$defs/__schema29",
      "description": "Item price plus published shipping in EUR; null whenever shipping is unknown. Floor delivery, installation, old-appliance removal, payment fees and additional remote-area charges are not verified by this quote."
    },
    "__schema33": {
      "type": "string",
      "pattern": "^[a-z][a-z0-9_]*$",
      "maxLength": 100,
      "description": "Offer availability; treat an unrecognized value as unknown. Known values: in_stock, delivery_1_3_days, delivery_4_7_days, delivery_4_10_days, delivery_8_14_days, by_order, to_order, preorder, out_of_stock, unknown. New values are added without a tools/list change."
    },
    "__schema34": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 80,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema35": {
      "type": "object",
      "properties": {
        "sizes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema36"
          },
          "maxItems": 60
        },
        "colors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema40"
          },
          "maxItems": 20
        },
        "sizes_uk": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema38"
          },
          "maxItems": 60
        },
        "sizes_us": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema39"
          },
          "maxItems": 60
        },
        "sizes_repr": {
          "type": "string",
          "maxLength": 400,
          "minLength": 1
        },
        "sizes_available": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema37"
          },
          "maxItems": 60
        }
      }
    },
    "__schema36": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
    },
    "__schema37": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
    },
    "__schema38": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
    },
    "__schema39": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
    },
    "__schema40": {
      "type": "string",
      "maxLength": 60,
      "minLength": 1
    },
    "__schema41": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
    },
    "__schema42": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
    },
    "__schema43": {
      "type": "string",
      "maxLength": 60,
      "minLength": 1
    },
    "__schema44": {
      "type": "object",
      "required": [
        "product_id",
        "title",
        "brand",
        "category_title",
        "price_from",
        "decision_id",
        "bestprice_url",
        "image_url"
      ],
      "properties": {
        "brand": {
          "$ref": "#/$defs/__schema46"
        },
        "title": {
          "$ref": "#/$defs/__schema45"
        },
        "image_url": {
          "$ref": "#/$defs/__schema51"
        },
        "price_from": {
          "$ref": "#/$defs/__schema48"
        },
        "product_id": {
          "$ref": "#/$defs/__schema12"
        },
        "decision_id": {
          "$ref": "#/$defs/__schema49"
        },
        "bestprice_url": {
          "$ref": "#/$defs/__schema50"
        },
        "category_title": {
          "$ref": "#/$defs/__schema47"
        }
      }
    },
    "__schema45": {
      "type": "string",
      "maxLength": 220,
      "minLength": 1
    },
    "__schema46": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 80,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema47": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 100,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema48": {
      "$ref": "#/$defs/__schema29",
      "description": "Catalog lowest listed item price in EUR before shipping. Indicative catalog minimum rather than a buyable quote; it may originate from a promoted, out-of-stock, or filtered offer. It has a different basis from returned offer quotes."
    },
    "__schema49": {
      "type": "string",
      "pattern": "^d1\\.[a-f0-9]{32}\\.[A-Za-z0-9_-]{43}$",
      "description": "Signed, anonymous id joining this recommendation to its BestPrice landing and outbound-click telemetry."
    },
    "__schema50": {
      "type": "string",
      "format": "uri"
    },
    "__schema51": {
      "anyOf": [
        {
          "type": "string",
          "format": "uri"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema52": {
      "type": "string"
    },
    "__schema54": {
      "type": "string"
    },
    "__schema55": {
      "type": "string"
    },
    "__schema56": {
      "type": "object",
      "required": [
        "product_id",
        "badges",
        "delivered_offer"
      ],
      "properties": {
        "badges": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema57"
          },
          "maxItems": 4
        },
        "product_id": {
          "$ref": "#/$defs/__schema12"
        },
        "delivered_offer": {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "merchant_name",
                "merchant_rating",
                "merchant_rating_count",
                "verified_merchant",
                "item_price",
                "shipping_price",
                "shipping_status",
                "total_price",
                "availability",
                "delivery_estimate",
                "postal_code"
              ],
              "properties": {
                "item_price": {
                  "$ref": "#/$defs/__schema25"
                },
                "postal_code": {
                  "anyOf": [
                    {
                      "$ref": "#/$defs/__schema15"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "total_price": {
                  "$ref": "#/$defs/__schema32"
                },
                "availability": {
                  "$ref": "#/$defs/__schema33"
                },
                "merchant_name": {
                  "$ref": "#/$defs/__schema17"
                },
                "shipping_price": {
                  "$ref": "#/$defs/__schema28"
                },
                "merchant_rating": {
                  "$ref": "#/$defs/__schema20"
                },
                "shipping_status": {
                  "$ref": "#/$defs/__schema30"
                },
                "delivery_estimate": {
                  "$ref": "#/$defs/__schema34"
                },
                "verified_merchant": {
                  "$ref": "#/$defs/__schema22"
                },
                "certification_level": {
                  "$ref": "#/$defs/__schema23"
                },
                "merchant_rating_count": {
                  "$ref": "#/$defs/__schema21"
                }
              }
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "__schema57": {
      "type": "string",
      "maxLength": 100
    },
    "__schema58": {
      "type": "object",
      "required": [
        "id",
        "label",
        "group",
        "values",
        "differs"
      ],
      "properties": {
        "id": {
          "type": "integer",
          "maximum": 9007199254740991,
          "minimum": -9007199254740991
        },
        "group": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 80
            },
            {
              "type": "null"
            }
          ]
        },
        "label": {
          "type": "string",
          "maxLength": 100
        },
        "values": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema59"
          },
          "maxItems": 4
        },
        "differs": {
          "type": "boolean"
        }
      }
    },
    "__schema59": {
      "type": "object",
      "required": [
        "product_id",
        "value"
      ],
      "properties": {
        "value": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 2000
            },
            {
              "type": "null"
            }
          ]
        },
        "product_id": {
          "$ref": "#/$defs/__schema12"
        }
      }
    },
    "__schema60": {
      "type": "object",
      "required": [
        "plan_type",
        "merchant_count",
        "item_subtotal",
        "shipping_total",
        "shipping_status",
        "total_price",
        "reliability_score",
        "ranking_reason",
        "merchants"
      ],
      "properties": {
        "merchants": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema61"
          },
          "maxItems": 8,
          "minItems": 1
        },
        "plan_type": {
          "enum": [
            "cheapest",
            "fewer_merchants",
            "balanced"
          ],
          "type": "string"
        },
        "total_price": {
          "$ref": "#/$defs/__schema29"
        },
        "item_subtotal": {
          "$ref": "#/$defs/__schema26"
        },
        "merchant_count": {
          "type": "integer",
          "maximum": 8,
          "exclusiveMinimum": 0
        },
        "ranking_reason": {
          "type": "string",
          "maxLength": 180,
          "minLength": 1
        },
        "shipping_total": {
          "$ref": "#/$defs/__schema29"
        },
        "shipping_status": {
          "enum": [
            "known",
            "estimated",
            "unknown",
            "mixed"
          ],
          "type": "string"
        },
        "reliability_score": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 5,
              "minimum": 0
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "__schema61": {
      "type": "object",
      "required": [
        "merchant_id",
        "merchant_name",
        "merchant_rating",
        "verified_merchant",
        "item_subtotal",
        "shipping_price",
        "shipping_status",
        "total_price",
        "reason",
        "items"
      ],
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema63"
          },
          "maxItems": 20,
          "minItems": 1
        },
        "reason": {
          "type": "string",
          "maxLength": 100,
          "minLength": 1
        },
        "merchant_id": {
          "type": "string",
          "pattern": "^bp_merchant_[0-9]+$"
        },
        "total_price": {
          "$ref": "#/$defs/__schema29"
        },
        "item_subtotal": {
          "$ref": "#/$defs/__schema26"
        },
        "merchant_name": {
          "type": "string",
          "maxLength": 100,
          "minLength": 1
        },
        "shipping_price": {
          "$ref": "#/$defs/__schema29"
        },
        "merchant_rating": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 5,
              "minimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "shipping_status": {
          "enum": [
            "known",
            "estimated",
            "unknown"
          ],
          "type": "string"
        },
        "verified_merchant": {
          "type": "boolean",
          "description": "True when this is a BestPrice-certified store (Πιστοποιημένο κατάστημα)."
        },
        "certification_level": {
          "$ref": "#/$defs/__schema62",
          "description": "BestPrice certification tier of the store (php/classes/Merchant.php verification_level 1..4); null when not certified."
        }
      }
    },
    "__schema62": {
      "anyOf": [
        {
          "enum": [
            "bronze",
            "silver",
            "gold",
            "platinum"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema63": {
      "type": "object",
      "required": [
        "product_id",
        "title",
        "quantity",
        "unit_price",
        "line_total",
        "decision_id",
        "bestprice_url"
      ],
      "properties": {
        "title": {
          "type": "string",
          "maxLength": 220,
          "minLength": 1
        },
        "quantity": {
          "type": "integer",
          "maximum": 9007199254740991,
          "exclusiveMinimum": 0
        },
        "line_total": {
          "$ref": "#/$defs/__schema26"
        },
        "product_id": {
          "$ref": "#/$defs/__schema12"
        },
        "unit_price": {
          "$ref": "#/$defs/__schema26"
        },
        "decision_id": {
          "$ref": "#/$defs/__schema49"
        },
        "bestprice_url": {
          "$ref": "#/$defs/__schema50"
        }
      }
    },
    "__schema64": {
      "type": "object",
      "required": [
        "slot_id",
        "family",
        "label",
        "quantity",
        "requirements"
      ],
      "properties": {
        "label": {
          "type": "string",
          "maxLength": 80,
          "minLength": 1
        },
        "family": {
          "$ref": "#/$defs/__schema65"
        },
        "slot_id": {
          "type": "string",
          "pattern": "^slot_[1-9][0-9]?$"
        },
        "quantity": {
          "type": "integer",
          "maximum": 20,
          "minimum": 1
        },
        "requirements": {
          "type": "object",
          "propertyNames": {
            "type": "string"
          }
        }
      }
    },
    "__schema65": {
      "type": "string",
      "pattern": "^[a-z][a-z0-9_]*$",
      "maxLength": 100,
      "description": "Ask product family of the basket slot. Known values: smartwatch, powerbank, kettle, air_fryer, air_conditioner, dishwasher, washer, refrigerator, robot_vacuum, wet_dry_vacuum, stick_vacuum, vacuum, headphones, keyboard, speakers, mouse, chair, filter_coffee, espresso, monitor, tv, router, printer, laptop, tablet, phone, accessories, peripherals, washer_dryer, greek_coffee, clothes_dryer, consoles, projector, drone, scanner, egg_boiler, toaster, bicycle, scooter, fan, foldable_phone, tv_remote, blender, mixer, kitchen_machine, microwave, robot_chef, mini_oven, oven, bread_maker, rice_cooker, steamer, grill, teppanyaki, hob, deep_fryer, juicer, waffle, ice_cream_maker, citrus_press, sandwich_maker, crepe_maker, chocolate_fountain, popcorn_maker, donut_maker, sewing_machine, ice_maker, water_cooler, dehumidifier, humidifier, ionizer, fireplace, wood_stove, pellet_stove, air_curtain, fan_heater, water_heater, halogen_stove, convector, gas_stove, oil_stove, outdoor_stove, infrared_panel, desktop, freezer, software, ereader, games, shoes, books, power_tool, clothing, beauty, baby_transport, unknown. New values are added without a tools/list change."
    },
    "__schema66": {
      "type": "object",
      "required": [
        "slot_id",
        "family",
        "label",
        "quantity",
        "product_id",
        "catalog_price_eur",
        "selection_reason"
      ],
      "properties": {
        "label": {
          "type": "string",
          "maxLength": 80,
          "minLength": 1
        },
        "family": {
          "$ref": "#/$defs/__schema65"
        },
        "slot_id": {
          "type": "string",
          "pattern": "^slot_[1-9][0-9]?$"
        },
        "quantity": {
          "type": "integer",
          "maximum": 20,
          "minimum": 1
        },
        "product_id": {
          "$ref": "#/$defs/__schema67"
        },
        "selection_reason": {
          "type": "string",
          "maxLength": 100,
          "minLength": 1
        },
        "catalog_price_eur": {
          "anyOf": [
            {
              "type": "number",
              "minimum": 0
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "__schema67": {
      "type": "string",
      "pattern": "^bp_[0-9]{10}$"
    },
    "__schema68": {
      "type": "object",
      "required": [
        "slot_id",
        "family",
        "label",
        "quantity",
        "reason"
      ],
      "properties": {
        "label": {
          "type": "string",
          "maxLength": 80,
          "minLength": 1
        },
        "family": {
          "$ref": "#/$defs/__schema65"
        },
        "reason": {
          "type": "string",
          "maxLength": 100,
          "minLength": 1
        },
        "slot_id": {
          "type": "string",
          "pattern": "^slot_[1-9][0-9]?$"
        },
        "quantity": {
          "type": "integer",
          "maximum": 20,
          "minimum": 1
        },
        "candidate_product_id": {
          "$ref": "#/$defs/__schema67"
        }
      }
    },
    "__schema69": {
      "type": "object",
      "required": [
        "question",
        "reason"
      ],
      "properties": {
        "reason": {
          "type": "string",
          "maxLength": 100
        },
        "choices": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema70"
          },
          "maxItems": 5
        },
        "question": {
          "type": "string",
          "maxLength": 2000
        }
      }
    },
    "__schema70": {
      "type": "object",
      "required": [
        "label",
        "message"
      ],
      "properties": {
        "label": {
          "type": "string",
          "maxLength": 100
        },
        "message": {
          "type": "string",
          "maxLength": 2000
        },
        "skip_clarification": {
          "type": "boolean"
        }
      }
    },
    "__schema71": {
      "type": "string"
    },
    "__schema72": {
      "type": "object",
      "required": [
        "version",
        "policy",
        "backend",
        "checked_at",
        "source_observed_at",
        "search_calls",
        "trinity_calls",
        "page",
        "page_size",
        "catalog_total",
        "candidate_count",
        "eligible_count",
        "returned_count",
        "category_id",
        "protected_term_mismatch",
        "ranking_scope"
      ],
      "properties": {
        "page": {
          "type": "integer",
          "maximum": 9007199254740991,
          "exclusiveMinimum": 0
        },
        "policy": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*_v[1-9][0-9]*$",
          "maxLength": 100,
          "description": "Catalog retrieval policy. Currently single_catalog_page_v1; a revised method is returned as a new <name>_v<N> id without a tools/list change."
        },
        "backend": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*(?:\\.[a-z][a-z0-9_-]*)*$",
          "maxLength": 100,
          "description": "Catalog search backend that served the page. Known values: n.products.search, bp.search. New values are added without a tools/list change."
        },
        "version": {
          "type": "string",
          "pattern": "^bestprice_retrieval_v[1-9][0-9]*$",
          "description": "Retrieval receipt version. Currently bestprice_retrieval_v1; a later bestprice_retrieval_v<N> is returned without a tools/list change."
        },
        "page_size": {
          "type": "integer",
          "maximum": 9007199254740991,
          "exclusiveMinimum": 0
        },
        "checked_at": {
          "$ref": "#/$defs/__schema73"
        },
        "category_id": {
          "anyOf": [
            {
              "type": "integer",
              "maximum": 9007199254740991,
              "exclusiveMinimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "search_calls": {
          "type": "integer",
          "maximum": 9007199254740991,
          "description": "Catalog searches the retrieval policy made; currently always 1.",
          "exclusiveMinimum": 0
        },
        "catalog_total": {
          "anyOf": [
            {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "ranking_scope": {
          "type": "string",
          "const": "returned_page"
        },
        "trinity_calls": {
          "anyOf": [
            {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "eligible_count": {
          "type": "integer",
          "maximum": 9007199254740991,
          "minimum": 0
        },
        "returned_count": {
          "type": "integer",
          "maximum": 9007199254740991,
          "minimum": 0
        },
        "candidate_count": {
          "type": "integer",
          "maximum": 9007199254740991,
          "minimum": 0
        },
        "source_observed_at": {
          "anyOf": [
            {
              "$ref": "#/$defs/__schema73"
            },
            {
              "type": "null"
            }
          ]
        },
        "protected_term_mismatch": {
          "type": "boolean"
        }
      }
    },
    "__schema73": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z))$"
    },
    "__schema74": {
      "type": "object",
      "required": [
        "provider",
        "outcome"
      ],
      "properties": {
        "outcome": {
          "type": "string",
          "maxLength": 40
        },
        "provider": {
          "type": "string",
          "maxLength": 30
        }
      }
    },
    "__schema75": {
      "type": "object",
      "required": [
        "brand",
        "model",
        "source_url",
        "source_title",
        "identity_quote",
        "status",
        "product_id",
        "reason"
      ],
      "properties": {
        "brand": {
          "type": "string",
          "maxLength": 50,
          "minLength": 1
        },
        "model": {
          "type": "string",
          "maxLength": 100,
          "minLength": 3
        },
        "reason": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 80
            },
            {
              "type": "null"
            }
          ]
        },
        "status": {
          "enum": [
            "model_family",
            "unresolved"
          ],
          "type": "string"
        },
        "product_id": {
          "anyOf": [
            {
              "type": "string",
              "pattern": "^bp_\\d{10}$"
            },
            {
              "type": "null"
            }
          ]
        },
        "source_url": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 1000
            },
            {
              "type": "null"
            }
          ]
        },
        "source_title": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 240
            },
            {
              "type": "null"
            }
          ]
        },
        "identity_quote": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 700
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "__schema76": {
      "type": "object",
      "required": [
        "product_id",
        "family",
        "attributes"
      ],
      "properties": {
        "family": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*$",
          "maxLength": 100,
          "description": "Catalog attribute family of the product. Known values: laptops, phones, televisions, air_conditioners, air_fryers, espresso_machines, headphones, monitors, mice, refrigerators, vacuums, washing_machines, dishwashers, chairs, keyboards, speakers, tablets, power_banks, smartwatches, printers, routers, desktops, freezers, microwaves, kettles, fans, bicycles, unknown. New values are added without a tools/list change."
        },
        "attributes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema77"
          },
          "maxItems": 12
        },
        "product_id": {
          "$ref": "#/$defs/__schema67"
        }
      }
    },
    "__schema77": {
      "type": "object",
      "required": [
        "key",
        "unit",
        "status",
        "value",
        "claim_ids",
        "source_ids"
      ],
      "properties": {
        "key": {
          "type": "string",
          "maxLength": 64
        },
        "unit": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 32
            },
            {
              "type": "null"
            }
          ]
        },
        "value": {
          "$ref": "#/$defs/__schema78"
        },
        "status": {
          "enum": [
            "known",
            "unknown",
            "conflicting"
          ],
          "type": "string"
        },
        "claim_ids": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema79"
          },
          "maxItems": 96
        },
        "source_ids": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema80"
          },
          "maxItems": 32
        }
      }
    },
    "__schema78": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 2000
        },
        {
          "type": "number"
        },
        {
          "type": "boolean"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema79": {
      "type": "string",
      "maxLength": 160
    },
    "__schema80": {
      "type": "string",
      "maxLength": 160
    },
    "__schema81": {
      "type": "object",
      "required": [
        "product_id",
        "offers",
        "history",
        "not_collected",
        "compatibility"
      ],
      "properties": {
        "offers": {
          "type": "object",
          "required": [
            "status",
            "scope",
            "offer_count",
            "merchant_count",
            "merchant_identity_unknown_count",
            "explicitly_in_stock_count",
            "shipping",
            "item_price",
            "known_delivered_price",
            "estimated_delivered_price",
            "source_ids"
          ],
          "properties": {
            "scope": {
              "type": "string",
              "const": "bounded_returned_offers"
            },
            "status": {
              "enum": [
                "available",
                "unavailable",
                "not_checked",
                "stale",
                "unverified"
              ],
              "type": "string"
            },
            "shipping": {
              "type": "object",
              "required": [
                "known",
                "estimated",
                "unknown"
              ],
              "properties": {
                "known": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "minimum": 0
                },
                "unknown": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "minimum": 0
                },
                "estimated": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "minimum": 0
                }
              }
            },
            "claim_ids": {
              "$ref": "#/$defs/__schema83"
            },
            "item_price": {
              "$ref": "#/$defs/__schema82"
            },
            "source_ids": {
              "$ref": "#/$defs/__schema83"
            },
            "claim_count": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            },
            "offer_count": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            },
            "source_count": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            },
            "merchant_count": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            },
            "known_delivered_price": {
              "$ref": "#/$defs/__schema82"
            },
            "estimated_delivered_price": {
              "$ref": "#/$defs/__schema82"
            },
            "explicitly_in_stock_count": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            },
            "merchant_identity_unknown_count": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            }
          }
        },
        "history": {
          "type": "object",
          "required": [
            "status",
            "basis",
            "windows",
            "source_ids",
            "claim_ids"
          ],
          "properties": {
            "basis": {
              "type": "string",
              "const": "daily_item_minimum"
            },
            "status": {
              "enum": [
                "available",
                "unavailable",
                "not_checked",
                "stale",
                "unverified"
              ],
              "type": "string"
            },
            "windows": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/__schema84"
              },
              "maxItems": 3
            },
            "claim_ids": {
              "$ref": "#/$defs/__schema83"
            },
            "source_ids": {
              "$ref": "#/$defs/__schema83"
            }
          }
        },
        "product_id": {
          "type": "string",
          "pattern": "^bp_[0-9]{10}$"
        },
        "compatibility": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*$",
          "maxLength": 100,
          "description": "Product compatibility assessment. Known values: not_assessed. New values are added without a tools/list change."
        },
        "not_collected": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema86"
          },
          "maxItems": 32,
          "description": "Offer facts BestPrice does not collect: currently returns_policy, warranty, payment_fees, pickup, merchant_feed_updated_at, guaranteed_postcode_delivery. The list changes as facts are collected, without a tools/list change."
        }
      }
    },
    "__schema82": {
      "anyOf": [
        {
          "type": "object",
          "required": [
            "minimum",
            "median",
            "maximum",
            "count"
          ],
          "properties": {
            "count": {
              "type": "integer",
              "maximum": 9007199254740991,
              "exclusiveMinimum": 0
            },
            "median": {
              "type": "number",
              "minimum": 0
            },
            "maximum": {
              "type": "number",
              "minimum": 0
            },
            "minimum": {
              "type": "number",
              "minimum": 0
            }
          }
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema83": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 160
      }
    },
    "__schema84": {
      "type": "object",
      "required": [
        "days",
        "minimum_price",
        "median_price",
        "observations",
        "coverage_pct",
        "claim_ids"
      ],
      "properties": {
        "days": {
          "anyOf": [
            {
              "type": "number",
              "const": 30
            },
            {
              "type": "number",
              "const": 90
            },
            {
              "type": "number",
              "const": 180
            }
          ]
        },
        "claim_ids": {
          "$ref": "#/$defs/__schema83"
        },
        "coverage_pct": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 100,
              "minimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "median_price": {
          "$ref": "#/$defs/__schema85"
        },
        "observations": {
          "anyOf": [
            {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "minimum_price": {
          "$ref": "#/$defs/__schema85"
        }
      }
    },
    "__schema85": {
      "anyOf": [
        {
          "type": "number",
          "minimum": 0
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema86": {
      "type": "string",
      "pattern": "^[a-z][a-z0-9_]*$",
      "maxLength": 100
    },
    "__schema87": {
      "type": "string",
      "const": "catalog_search_unranked"
    },
    "__schema88": {
      "type": "string",
      "maxLength": 400
    },
    "__schema89": {
      "type": "string",
      "maxLength": 200,
      "minLength": 2
    },
    "__schema90": {
      "anyOf": [
        {
          "type": "number",
          "exclusiveMinimum": 0
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema91": {
      "anyOf": [
        {
          "type": "number",
          "exclusiveMinimum": 0
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema92": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/__schema93"
      },
      "maxItems": 4,
      "minItems": 1
    },
    "__schema93": {
      "type": "object",
      "required": [
        "product_id",
        "title",
        "brand",
        "category_title",
        "price_from",
        "availability",
        "offer_count",
        "rating",
        "decision_id",
        "bestprice_url",
        "image_url"
      ],
      "properties": {
        "brand": {
          "$ref": "#/$defs/__schema46"
        },
        "title": {
          "$ref": "#/$defs/__schema45"
        },
        "rating": {
          "anyOf": [
            {
              "$ref": "#/$defs/__schema94"
            },
            {
              "type": "null"
            }
          ],
          "description": "BestPrice shopper rating for this product: average of count first-party ratings. Null when the product has none."
        },
        "image_url": {
          "$ref": "#/$defs/__schema51"
        },
        "price_from": {
          "$ref": "#/$defs/__schema48"
        },
        "product_id": {
          "$ref": "#/$defs/__schema12"
        },
        "decision_id": {
          "$ref": "#/$defs/__schema49"
        },
        "offer_count": {
          "anyOf": [
            {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "availability": {
          "enum": [
            "available",
            "unavailable",
            "unknown"
          ],
          "type": "string"
        },
        "bestprice_url": {
          "$ref": "#/$defs/__schema50"
        },
        "category_title": {
          "$ref": "#/$defs/__schema47"
        }
      }
    },
    "__schema94": {
      "type": "object",
      "required": [
        "average",
        "count"
      ],
      "properties": {
        "count": {
          "type": "integer",
          "maximum": 9007199254740991,
          "exclusiveMinimum": 0
        },
        "average": {
          "type": "number",
          "maximum": 5,
          "minimum": 0
        }
      }
    },
    "__schema95": {
      "type": "object",
      "required": [
        "source_id",
        "kind",
        "record_id",
        "product_id",
        "scope",
        "capability",
        "checked_at",
        "source_observed_at",
        "freshness",
        "max_age_seconds"
      ],
      "properties": {
        "kind": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*$",
          "maxLength": 100,
          "description": "Evidence source kind. Known values: catalog_snapshot, merchant_offer, basket_quote, price_history, review_sample, decision_policy. New values are added without a tools/list change."
        },
        "scope": {
          "enum": [
            "cluster",
            "offer",
            "product_family"
          ],
          "type": "string"
        },
        "freshness": {
          "enum": [
            "fresh",
            "stale",
            "unknown"
          ],
          "type": "string"
        },
        "record_id": {
          "type": "string",
          "maxLength": 160
        },
        "source_id": {
          "type": "string",
          "maxLength": 160
        },
        "capability": {
          "type": "string",
          "maxLength": 40
        },
        "checked_at": {
          "$ref": "#/$defs/__schema73"
        },
        "product_id": {
          "$ref": "#/$defs/__schema67"
        },
        "max_age_seconds": {
          "type": "integer",
          "maximum": 9007199254740991,
          "exclusiveMinimum": 0
        },
        "source_observed_at": {
          "anyOf": [
            {
              "$ref": "#/$defs/__schema73"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "__schema96": {
      "type": "object",
      "required": [
        "claim_id",
        "product_id",
        "field",
        "value",
        "kind",
        "source_ids",
        "validation"
      ],
      "properties": {
        "kind": {
          "enum": [
            "observed",
            "derived"
          ],
          "type": "string"
        },
        "field": {
          "type": "string",
          "maxLength": 100
        },
        "value": {
          "$ref": "#/$defs/__schema78"
        },
        "feature": {
          "type": "object",
          "required": [
            "id",
            "label",
            "group"
          ],
          "properties": {
            "id": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": -9007199254740991
            },
            "group": {
              "type": "string",
              "maxLength": 80
            },
            "label": {
              "type": "string",
              "maxLength": 100
            }
          }
        },
        "claim_id": {
          "type": "string",
          "maxLength": 160
        },
        "product_id": {
          "$ref": "#/$defs/__schema67"
        },
        "source_ids": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema97"
          },
          "maxItems": 32,
          "minItems": 1
        },
        "validation": {
          "type": "string",
          "maxLength": 100
        },
        "supporting_claim_ids": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema98"
          },
          "maxItems": 8,
          "minItems": 1
        }
      }
    },
    "__schema97": {
      "type": "string",
      "maxLength": 160
    },
    "__schema98": {
      "type": "string",
      "maxLength": 160
    },
    "__schema99": {
      "type": "object",
      "required": [
        "code",
        "product_id",
        "message"
      ],
      "properties": {
        "code": {
          "type": "string",
          "maxLength": 100
        },
        "message": {
          "type": "string",
          "maxLength": 500
        },
        "product_id": {
          "anyOf": [
            {
              "$ref": "#/$defs/__schema67"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    }
  },
  "anyOf": [
    {
      "type": "object",
      "required": [
        "schema_version",
        "as_of",
        "currency",
        "locale",
        "warnings",
        "brain",
        "outcome",
        "status",
        "answer",
        "reason",
        "message",
        "blocking_constraints",
        "recommended_product_id",
        "alternatives",
        "products",
        "constraints",
        "reasons",
        "tradeoffs",
        "offer_summary",
        "comparison",
        "basket",
        "basket_request",
        "clarifications",
        "price_verdict",
        "next_action",
        "ranking_policy",
        "retrieval",
        "shopping_context",
        "evidence",
        "uncertainty"
      ],
      "properties": {
        "as_of": {
          "$ref": "#/$defs/__schema1"
        },
        "brain": {
          "type": "object",
          "required": [
            "projection_version",
            "decision_version",
            "decision_id",
            "evidence_fingerprint"
          ],
          "properties": {
            "decision_id": {
              "type": "string",
              "format": "uuid",
              "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"
            },
            "decision_version": {
              "type": "string",
              "pattern": "^bestprice_decision_v[1-9][0-9]*$",
              "description": "Shopping Brain decision contract version. Currently bestprice_decision_v1; a later bestprice_decision_v<N> is returned without a tools/list change."
            },
            "projection_version": {
              "type": "string",
              "pattern": "^bestprice_mcp_decision_v[1-9][0-9]*$",
              "description": "Version of this MCP projection of the decision. Currently bestprice_mcp_decision_v1; a later bestprice_mcp_decision_v<N> is returned without a tools/list change."
            },
            "evidence_fingerprint": {
              "type": "string",
              "pattern": "^[a-f0-9]{64}$",
              "description": "Fingerprint of the original, unmodified Brain evidence; the public evidence below is a returned-product subset."
            }
          }
        },
        "answer": {
          "type": "string",
          "maxLength": 8000
        },
        "basket": {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "schema_version",
                "as_of",
                "currency",
                "locale",
                "warnings",
                "preferred_plan",
                "methodology_id",
                "plans",
                "unavailable_items"
              ],
              "properties": {
                "as_of": {
                  "$ref": "#/$defs/__schema1"
                },
                "plans": {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/__schema60"
                  },
                  "maxItems": 3
                },
                "locale": {
                  "$ref": "#/$defs/__schema3"
                },
                "currency": {
                  "$ref": "#/$defs/__schema2"
                },
                "warnings": {
                  "$ref": "#/$defs/__schema4"
                },
                "methodology_id": {
                  "type": "string",
                  "pattern": "^[a-z][a-z0-9_]*_v[1-9][0-9]*$",
                  "maxLength": 100,
                  "description": "Basket planning method. Currently bestprice_basket_bounded_v1; a revised method is returned as a new <name>_v<N> id without a tools/list change."
                },
                "preferred_plan": {
                  "anyOf": [
                    {
                      "enum": [
                        "cheapest",
                        "fewer_merchants",
                        "balanced"
                      ],
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "schema_version": {
                  "$ref": "#/$defs/__schema0"
                },
                "unavailable_items": {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/__schema12"
                  },
                  "maxItems": 20
                }
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "locale": {
          "$ref": "#/$defs/__schema3"
        },
        "reason": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 160
            },
            {
              "type": "null"
            }
          ]
        },
        "status": {
          "enum": [
            "ready",
            "no_match",
            "needs_input"
          ],
          "type": "string"
        },
        "message": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 8000
            },
            {
              "type": "null"
            }
          ]
        },
        "outcome": {
          "enum": [
            "recommendation",
            "no_match",
            "clarification",
            "answer",
            "comparison",
            "basket"
          ],
          "type": "string"
        },
        "reasons": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema54"
          },
          "maxItems": 24
        },
        "currency": {
          "$ref": "#/$defs/__schema2"
        },
        "evidence": {
          "type": "object",
          "required": [
            "scope",
            "sources",
            "claims"
          ],
          "properties": {
            "note": {
              "type": "string",
              "maxLength": 400
            },
            "scope": {
              "type": "string",
              "const": "returned_products"
            },
            "claims": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/__schema96"
              },
              "maxItems": 4096
            },
            "detail": {
              "type": "string",
              "const": "summary"
            },
            "sources": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/__schema95"
              },
              "maxItems": 256
            },
            "omitted_claim_count": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            },
            "omitted_source_count": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            }
          }
        },
        "products": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema44"
          },
          "maxItems": 4
        },
        "warnings": {
          "$ref": "#/$defs/__schema4"
        },
        "near_miss": {
          "type": "object",
          "required": [
            "over_by_eur"
          ],
          "properties": {
            "over_by_eur": {
              "type": "number"
            }
          }
        },
        "retrieval": {
          "type": "object",
          "required": [
            "scope",
            "candidate_count",
            "complete_catalog",
            "search_calls",
            "receipt"
          ],
          "properties": {
            "scope": {
              "enum": [
                "returned_page",
                "exact_products",
                "not_searched"
              ],
              "type": "string"
            },
            "receipt": {
              "anyOf": [
                {
                  "$ref": "#/$defs/__schema72"
                },
                {
                  "type": "null"
                }
              ]
            },
            "recovery": {
              "type": "object",
              "required": [
                "trigger",
                "query",
                "search_service",
                "status",
                "search_calls",
                "search_attempts",
                "extraction_calls",
                "catalog_lookups",
                "candidates",
                "error_code",
                "outcome",
                "initial_receipt"
              ],
              "properties": {
                "query": {
                  "type": "string",
                  "maxLength": 500
                },
                "status": {
                  "enum": [
                    "resolved",
                    "unresolved",
                    "failed"
                  ],
                  "type": "string"
                },
                "outcome": {
                  "enum": [
                    "recovered",
                    "not_recovered"
                  ],
                  "type": "string"
                },
                "trigger": {
                  "type": "string",
                  "maxLength": 80
                },
                "candidates": {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/__schema75"
                  },
                  "maxItems": 3
                },
                "error_code": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 80
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "search_calls": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "maximum": 1,
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "search_service": {
                  "type": "string",
                  "pattern": "^[a-z][a-z0-9_]*$",
                  "maxLength": 100,
                  "description": "External discovery search service. Known values: serper. New values are added without a tools/list change."
                },
                "catalog_lookups": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "maximum": 3,
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "initial_receipt": {
                  "anyOf": [
                    {
                      "$ref": "#/$defs/__schema72"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "search_attempts": {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/__schema74"
                  },
                  "maxItems": 1
                },
                "extraction_calls": {
                  "anyOf": [
                    {
                      "type": "integer",
                      "maximum": 1,
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              }
            },
            "search_calls": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            },
            "candidate_count": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            },
            "complete_catalog": {
              "type": "boolean",
              "const": false
            }
          }
        },
        "tradeoffs": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema55"
          },
          "maxItems": 24
        },
        "comparison": {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "comparison_type",
                "products",
                "feature_rows",
                "price_spread_eur",
                "postal_code",
                "warnings",
                "as_of"
              ],
              "properties": {
                "as_of": {
                  "anyOf": [
                    {
                      "$ref": "#/$defs/__schema1"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "products": {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/__schema56"
                  },
                  "maxItems": 4,
                  "minItems": 2
                },
                "warnings": {
                  "$ref": "#/$defs/__schema4"
                },
                "evaluation": {
                  "enum": [
                    "selected",
                    "no_eligible_compared_product",
                    "not_evaluated_budget",
                    "unavailable"
                  ],
                  "type": "string"
                },
                "postal_code": {
                  "anyOf": [
                    {
                      "$ref": "#/$defs/__schema15"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "feature_rows": {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/__schema58"
                  },
                  "maxItems": 12
                },
                "comparison_type": {
                  "enum": [
                    "specifications",
                    "delivered_cost"
                  ],
                  "type": "string"
                },
                "price_spread_eur": {
                  "anyOf": [
                    {
                      "type": "number",
                      "minimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "constraints": {
          "type": "object",
          "propertyNames": {
            "$ref": "#/$defs/__schema52"
          }
        },
        "next_action": {
          "type": "object",
          "required": [
            "type",
            "reason",
            "requires_user_action",
            "bestprice_url"
          ],
          "properties": {
            "type": {
              "enum": [
                "compare",
                "create_alert",
                "provide_context"
              ],
              "type": "string",
              "description": "Advisory step for the shopper, never an action for the agent. compare: review current offers at bestprice_url. create_alert: the current price is above its typical 180-day price; the shopper may set a price alert on the BestPrice page at bestprice_url (no tool creates alerts). provide_context: the request needs a change or more detail from the shopper."
            },
            "reason": {
              "type": "string",
              "maxLength": 100
            },
            "bestprice_url": {
              "anyOf": [
                {
                  "$ref": "#/$defs/__schema50"
                },
                {
                  "type": "null"
                }
              ]
            },
            "requires_user_action": {
              "type": "boolean",
              "const": true
            }
          }
        },
        "uncertainty": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema99"
          },
          "maxItems": 64
        },
        "alternatives": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema13"
          },
          "maxItems": 2
        },
        "offer_summary": {
          "$ref": "#/$defs/__schema14"
        },
        "price_verdict": {
          "type": "object",
          "required": [
            "verdict",
            "reason",
            "source_ids",
            "predicts_future_price"
          ],
          "properties": {
            "reason": {
              "type": "string",
              "maxLength": 100
            },
            "verdict": {
              "enum": [
                "good",
                "typical",
                "high",
                "insufficient_evidence"
              ],
              "type": "string"
            },
            "source_ids": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/__schema71"
              },
              "maxItems": 32
            },
            "predicts_future_price": {
              "type": "boolean",
              "const": false
            }
          }
        },
        "request_state": {
          "type": "string",
          "maxLength": 65536
        },
        "basket_request": {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "version",
                "requested_slots",
                "resolved_slots",
                "unresolved_slots",
                "total_budget_eur"
              ],
              "properties": {
                "version": {
                  "type": "string",
                  "pattern": "^bestprice_basket_request_v[1-9][0-9]*$",
                  "description": "Basket request version. Currently bestprice_basket_request_v1; a later bestprice_basket_request_v<N> is returned without a tools/list change."
                },
                "resolved_slots": {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/__schema66"
                  },
                  "maxItems": 20
                },
                "requested_slots": {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/__schema64"
                  },
                  "maxItems": 20
                },
                "total_budget_eur": {
                  "anyOf": [
                    {
                      "type": "number",
                      "maximum": 1000000,
                      "exclusiveMinimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "unresolved_slots": {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/__schema68"
                  },
                  "maxItems": 20
                }
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "clarifications": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema69"
          },
          "maxItems": 3
        },
        "ranking_policy": {
          "type": "object",
          "required": [
            "version",
            "product",
            "merchant",
            "commercial_signals_used"
          ],
          "properties": {
            "product": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9_]*$",
              "maxLength": 100,
              "description": "Product ranking rule. Known values: hard_constraints_then_fit_and_marginal_value. New values are added without a tools/list change."
            },
            "version": {
              "type": "string",
              "pattern": "^bestprice_shopping_policy_v[1-9][0-9]*$",
              "description": "Ranking policy version. Currently bestprice_shopping_policy_v1; a later bestprice_shopping_policy_v<N> is returned without a tools/list change."
            },
            "merchant": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9_]*$",
              "maxLength": 100,
              "description": "Merchant ranking rule. Known values: lowest_known_comparable_cost, basket_objective. New values are added without a tools/list change."
            },
            "commercial_signals_used": {
              "type": "boolean",
              "const": false
            }
          }
        },
        "schema_version": {
          "$ref": "#/$defs/__schema0"
        },
        "search_handoff": {
          "type": "object",
          "required": [
            "url",
            "label"
          ],
          "properties": {
            "url": {
              "type": "string",
              "format": "uri"
            },
            "label": {
              "type": "string",
              "maxLength": 120,
              "minLength": 1
            }
          }
        },
        "shopping_context": {
          "type": "object",
          "required": [
            "version",
            "products",
            "market"
          ],
          "properties": {
            "market": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/__schema81"
              },
              "maxItems": 48
            },
            "version": {
              "type": "string",
              "pattern": "^bestprice_shopping_context_v[1-9][0-9]*$",
              "description": "Shopping-context projection version. Currently bestprice_shopping_context_v34; a later bestprice_shopping_context_v<N> is returned without a tools/list change."
            },
            "products": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/__schema76"
              },
              "maxItems": 48
            }
          }
        },
        "structured_answer": {
          "type": "object",
          "required": [
            "version",
            "language",
            "picks",
            "comparison",
            "overview"
          ],
          "properties": {
            "picks": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/__schema6"
              },
              "maxItems": 3
            },
            "version": {
              "type": "string",
              "pattern": "^brain_structured_answer_v[1-9][0-9]*$",
              "description": "Structured shopping answer version. Currently brain_structured_answer_v1; a later brain_structured_answer_v<N> is returned without a tools/list change."
            },
            "language": {
              "type": "string",
              "pattern": "^[a-z][a-z0-9_]*$",
              "maxLength": 100,
              "description": "Language of the answer sections. Known values: el, en. New values are added without a tools/list change."
            },
            "overview": {
              "type": "object",
              "required": [
                "scope",
                "products",
                "min_price_eur",
                "max_price_eur"
              ],
              "properties": {
                "scope": {
                  "type": "string",
                  "const": "checked_shortlist"
                },
                "products": {
                  "type": "integer",
                  "maximum": 9007199254740991,
                  "exclusiveMinimum": 0
                },
                "max_price_eur": {
                  "anyOf": [
                    {
                      "type": "number",
                      "exclusiveMinimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "min_price_eur": {
                  "anyOf": [
                    {
                      "type": "number",
                      "exclusiveMinimum": 0
                    },
                    {
                      "type": "null"
                    }
                  ]
                }
              }
            },
            "comparison": {
              "anyOf": [
                {
                  "type": "object",
                  "required": [
                    "product_ids",
                    "rows",
                    "total_attributes"
                  ],
                  "properties": {
                    "rows": {
                      "type": "array",
                      "items": {
                        "$ref": "#/$defs/__schema10"
                      },
                      "maxItems": 6
                    },
                    "product_ids": {
                      "type": "array",
                      "items": {
                        "$ref": "#/$defs/__schema7"
                      },
                      "maxItems": 4
                    },
                    "total_attributes": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    }
                  }
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        },
        "catalog_candidates": {
          "type": "object",
          "required": [
            "basis",
            "note",
            "query",
            "price_min_eur",
            "price_max_eur",
            "products"
          ],
          "properties": {
            "note": {
              "$ref": "#/$defs/__schema88"
            },
            "basis": {
              "$ref": "#/$defs/__schema87"
            },
            "query": {
              "$ref": "#/$defs/__schema89"
            },
            "products": {
              "$ref": "#/$defs/__schema92"
            },
            "price_max_eur": {
              "$ref": "#/$defs/__schema91"
            },
            "price_min_eur": {
              "$ref": "#/$defs/__schema90"
            }
          },
          "description": "Present only on a no_match that returns no product: one bounded BestPrice catalog search page for the request, with signed product links. Search results, not a recommendation; the Shopping Brain did not rank or verify them against the request."
        },
        "blocking_constraints": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema11"
          },
          "maxItems": 24
        },
        "recommended_product_id": {
          "anyOf": [
            {
              "$ref": "#/$defs/__schema12"
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    {
      "type": "object",
      "required": [
        "schema_version",
        "as_of",
        "currency",
        "locale",
        "warnings",
        "error"
      ],
      "properties": {
        "as_of": {
          "$ref": "#/$defs/__schema1"
        },
        "error": {
          "type": "object",
          "required": [
            "code",
            "message",
            "retryable"
          ],
          "properties": {
            "code": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{2,63}$"
            },
            "message": {
              "type": "string",
              "maxLength": 240,
              "minLength": 1
            },
            "retryable": {
              "type": "boolean"
            }
          }
        },
        "locale": {
          "$ref": "#/$defs/__schema3"
        },
        "currency": {
          "$ref": "#/$defs/__schema2"
        },
        "warnings": {
          "$ref": "#/$defs/__schema4"
        },
        "schema_version": {
          "$ref": "#/$defs/__schema0"
        }
      }
    }
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
get_shopping_decision annotations
{
  "title": "Get a BestPrice shopping decision",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
search_products — Search BestPrice products
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Searches physical products sold in Greece by product name, model, category, or barcode and returns up to eight grouped products with canonical product IDs, catalog prices, relevance warnings, and BestPrice links. Price bounds apply before shipping; feature hints are not independently verified. A valid GTIN with one unambiguous catalog match is supported. Broadened-category results are related products rather than exact matches. Categories containing only ungrouped listings return an empty product list and a category handoff. Catalog minimum prices are indicative, may include filtered offers, and are not buyable quotes. Prohibited, age-restricted, digital, service, and unverified catalog branches are excluded. No checkout or direct merchant links are provided.

search_products input schema
{
  "type": "object",
  "required": [
    "query"
  ],
  "properties": {
    "sort": {
      "enum": [
        "relevance",
        "price_asc",
        "price_desc"
      ],
      "type": "string",
      "default": "relevance",
      "description": "Result order: catalog relevance (default), lowest catalog price first, or highest catalog price first."
    },
    "limit": {
      "type": "integer",
      "default": 8,
      "maximum": 8,
      "minimum": 1,
      "description": "Maximum number of grouped products to return, from 1 to 8."
    },
    "query": {
      "type": "string",
      "maxLength": 400,
      "minLength": 2,
      "description": "Product name, model, barcode (GTIN/EAN), or category in Greek or English. A pasted merchant listing title is accepted; the search reduces it to the model it names. Catalog search does not verify requirements based on needs, household size, or suitability."
    },
    "locale": {
      "type": "string",
      "default": "el-GR",
      "description": "Response locale. The current service supports el-GR."
    },
    "country": {
      "type": "string",
      "default": "GR",
      "description": "Shopping market. The current service supports Greece (GR)."
    },
    "price_max": {
      "type": "number",
      "maximum": 1000000,
      "description": "Optional maximum product price in EUR, before shipping."
    },
    "price_min": {
      "type": "number",
      "maximum": 1000000,
      "minimum": 0,
      "description": "Optional minimum product price in EUR, before shipping."
    },
    "required_features": {
      "type": "array",
      "items": {
        "type": "string",
        "maxLength": 50,
        "minLength": 1
      },
      "default": [],
      "maxItems": 10,
      "description": "Optional relevance hints such as OLED, Wi-Fi, or noise cancellation. They are not independently verified for every result."
    }
  },
  "additionalProperties": false
}
search_products output schema
{
  "type": "object",
  "$defs": {
    "__schema0": {
      "type": "string",
      "pattern": "^[1-9][0-9]*\\.[0-9]+$",
      "description": "Result schema version. Currently 2.0; a later <major>.<minor> is returned without a tools/list change."
    },
    "__schema1": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    },
    "__schema2": {
      "type": "string",
      "const": "EUR"
    },
    "__schema3": {
      "type": "string",
      "const": "el-GR"
    },
    "__schema4": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/__schema5"
      },
      "maxItems": 20
    },
    "__schema5": {
      "type": "string",
      "maxLength": 240,
      "minLength": 1
    },
    "__schema6": {
      "anyOf": [
        {
          "$ref": "#/$defs/__schema7"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema7": {
      "type": "number",
      "maximum": 10000000,
      "minimum": 0
    },
    "__schema8": {
      "type": "string",
      "maxLength": 50,
      "minLength": 1
    },
    "__schema9": {
      "type": "string",
      "maxLength": 400,
      "minLength": 1
    },
    "__schema10": {
      "type": "object",
      "required": [
        "product_id",
        "title",
        "brand",
        "model",
        "variant",
        "category_id",
        "category_title",
        "price_from",
        "offer_count",
        "availability",
        "match_confidence",
        "match_basis",
        "rating",
        "data_timestamp",
        "decision_id",
        "bestprice_url",
        "image_url"
      ],
      "properties": {
        "brand": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 80,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "model": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 220,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "title": {
          "type": "string",
          "maxLength": 220,
          "minLength": 1
        },
        "rating": {
          "anyOf": [
            {
              "$ref": "#/$defs/__schema11"
            },
            {
              "type": "null"
            }
          ],
          "description": "BestPrice shopper rating for this product: average of count first-party ratings. Null when the product has none."
        },
        "variant": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 160,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "image_url": {
          "anyOf": [
            {
              "type": "string",
              "format": "uri"
            },
            {
              "type": "null"
            }
          ]
        },
        "price_from": {
          "$ref": "#/$defs/__schema6",
          "description": "Catalog lowest listed item price in EUR before shipping. Indicative catalog minimum rather than a buyable quote; it may originate from a promoted, out-of-stock, or filtered offer. It has a different basis from returned offer quotes."
        },
        "product_id": {
          "type": "string",
          "pattern": "^bp_[0-9]{10}$"
        },
        "category_id": {
          "anyOf": [
            {
              "type": "integer",
              "maximum": 9007199254740991,
              "exclusiveMinimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "decision_id": {
          "type": "string",
          "pattern": "^d1\\.[a-f0-9]{32}\\.[A-Za-z0-9_-]{43}$",
          "description": "Signed, anonymous id joining this recommendation to its BestPrice landing and outbound-click telemetry."
        },
        "match_basis": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*_v[1-9][0-9]*$",
          "maxLength": 100,
          "description": "Relevance method behind match_confidence. Currently catalog_relevance_token_coverage_v1; a revised method is returned as a new <name>_v<N> id without a tools/list change."
        },
        "offer_count": {
          "anyOf": [
            {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "availability": {
          "enum": [
            "available",
            "unavailable",
            "unknown"
          ],
          "type": "string"
        },
        "bestprice_url": {
          "type": "string",
          "format": "uri"
        },
        "category_title": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 100,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "data_timestamp": {
          "$ref": "#/$defs/__schema1"
        },
        "match_confidence": {
          "type": "number",
          "maximum": 1,
          "minimum": 0,
          "description": "Deterministic relative relevance hint based on token coverage and rank; not a probability or feature verification."
        },
        "match_relationship": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*$",
          "maxLength": 100,
          "description": "Deterministic relationship to a requested named model. exact_product covers requested identity tokens and variant qualifiers; it does not certify features. Unknown codes carry no identity assurance. Known values: exact_product, variant, accessory, related_product. New values are added without a tools/list change."
        }
      }
    },
    "__schema11": {
      "type": "object",
      "required": [
        "average",
        "count"
      ],
      "properties": {
        "count": {
          "type": "integer",
          "maximum": 9007199254740991,
          "exclusiveMinimum": 0
        },
        "average": {
          "type": "number",
          "maximum": 5,
          "minimum": 0
        }
      }
    },
    "__schema12": {
      "type": "object",
      "required": [
        "category_id",
        "title",
        "url",
        "listing_count"
      ],
      "properties": {
        "url": {
          "type": "string",
          "format": "uri"
        },
        "title": {
          "type": "string",
          "maxLength": 100,
          "minLength": 1
        },
        "category_id": {
          "type": "integer",
          "maximum": 9007199254740991,
          "exclusiveMinimum": 0
        },
        "listing_count": {
          "type": "integer",
          "maximum": 9007199254740991,
          "description": "Ungrouped merchant offers BestPrice showed in this category for the search, within any price bounds.",
          "exclusiveMinimum": 0
        }
      }
    }
  },
  "anyOf": [
    {
      "type": "object",
      "required": [
        "schema_version",
        "as_of",
        "currency",
        "locale",
        "warnings",
        "interpreted_query",
        "total_matches",
        "products"
      ],
      "properties": {
        "as_of": {
          "$ref": "#/$defs/__schema1"
        },
        "locale": {
          "$ref": "#/$defs/__schema3"
        },
        "currency": {
          "$ref": "#/$defs/__schema2"
        },
        "products": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema10"
          },
          "maxItems": 8,
          "description": "Grouped BestPrice products. For a barcode (GTIN) query the text search cannot find, at most the one grouped product that carries exactly that barcode, with a warning saying so; a barcode shared by several products returns none."
        },
        "warnings": {
          "$ref": "#/$defs/__schema4"
        },
        "search_mode": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*$",
          "maxLength": 100,
          "description": "How the returned catalog page was retrieved. Known values: catalog_ranked, broadened_category. New values are added without a tools/list change."
        },
        "total_matches": {
          "type": "integer",
          "maximum": 9007199254740991,
          "minimum": 0,
          "description": "Number of products returned after public scope, price, and result limits; not full catalog cardinality."
        },
        "schema_version": {
          "$ref": "#/$defs/__schema0"
        },
        "applied_filters": {
          "type": "object",
          "required": [
            "price_min",
            "price_max",
            "sort",
            "feature_hints",
            "feature_hints_verified"
          ],
          "properties": {
            "sort": {
              "enum": [
                "relevance",
                "price_asc",
                "price_desc"
              ],
              "type": "string"
            },
            "price_max": {
              "$ref": "#/$defs/__schema6"
            },
            "price_min": {
              "$ref": "#/$defs/__schema6"
            },
            "feature_hints": {
              "type": "array",
              "items": {
                "$ref": "#/$defs/__schema8"
              },
              "maxItems": 10
            },
            "feature_hints_verified": {
              "type": "boolean",
              "const": false
            }
          }
        },
        "requested_query": {
          "type": "string",
          "maxLength": 400,
          "minLength": 1
        },
        "category_handoff": {
          "$ref": "#/$defs/__schema12",
          "description": "Present only when products is empty because the matched category holds merchant offers but no grouped BestPrice product yet. url is the plain public category page, not a product landing link. These offers are not comparable products: they have no product_id for compare_offers or get_price_history."
        },
        "interpreted_query": {
          "type": "string",
          "maxLength": 400,
          "minLength": 1
        },
        "suggested_queries": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema9"
          },
          "maxItems": 5
        }
      }
    },
    {
      "type": "object",
      "required": [
        "schema_version",
        "as_of",
        "currency",
        "locale",
        "warnings",
        "error"
      ],
      "properties": {
        "as_of": {
          "$ref": "#/$defs/__schema1"
        },
        "error": {
          "type": "object",
          "required": [
            "code",
            "message",
            "retryable"
          ],
          "properties": {
            "code": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{2,63}$"
            },
            "message": {
              "type": "string",
              "maxLength": 240,
              "minLength": 1
            },
            "retryable": {
              "type": "boolean"
            }
          }
        },
        "locale": {
          "$ref": "#/$defs/__schema3"
        },
        "currency": {
          "$ref": "#/$defs/__schema2"
        },
        "warnings": {
          "$ref": "#/$defs/__schema4"
        },
        "schema_version": {
          "$ref": "#/$defs/__schema0"
        }
      }
    }
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
search_products annotations
{
  "title": "Search BestPrice products",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
compare_offers — Compare BestPrice offers
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Compares current Greek merchant offers for one exact grouped BestPrice product ID. Returns public store names, item prices, shipping information, calculable delivered totals, ranking reasons, and BestPrice links. Without objective it ranks by lowest_total_cost when postal_code is given and by lowest_item_price otherwise, keeping shipping and total cost unknown; an explicit lowest_total_cost requires a Greek postcode (five digits, 10000 to 85999). Other ranking options include merchant rating. Catalog minimum prices and the lowest returned quoted prices have separate fields, with a reason when the catalog minimum is absent from the returned offers. Results exclude sponsored offers and merchant destination URLs. The operation is read-only and creates no CPC click.

compare_offers input schema
{
  "type": "object",
  "required": [
    "product_id"
  ],
  "properties": {
    "limit": {
      "type": "integer",
      "default": 10,
      "maximum": 10,
      "minimum": 1,
      "description": "Maximum number of current merchant offers to return, from 1 to 10."
    },
    "objective": {
      "enum": [
        "lowest_total_cost",
        "lowest_item_price",
        "merchant_rating"
      ],
      "type": "string",
      "description": "How to rank offers. When omitted: lowest_total_cost if postal_code is given, otherwise lowest_item_price. lowest_total_cost includes known shipping and requires postal_code."
    },
    "product_id": {
      "type": "string",
      "pattern": "^bp_[0-9]{10}$",
      "description": "Exact grouped BestPrice product id returned by search_products, in bp_<id> form."
    },
    "postal_code": {
      "type": "string",
      "pattern": "^(?:[1-7][0-9]{4}|8[0-5][0-9]{3})$",
      "description": "Greek delivery postcode (five digits, 10000 to 85999) used to calculate shipping and total cost. Required for lowest_total_cost; optional for lowest_item_price and merchant_rating."
    },
    "in_stock_only": {
      "type": "boolean",
      "default": false,
      "description": "false (default): every buyable offer, whatever its delivery estimate (availability unknown stays marked unknown). true: only offers available now or delivered in 1 to 3 days; slower ones are held back and named in a warning. Offers shipping in 4 to 10 days are still buyable; true excludes them and can exclude the cheapest price. Out-of-stock offers are never returned."
    },
    "minimum_merchant_rating": {
      "type": "number",
      "default": 0,
      "maximum": 5,
      "minimum": 0,
      "description": "Optional minimum merchant rating on a 0 to 5 scale."
    }
  },
  "additionalProperties": false
}
compare_offers output schema
{
  "type": "object",
  "$defs": {
    "__schema0": {
      "type": "string",
      "pattern": "^[1-9][0-9]*\\.[0-9]+$",
      "description": "Result schema version. Currently 2.0; a later <major>.<minor> is returned without a tools/list change."
    },
    "__schema1": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    },
    "__schema2": {
      "type": "string",
      "const": "EUR"
    },
    "__schema3": {
      "type": "string",
      "const": "el-GR"
    },
    "__schema4": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/__schema5"
      },
      "maxItems": 20
    },
    "__schema5": {
      "type": "string",
      "maxLength": 240,
      "minLength": 1
    },
    "__schema6": {
      "type": "object",
      "required": [
        "product_id",
        "title",
        "brand",
        "model",
        "variant",
        "decision_id",
        "bestprice_url"
      ],
      "properties": {
        "brand": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 80,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "model": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 220,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "title": {
          "type": "string",
          "maxLength": 220,
          "minLength": 1
        },
        "variant": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 180,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "product_id": {
          "type": "string",
          "pattern": "^bp_[0-9]{10}$"
        },
        "decision_id": {
          "type": "string",
          "pattern": "^d1\\.[a-f0-9]{32}\\.[A-Za-z0-9_-]{43}$",
          "description": "Signed, anonymous id joining this recommendation to its BestPrice landing and outbound-click telemetry."
        },
        "bestprice_url": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "__schema7": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^(?:[1-7][0-9]{4}|8[0-5][0-9]{3})$"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema8": {
      "enum": [
        "lowest_total_cost",
        "lowest_item_price",
        "merchant_rating"
      ],
      "type": "string",
      "description": "The ranking actually applied, including the one resolved when the request omitted objective."
    },
    "__schema9": {
      "$ref": "#/$defs/__schema11",
      "description": "Catalog lowest listed item price in EUR before shipping. Same identity as search_products.price_from. Not a buyable quote."
    },
    "__schema10": {
      "type": "number",
      "maximum": 10000000,
      "minimum": 0
    },
    "__schema11": {
      "anyOf": [
        {
          "$ref": "#/$defs/__schema10"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema12": {
      "$ref": "#/$defs/__schema11",
      "description": "Lowest quoted item_price among the returned offers after public filters; distinct from the indicative catalog_price_from."
    },
    "__schema13": {
      "$ref": "#/$defs/__schema11",
      "description": "Lowest delivered total among returned offers with known shipping; null when none are known."
    },
    "__schema14": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*$",
          "maxLength": 100,
          "description": "Why catalog_price_from is absent from the returned page. Null when the catalog min is quoted or the page is cheaper. Known values: promoted, not_in_stock, missing_merchant, filtered, not_on_page, omitted_from_offer_list, no_catalog_price. New values are added without a tools/list change."
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema15": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/__schema16"
      },
      "maxItems": 10
    },
    "__schema16": {
      "type": "object",
      "required": [
        "offer_id",
        "merchant_id",
        "merchant_name",
        "merchant_rating",
        "merchant_rating_count",
        "verified_merchant",
        "offer_title",
        "variant",
        "item_price",
        "shipping_price",
        "shipping_status",
        "total_price",
        "availability",
        "condition",
        "bundle_status",
        "delivery_estimate",
        "ranking_reason",
        "price_checked_at"
      ],
      "properties": {
        "sizes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema28"
          },
          "maxItems": 60
        },
        "colors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema30"
          },
          "maxItems": 20
        },
        "variant": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 180,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "offer_id": {
          "type": "string",
          "pattern": "^bp_offer_[0-9]+$"
        },
        "condition": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*$",
          "maxLength": 100,
          "description": "Item condition; treat an unrecognized value as unknown. Known values: new, refurbished, used, open_box, unknown. New values are added without a tools/list change."
        },
        "item_price": {
          "$ref": "#/$defs/__schema10",
          "description": "Current item price in EUR before shipping."
        },
        "phys_attrs": {
          "$ref": "#/$defs/__schema22",
          "description": "Per-offer size and colour inventory exposed by the merchant listing (fashion/footwear)."
        },
        "sizes_repr": {
          "type": "string",
          "maxLength": 400,
          "minLength": 1
        },
        "merchant_id": {
          "type": "string",
          "pattern": "^bp_merchant_[0-9]+$"
        },
        "offer_title": {
          "type": "string",
          "maxLength": 220,
          "minLength": 1
        },
        "total_price": {
          "$ref": "#/$defs/__schema11",
          "description": "Item price plus published shipping in EUR; null whenever shipping is unknown. Floor delivery, installation, old-appliance removal, payment fees and additional remote-area charges are not verified by this quote."
        },
        "availability": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*$",
          "maxLength": 100,
          "description": "Offer availability; treat an unrecognized value as unknown. Known values: in_stock, delivery_1_3_days, delivery_4_7_days, delivery_4_10_days, delivery_8_14_days, by_order, to_order, preorder, out_of_stock, unknown. New values are added without a tools/list change."
        },
        "bundle_status": {
          "enum": [
            "single",
            "bundle",
            "unknown"
          ],
          "type": "string"
        },
        "merchant_name": {
          "type": "string",
          "maxLength": 100,
          "minLength": 1,
          "description": "Sanitized public BestPrice store name."
        },
        "price_anomaly": {
          "$ref": "#/$defs/__schema20",
          "description": "below_peer_price_range: item price is below 40% of the median of at least two other eligible offers. This listing remains inspectable but requires verification and is excluded from recommendations. Null means this peer-price check did not flag it; it is not a guarantee of price accuracy."
        },
        "ranking_reason": {
          "type": "string",
          "maxLength": 100,
          "minLength": 1
        },
        "shipping_price": {
          "$ref": "#/$defs/__schema11",
          "description": "Known or estimated shipping price in EUR; null means unknown."
        },
        "merchant_rating": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 5,
              "minimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "shipping_status": {
          "enum": [
            "known",
            "estimated",
            "unknown"
          ],
          "type": "string"
        },
        "sizes_available": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema29"
          },
          "maxItems": 60
        },
        "price_checked_at": {
          "$ref": "#/$defs/__schema1",
          "description": "When BestPrice retrieved this quote, not the merchant feed update time or a guarantee that the merchant price has not changed."
        },
        "delivery_estimate": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 80,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "merchant_logo_url": {
          "$ref": "#/$defs/__schema17",
          "description": "BestPrice CDN SVG logo of the store; null when the store has none."
        },
        "verified_merchant": {
          "type": "boolean",
          "description": "True when this is a BestPrice-certified store (Πιστοποιημένο κατάστημα)."
        },
        "certification_level": {
          "$ref": "#/$defs/__schema19",
          "description": "BestPrice certification tier of the store (php/classes/Merchant.php verification_level 1..4); null when not certified."
        },
        "merchant_rating_count": {
          "anyOf": [
            {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "shipping_unknown_cause": {
          "$ref": "#/$defs/__schema21",
          "description": "Why shipping is unknown: missing when the store published no usable shipping cost, invalid when it published one this service refuses to trust. Null whenever shipping_status is known or estimated."
        },
        "merchant_logo_raster_url": {
          "$ref": "#/$defs/__schema18",
          "description": "PNG or JPEG logo of the store on the same CDN; null when the store has no logo."
        }
      }
    },
    "__schema17": {
      "anyOf": [
        {
          "type": "string",
          "format": "uri"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema18": {
      "anyOf": [
        {
          "type": "string",
          "format": "uri"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema19": {
      "anyOf": [
        {
          "enum": [
            "bronze",
            "silver",
            "gold",
            "platinum"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema20": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*$",
          "maxLength": 100,
          "description": "Non-null anomaly codes require verification and exclude the listing from recommendations; treat unknown codes conservatively. Known values: below_peer_price_range. New values are added without a tools/list change."
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema21": {
      "anyOf": [
        {
          "enum": [
            "missing",
            "invalid"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema22": {
      "type": "object",
      "properties": {
        "sizes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema23"
          },
          "maxItems": 60
        },
        "colors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema27"
          },
          "maxItems": 20
        },
        "sizes_uk": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema25"
          },
          "maxItems": 60
        },
        "sizes_us": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema26"
          },
          "maxItems": 60
        },
        "sizes_repr": {
          "type": "string",
          "maxLength": 400,
          "minLength": 1
        },
        "sizes_available": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema24"
          },
          "maxItems": 60
        }
      }
    },
    "__schema23": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
    },
    "__schema24": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
    },
    "__schema25": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
    },
    "__schema26": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
    },
    "__schema27": {
      "type": "string",
      "maxLength": 60,
      "minLength": 1
    },
    "__schema28": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
    },
    "__schema29": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
    },
    "__schema30": {
      "type": "string",
      "maxLength": 60,
      "minLength": 1
    }
  },
  "anyOf": [
    {
      "type": "object",
      "required": [
        "schema_version",
        "as_of",
        "currency",
        "locale",
        "warnings",
        "product",
        "postal_code",
        "objective",
        "catalog_price_from",
        "quoted_lowest_item_price",
        "quoted_lowest_total_price",
        "catalog_min_unquoted_reason",
        "offers"
      ],
      "properties": {
        "as_of": {
          "$ref": "#/$defs/__schema1"
        },
        "locale": {
          "$ref": "#/$defs/__schema3"
        },
        "offers": {
          "$ref": "#/$defs/__schema15"
        },
        "product": {
          "$ref": "#/$defs/__schema6"
        },
        "currency": {
          "$ref": "#/$defs/__schema2"
        },
        "warnings": {
          "$ref": "#/$defs/__schema4"
        },
        "objective": {
          "$ref": "#/$defs/__schema8"
        },
        "postal_code": {
          "$ref": "#/$defs/__schema7"
        },
        "schema_version": {
          "$ref": "#/$defs/__schema0"
        },
        "catalog_price_from": {
          "$ref": "#/$defs/__schema9"
        },
        "quoted_lowest_item_price": {
          "$ref": "#/$defs/__schema12"
        },
        "quoted_lowest_total_price": {
          "$ref": "#/$defs/__schema13"
        },
        "catalog_min_unquoted_reason": {
          "$ref": "#/$defs/__schema14"
        }
      }
    },
    {
      "type": "object",
      "required": [
        "schema_version",
        "as_of",
        "currency",
        "locale",
        "warnings",
        "error"
      ],
      "properties": {
        "as_of": {
          "$ref": "#/$defs/__schema1"
        },
        "error": {
          "type": "object",
          "required": [
            "code",
            "message",
            "retryable"
          ],
          "properties": {
            "code": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{2,63}$"
            },
            "message": {
              "type": "string",
              "maxLength": 240,
              "minLength": 1
            },
            "retryable": {
              "type": "boolean"
            }
          }
        },
        "locale": {
          "$ref": "#/$defs/__schema3"
        },
        "currency": {
          "$ref": "#/$defs/__schema2"
        },
        "warnings": {
          "$ref": "#/$defs/__schema4"
        },
        "schema_version": {
          "$ref": "#/$defs/__schema0"
        }
      }
    }
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
compare_offers annotations
{
  "title": "Compare BestPrice offers",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
get_price_history — Inspect BestPrice price history
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Returns historical prices and a deterministic deal classification for one exact grouped BestPrice product ID. Includes minimum and median statistics, a compact daily price series, coverage gaps, and methodology. period_days selects the daily series and coverage gaps only: deal_classification and price_delta_vs_180d_median_pct always compare the current price with the 180-day median, and window_stats always carries the 30-, 90- and 180-day statistics. Historical observations do not guarantee future prices.

get_price_history input schema
{
  "type": "object",
  "required": [
    "product_id"
  ],
  "properties": {
    "product_id": {
      "type": "string",
      "pattern": "^bp_[0-9]{10}$",
      "description": "Exact grouped BestPrice product id returned by search_products, in bp_<id> form."
    },
    "period_days": {
      "type": "integer",
      "default": 180,
      "maximum": 180,
      "minimum": 30,
      "description": "Requested history window in days for series and data_gaps. deal_classification and price_delta_vs_180d_median_pct always compare with the 180-day median; window_stats always carries the 30-, 90- and 180-day statistics. Defaults to 180 days."
    }
  },
  "additionalProperties": false
}
get_price_history output schema
{
  "type": "object",
  "$defs": {
    "__schema0": {
      "type": "string",
      "pattern": "^[1-9][0-9]*\\.[0-9]+$",
      "description": "Result schema version. Currently 2.0; a later <major>.<minor> is returned without a tools/list change."
    },
    "__schema1": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    },
    "__schema2": {
      "type": "string",
      "const": "EUR"
    },
    "__schema3": {
      "type": "string",
      "const": "el-GR"
    },
    "__schema4": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/__schema5"
      },
      "maxItems": 20
    },
    "__schema5": {
      "type": "string",
      "maxLength": 240,
      "minLength": 1
    },
    "__schema6": {
      "anyOf": [
        {
          "$ref": "#/$defs/__schema7"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema7": {
      "type": "number",
      "maximum": 10000000,
      "minimum": 0
    },
    "__schema8": {
      "type": "object",
      "required": [
        "days",
        "minimum_price",
        "median_price",
        "observations",
        "coverage_pct"
      ],
      "properties": {
        "days": {
          "anyOf": [
            {
              "type": "number",
              "const": 30
            },
            {
              "type": "number",
              "const": 90
            },
            {
              "type": "number",
              "const": 180
            }
          ]
        },
        "coverage_pct": {
          "type": "number",
          "maximum": 100,
          "minimum": 0
        },
        "median_price": {
          "$ref": "#/$defs/__schema6"
        },
        "observations": {
          "type": "integer",
          "maximum": 9007199254740991,
          "minimum": 0
        },
        "minimum_price": {
          "$ref": "#/$defs/__schema6"
        },
        "longest_gap_days": {
          "type": "integer",
          "maximum": 9007199254740991,
          "minimum": 0
        }
      }
    },
    "__schema9": {
      "type": "number"
    },
    "__schema10": {
      "enum": [
        "record_low",
        "excellent_price",
        "good_price",
        "typical_price",
        "above_typical",
        "insufficient_data",
        "unavailable"
      ],
      "type": "string"
    },
    "__schema11": {
      "type": "object",
      "required": [
        "date",
        "price",
        "merchant_count"
      ],
      "properties": {
        "date": {
          "type": "string",
          "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
        },
        "price": {
          "$ref": "#/$defs/__schema7"
        },
        "merchant_count": {
          "type": "integer",
          "maximum": 9007199254740991,
          "minimum": 0
        }
      }
    }
  },
  "anyOf": [
    {
      "type": "object",
      "required": [
        "schema_version",
        "as_of",
        "currency",
        "locale",
        "warnings",
        "product_id",
        "product_title",
        "decision_id",
        "bestprice_url",
        "period_days",
        "current_price",
        "current_price_source",
        "source_last_observed_at",
        "window_stats",
        "price_delta_vs_180d_median_pct",
        "deal_classification",
        "methodology_id",
        "data_gaps",
        "series"
      ],
      "properties": {
        "as_of": {
          "$ref": "#/$defs/__schema1"
        },
        "locale": {
          "$ref": "#/$defs/__schema3"
        },
        "series": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema11"
          },
          "maxItems": 180
        },
        "quality": {
          "type": "object",
          "required": [
            "cluster_continuity",
            "outlier_status"
          ],
          "properties": {
            "outlier_status": {
              "enum": [
                "protected",
                "unsafe",
                "unknown"
              ],
              "type": "string"
            },
            "cluster_continuity": {
              "enum": [
                "same_cluster",
                "discontinuous",
                "unknown"
              ],
              "type": "string"
            }
          }
        },
        "currency": {
          "$ref": "#/$defs/__schema2"
        },
        "warnings": {
          "$ref": "#/$defs/__schema4"
        },
        "data_gaps": {
          "type": "object",
          "required": [
            "missing_days",
            "longest_gap_days",
            "stale_days",
            "coverage_note"
          ],
          "properties": {
            "stale_days": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            },
            "missing_days": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            },
            "coverage_note": {
              "type": "string",
              "maxLength": 180,
              "minLength": 1
            },
            "longest_gap_days": {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            }
          }
        },
        "product_id": {
          "type": "string",
          "pattern": "^bp_[0-9]{10}$"
        },
        "decision_id": {
          "type": "string",
          "pattern": "^d1\\.[a-f0-9]{32}\\.[A-Za-z0-9_-]{43}$",
          "description": "Signed, anonymous id joining this recommendation to its BestPrice landing and outbound-click telemetry."
        },
        "period_days": {
          "enum": [
            30,
            90,
            180
          ],
          "type": "number"
        },
        "window_stats": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema8"
          },
          "maxItems": 3,
          "description": "Minimum and median statistics for the 30-, 90- and 180-day windows, whatever period_days was requested. The canonical result remains available to the model and card; an empty array supplies no window statistics."
        },
        "bestprice_url": {
          "type": "string",
          "format": "uri"
        },
        "current_price": {
          "$ref": "#/$defs/__schema6"
        },
        "product_title": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 220,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "methodology_id": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*_v[1-9][0-9]*$",
          "maxLength": 100,
          "description": "Price-history method. Currently bestprice_daily_min_v1; a revised method is returned as a new <name>_v<N> id without a tools/list change."
        },
        "schema_version": {
          "$ref": "#/$defs/__schema0"
        },
        "deal_classification": {
          "anyOf": [
            {
              "$ref": "#/$defs/__schema10"
            },
            {
              "type": "null"
            }
          ],
          "description": "Classification against the 180-day window statistics, independent of period_days. insufficient_data and unavailable describe evidence limitations; a compatible null supplies no classification."
        },
        "current_price_source": {
          "enum": [
            "live_offer_minimum",
            "latest_daily_history",
            "unavailable"
          ],
          "type": "string"
        },
        "source_last_observed_at": {
          "anyOf": [
            {
              "$ref": "#/$defs/__schema1"
            },
            {
              "type": "null"
            }
          ]
        },
        "price_delta_vs_180d_median_pct": {
          "anyOf": [
            {
              "$ref": "#/$defs/__schema9"
            },
            {
              "type": "null"
            }
          ],
          "description": "Current price versus the 180-day median, in percent. Always 180 days, independent of period_days."
        }
      }
    },
    {
      "type": "object",
      "required": [
        "schema_version",
        "as_of",
        "currency",
        "locale",
        "warnings",
        "error"
      ],
      "properties": {
        "as_of": {
          "$ref": "#/$defs/__schema1"
        },
        "error": {
          "type": "object",
          "required": [
            "code",
            "message",
            "retryable"
          ],
          "properties": {
            "code": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{2,63}$"
            },
            "message": {
              "type": "string",
              "maxLength": 240,
              "minLength": 1
            },
            "retryable": {
              "type": "boolean"
            }
          }
        },
        "locale": {
          "$ref": "#/$defs/__schema3"
        },
        "currency": {
          "$ref": "#/$defs/__schema2"
        },
        "warnings": {
          "$ref": "#/$defs/__schema4"
        },
        "schema_version": {
          "$ref": "#/$defs/__schema0"
        }
      }
    }
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
get_price_history annotations
{
  "title": "Inspect BestPrice price history",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
optimize_basket — Optimize a BestPrice basket
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Calculates read-only basket plans for exact grouped BestPrice product IDs delivered to a Greek postcode. Compares cheapest, fewer-merchant, and balanced reliability-and-cost plans within the requested merchant ceiling and rating floor. Returns public store names and cost breakdowns; unknown shipping leaves affected delivered totals null. Does not discover products, place orders, process payments, or expose merchant destination URLs.

optimize_basket input schema
{
  "type": "object",
  "required": [
    "items",
    "postal_code"
  ],
  "properties": {
    "items": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "product_id"
        ],
        "properties": {
          "quantity": {
            "type": "integer",
            "default": 1,
            "maximum": 20,
            "minimum": 1,
            "description": "Requested quantity of this exact product."
          },
          "product_id": {
            "type": "string",
            "pattern": "^bp_[0-9]{10}$",
            "description": "Exact grouped BestPrice product id returned by search_products."
          }
        },
        "additionalProperties": false
      },
      "maxItems": 20,
      "minItems": 1,
      "description": "One to twenty distinct grouped BestPrice products to plan together."
    },
    "objective": {
      "enum": [
        "lowest_total_cost",
        "fewer_merchants",
        "balanced_reliability_cost"
      ],
      "type": "string",
      "default": "lowest_total_cost",
      "description": "How to choose the preferred plan: total cost, fewer merchants, or a balanced cost and reliability result."
    },
    "postal_code": {
      "type": "string",
      "pattern": "^(?:[1-7][0-9]{4}|8[0-5][0-9]{3})$",
      "description": "Greek delivery postcode (five digits, 10000 to 85999) used to calculate shipping and total cost."
    },
    "maximum_merchants": {
      "type": "integer",
      "default": 3,
      "maximum": 8,
      "minimum": 1,
      "description": "Maximum number of different merchants allowed in a basket plan."
    },
    "minimum_merchant_rating": {
      "type": "number",
      "default": 0,
      "maximum": 5,
      "minimum": 0,
      "description": "Optional minimum merchant rating on a 0 to 5 scale."
    }
  },
  "additionalProperties": false
}
optimize_basket output schema
{
  "type": "object",
  "$defs": {
    "__schema0": {
      "type": "string",
      "pattern": "^[1-9][0-9]*\\.[0-9]+$",
      "description": "Result schema version. Currently 2.0; a later <major>.<minor> is returned without a tools/list change."
    },
    "__schema1": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    },
    "__schema2": {
      "type": "string",
      "const": "EUR"
    },
    "__schema3": {
      "type": "string",
      "const": "el-GR"
    },
    "__schema4": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/__schema5"
      },
      "maxItems": 20
    },
    "__schema5": {
      "type": "string",
      "maxLength": 240,
      "minLength": 1
    },
    "__schema6": {
      "type": "object",
      "required": [
        "plan_type",
        "merchant_count",
        "item_subtotal",
        "shipping_total",
        "shipping_status",
        "total_price",
        "reliability_score",
        "ranking_reason",
        "merchants"
      ],
      "properties": {
        "merchants": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema9"
          },
          "maxItems": 8,
          "minItems": 1
        },
        "plan_type": {
          "enum": [
            "cheapest",
            "fewer_merchants",
            "balanced"
          ],
          "type": "string"
        },
        "total_price": {
          "$ref": "#/$defs/__schema8"
        },
        "item_subtotal": {
          "$ref": "#/$defs/__schema7"
        },
        "merchant_count": {
          "type": "integer",
          "maximum": 8,
          "exclusiveMinimum": 0
        },
        "ranking_reason": {
          "type": "string",
          "maxLength": 180,
          "minLength": 1
        },
        "shipping_total": {
          "$ref": "#/$defs/__schema8"
        },
        "shipping_status": {
          "enum": [
            "known",
            "estimated",
            "unknown",
            "mixed"
          ],
          "type": "string"
        },
        "reliability_score": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 5,
              "minimum": 0
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    "__schema7": {
      "type": "number",
      "maximum": 10000000,
      "minimum": 0
    },
    "__schema8": {
      "anyOf": [
        {
          "$ref": "#/$defs/__schema7"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema9": {
      "type": "object",
      "required": [
        "merchant_id",
        "merchant_name",
        "merchant_rating",
        "verified_merchant",
        "item_subtotal",
        "shipping_price",
        "shipping_status",
        "total_price",
        "reason",
        "items"
      ],
      "properties": {
        "items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema11"
          },
          "maxItems": 20,
          "minItems": 1
        },
        "reason": {
          "type": "string",
          "maxLength": 100,
          "minLength": 1
        },
        "merchant_id": {
          "type": "string",
          "pattern": "^bp_merchant_[0-9]+$"
        },
        "total_price": {
          "$ref": "#/$defs/__schema8"
        },
        "item_subtotal": {
          "$ref": "#/$defs/__schema7"
        },
        "merchant_name": {
          "type": "string",
          "maxLength": 100,
          "minLength": 1
        },
        "shipping_price": {
          "$ref": "#/$defs/__schema8"
        },
        "merchant_rating": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 5,
              "minimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "shipping_status": {
          "enum": [
            "known",
            "estimated",
            "unknown"
          ],
          "type": "string"
        },
        "verified_merchant": {
          "type": "boolean",
          "description": "True when this is a BestPrice-certified store (Πιστοποιημένο κατάστημα)."
        },
        "certification_level": {
          "$ref": "#/$defs/__schema10",
          "description": "BestPrice certification tier of the store (php/classes/Merchant.php verification_level 1..4); null when not certified."
        }
      }
    },
    "__schema10": {
      "anyOf": [
        {
          "enum": [
            "bronze",
            "silver",
            "gold",
            "platinum"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema11": {
      "type": "object",
      "required": [
        "product_id",
        "title",
        "quantity",
        "unit_price",
        "line_total",
        "decision_id",
        "bestprice_url"
      ],
      "properties": {
        "title": {
          "type": "string",
          "maxLength": 220,
          "minLength": 1
        },
        "quantity": {
          "type": "integer",
          "maximum": 9007199254740991,
          "exclusiveMinimum": 0
        },
        "line_total": {
          "$ref": "#/$defs/__schema7"
        },
        "product_id": {
          "$ref": "#/$defs/__schema12"
        },
        "unit_price": {
          "$ref": "#/$defs/__schema7"
        },
        "decision_id": {
          "type": "string",
          "pattern": "^d1\\.[a-f0-9]{32}\\.[A-Za-z0-9_-]{43}$",
          "description": "Signed, anonymous id joining this recommendation to its BestPrice landing and outbound-click telemetry."
        },
        "bestprice_url": {
          "type": "string",
          "format": "uri"
        }
      }
    },
    "__schema12": {
      "type": "string",
      "pattern": "^bp_[0-9]{10}$"
    }
  },
  "anyOf": [
    {
      "type": "object",
      "required": [
        "schema_version",
        "as_of",
        "currency",
        "locale",
        "warnings",
        "preferred_plan",
        "methodology_id",
        "plans",
        "unavailable_items"
      ],
      "properties": {
        "as_of": {
          "$ref": "#/$defs/__schema1"
        },
        "plans": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema6"
          },
          "maxItems": 3
        },
        "locale": {
          "$ref": "#/$defs/__schema3"
        },
        "currency": {
          "$ref": "#/$defs/__schema2"
        },
        "warnings": {
          "$ref": "#/$defs/__schema4"
        },
        "methodology_id": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*_v[1-9][0-9]*$",
          "maxLength": 100,
          "description": "Basket planning method. Currently bestprice_basket_bounded_v1; a revised method is returned as a new <name>_v<N> id without a tools/list change."
        },
        "preferred_plan": {
          "anyOf": [
            {
              "enum": [
                "cheapest",
                "fewer_merchants",
                "balanced"
              ],
              "type": "string"
            },
            {
              "type": "null"
            }
          ]
        },
        "schema_version": {
          "$ref": "#/$defs/__schema0"
        },
        "unavailable_items": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema12"
          },
          "maxItems": 20
        }
      }
    },
    {
      "type": "object",
      "required": [
        "schema_version",
        "as_of",
        "currency",
        "locale",
        "warnings",
        "error"
      ],
      "properties": {
        "as_of": {
          "$ref": "#/$defs/__schema1"
        },
        "error": {
          "type": "object",
          "required": [
            "code",
            "message",
            "retryable"
          ],
          "properties": {
            "code": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{2,63}$"
            },
            "message": {
              "type": "string",
              "maxLength": 240,
              "minLength": 1
            },
            "retryable": {
              "type": "boolean"
            }
          }
        },
        "locale": {
          "$ref": "#/$defs/__schema3"
        },
        "currency": {
          "$ref": "#/$defs/__schema2"
        },
        "warnings": {
          "$ref": "#/$defs/__schema4"
        },
        "schema_version": {
          "$ref": "#/$defs/__schema0"
        }
      }
    }
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
optimize_basket annotations
{
  "title": "Optimize a BestPrice basket",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}
check_deal — Check a BestPrice deal
Advertised by the server during the last successful anonymous check.
Advertised read-onlyOpen-world

Checks an offer using a BestPrice product URL, a reviewed merchant URL, a barcode, or visible product text from a screenshot. Screenshot inputs consist of visible identity text and an optional observed price. Unique barcodes and reviewed variant-identifying URLs can establish an exact identity. Text queries return candidates for explicit user selection; similarity does not establish an exact retailer match. Compares current eligible offers and known delivered totals separately from market item-price history. Observed prices remain user-supplied, missing variants and former prices remain unverified, and unknown shipping remains unknown. Read-only; no checkout or alerts.

check_deal input schema
{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "format": "uri",
      "maxLength": 1536,
      "description": "HTTPS product URL from BestPrice or a merchant. Credentials and alternate ports are unsupported."
    },
    "query": {
      "type": "string",
      "maxLength": 200,
      "minLength": 2,
      "description": "Visible brand/model/variant text or a barcode. Text retrieval returns candidates, not a proven retailer identity."
    },
    "product_id": {
      "type": "string",
      "pattern": "^bp_[0-9]{10}$",
      "description": "An exact returned candidate the user explicitly selected; does not prove it matches a retailer listing."
    },
    "postal_code": {
      "type": "string",
      "pattern": "^(?:[1-7][0-9]{4}|8[0-5][0-9]{3})$",
      "description": "Optional user-supplied Greek delivery postcode (10000 to 85999). Unknown shipping remains unknown."
    },
    "observed_price": {
      "type": "object",
      "required": [
        "amount",
        "basis"
      ],
      "properties": {
        "basis": {
          "enum": [
            "item_price",
            "delivered_total"
          ],
          "type": "string",
          "description": "Whether the observed amount excludes shipping or includes it."
        },
        "amount": {
          "type": "number",
          "maximum": 1000000,
          "description": "The observed offer amount in EUR."
        }
      },
      "description": "Price visibly supplied by the shopper. Never infer a price or an advertised former price.",
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}
check_deal output schema
{
  "type": "object",
  "$defs": {
    "__schema0": {
      "type": "string",
      "pattern": "^[1-9][0-9]*\\.[0-9]+$",
      "description": "Result schema version. Currently 2.0; a later <major>.<minor> is returned without a tools/list change."
    },
    "__schema1": {
      "type": "string",
      "format": "date-time",
      "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d(?:\\.\\d+)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"
    },
    "__schema2": {
      "type": "string",
      "const": "EUR"
    },
    "__schema3": {
      "type": "string",
      "const": "el-GR"
    },
    "__schema4": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/__schema5"
      },
      "maxItems": 20
    },
    "__schema5": {
      "type": "string",
      "maxLength": 240,
      "minLength": 1
    },
    "__schema6": {
      "type": "string",
      "pattern": "^bp_[0-9]{10}$"
    },
    "__schema7": {
      "type": "object",
      "required": [
        "product_id",
        "title",
        "brand",
        "model",
        "variant",
        "category_id",
        "category_title",
        "price_from",
        "offer_count",
        "availability",
        "match_confidence",
        "match_basis",
        "rating",
        "data_timestamp",
        "decision_id",
        "bestprice_url",
        "image_url"
      ],
      "properties": {
        "brand": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 80,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "model": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 220,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "title": {
          "type": "string",
          "maxLength": 220,
          "minLength": 1
        },
        "rating": {
          "anyOf": [
            {
              "$ref": "#/$defs/__schema10"
            },
            {
              "type": "null"
            }
          ],
          "description": "BestPrice shopper rating for this product: average of count first-party ratings. Null when the product has none."
        },
        "variant": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 160,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "image_url": {
          "anyOf": [
            {
              "type": "string",
              "format": "uri"
            },
            {
              "type": "null"
            }
          ]
        },
        "price_from": {
          "$ref": "#/$defs/__schema9",
          "description": "Catalog lowest listed item price in EUR before shipping. Indicative catalog minimum rather than a buyable quote; it may originate from a promoted, out-of-stock, or filtered offer. It has a different basis from returned offer quotes."
        },
        "product_id": {
          "$ref": "#/$defs/__schema6"
        },
        "category_id": {
          "anyOf": [
            {
              "type": "integer",
              "maximum": 9007199254740991,
              "exclusiveMinimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "decision_id": {
          "$ref": "#/$defs/__schema11"
        },
        "match_basis": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*_v[1-9][0-9]*$",
          "maxLength": 100,
          "description": "Relevance method behind match_confidence. Currently catalog_relevance_token_coverage_v1; a revised method is returned as a new <name>_v<N> id without a tools/list change."
        },
        "offer_count": {
          "anyOf": [
            {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "availability": {
          "enum": [
            "available",
            "unavailable",
            "unknown"
          ],
          "type": "string"
        },
        "bestprice_url": {
          "$ref": "#/$defs/__schema12"
        },
        "category_title": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 100,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "data_timestamp": {
          "$ref": "#/$defs/__schema1"
        },
        "match_confidence": {
          "type": "number",
          "maximum": 1,
          "minimum": 0,
          "description": "Deterministic relative relevance hint based on token coverage and rank; not a probability or feature verification."
        },
        "match_relationship": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*$",
          "maxLength": 100,
          "description": "Deterministic relationship to a requested named model. exact_product covers requested identity tokens and variant qualifiers; it does not certify features. Unknown codes carry no identity assurance. Known values: exact_product, variant, accessory, related_product. New values are added without a tools/list change."
        }
      }
    },
    "__schema8": {
      "type": "number",
      "maximum": 10000000,
      "minimum": 0
    },
    "__schema9": {
      "anyOf": [
        {
          "$ref": "#/$defs/__schema8"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema10": {
      "type": "object",
      "required": [
        "average",
        "count"
      ],
      "properties": {
        "count": {
          "type": "integer",
          "maximum": 9007199254740991,
          "exclusiveMinimum": 0
        },
        "average": {
          "type": "number",
          "maximum": 5,
          "minimum": 0
        }
      }
    },
    "__schema11": {
      "type": "string",
      "pattern": "^d1\\.[a-f0-9]{32}\\.[A-Za-z0-9_-]{43}$",
      "description": "Signed, anonymous id joining this recommendation to its BestPrice landing and outbound-click telemetry."
    },
    "__schema12": {
      "type": "string",
      "format": "uri"
    },
    "__schema13": {
      "type": "object",
      "required": [
        "product_id",
        "title",
        "brand",
        "model",
        "variant",
        "decision_id",
        "bestprice_url"
      ],
      "properties": {
        "brand": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 80,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "model": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 220,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "title": {
          "type": "string",
          "maxLength": 220,
          "minLength": 1
        },
        "variant": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 180,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "product_id": {
          "$ref": "#/$defs/__schema6"
        },
        "decision_id": {
          "$ref": "#/$defs/__schema11"
        },
        "bestprice_url": {
          "$ref": "#/$defs/__schema12"
        }
      }
    },
    "__schema14": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^(?:[1-7][0-9]{4}|8[0-5][0-9]{3})$"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema15": {
      "enum": [
        "lowest_total_cost",
        "lowest_item_price",
        "merchant_rating"
      ],
      "type": "string",
      "description": "The ranking actually applied, including the one resolved when the request omitted objective."
    },
    "__schema16": {
      "$ref": "#/$defs/__schema9",
      "description": "Catalog lowest listed item price in EUR before shipping. Same identity as search_products.price_from. Not a buyable quote."
    },
    "__schema17": {
      "$ref": "#/$defs/__schema9",
      "description": "Lowest quoted item_price among the returned offers after public filters; distinct from the indicative catalog_price_from."
    },
    "__schema18": {
      "$ref": "#/$defs/__schema9",
      "description": "Lowest delivered total among returned offers with known shipping; null when none are known."
    },
    "__schema19": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*$",
          "maxLength": 100,
          "description": "Why catalog_price_from is absent from the returned page. Null when the catalog min is quoted or the page is cheaper. Known values: promoted, not_in_stock, missing_merchant, filtered, not_on_page, omitted_from_offer_list, no_catalog_price. New values are added without a tools/list change."
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema20": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/__schema21"
      },
      "maxItems": 10
    },
    "__schema21": {
      "type": "object",
      "required": [
        "offer_id",
        "merchant_id",
        "merchant_name",
        "merchant_rating",
        "merchant_rating_count",
        "verified_merchant",
        "offer_title",
        "variant",
        "item_price",
        "shipping_price",
        "shipping_status",
        "total_price",
        "availability",
        "condition",
        "bundle_status",
        "delivery_estimate",
        "ranking_reason",
        "price_checked_at"
      ],
      "properties": {
        "sizes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema33"
          },
          "maxItems": 60
        },
        "colors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema35"
          },
          "maxItems": 20
        },
        "variant": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 180,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "offer_id": {
          "type": "string",
          "pattern": "^bp_offer_[0-9]+$"
        },
        "condition": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*$",
          "maxLength": 100,
          "description": "Item condition; treat an unrecognized value as unknown. Known values: new, refurbished, used, open_box, unknown. New values are added without a tools/list change."
        },
        "item_price": {
          "$ref": "#/$defs/__schema8",
          "description": "Current item price in EUR before shipping."
        },
        "phys_attrs": {
          "$ref": "#/$defs/__schema27",
          "description": "Per-offer size and colour inventory exposed by the merchant listing (fashion/footwear)."
        },
        "sizes_repr": {
          "type": "string",
          "maxLength": 400,
          "minLength": 1
        },
        "merchant_id": {
          "type": "string",
          "pattern": "^bp_merchant_[0-9]+$"
        },
        "offer_title": {
          "type": "string",
          "maxLength": 220,
          "minLength": 1
        },
        "total_price": {
          "$ref": "#/$defs/__schema9",
          "description": "Item price plus published shipping in EUR; null whenever shipping is unknown. Floor delivery, installation, old-appliance removal, payment fees and additional remote-area charges are not verified by this quote."
        },
        "availability": {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*$",
          "maxLength": 100,
          "description": "Offer availability; treat an unrecognized value as unknown. Known values: in_stock, delivery_1_3_days, delivery_4_7_days, delivery_4_10_days, delivery_8_14_days, by_order, to_order, preorder, out_of_stock, unknown. New values are added without a tools/list change."
        },
        "bundle_status": {
          "enum": [
            "single",
            "bundle",
            "unknown"
          ],
          "type": "string"
        },
        "merchant_name": {
          "type": "string",
          "maxLength": 100,
          "minLength": 1,
          "description": "Sanitized public BestPrice store name."
        },
        "price_anomaly": {
          "$ref": "#/$defs/__schema25",
          "description": "below_peer_price_range: item price is below 40% of the median of at least two other eligible offers. This listing remains inspectable but requires verification and is excluded from recommendations. Null means this peer-price check did not flag it; it is not a guarantee of price accuracy."
        },
        "ranking_reason": {
          "type": "string",
          "maxLength": 100,
          "minLength": 1
        },
        "shipping_price": {
          "$ref": "#/$defs/__schema9",
          "description": "Known or estimated shipping price in EUR; null means unknown."
        },
        "merchant_rating": {
          "anyOf": [
            {
              "type": "number",
              "maximum": 5,
              "minimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "shipping_status": {
          "enum": [
            "known",
            "estimated",
            "unknown"
          ],
          "type": "string"
        },
        "sizes_available": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema34"
          },
          "maxItems": 60
        },
        "price_checked_at": {
          "$ref": "#/$defs/__schema1",
          "description": "When BestPrice retrieved this quote, not the merchant feed update time or a guarantee that the merchant price has not changed."
        },
        "delivery_estimate": {
          "anyOf": [
            {
              "type": "string",
              "maxLength": 80,
              "minLength": 1
            },
            {
              "type": "null"
            }
          ]
        },
        "merchant_logo_url": {
          "$ref": "#/$defs/__schema22",
          "description": "BestPrice CDN SVG logo of the store; null when the store has none."
        },
        "verified_merchant": {
          "type": "boolean",
          "description": "True when this is a BestPrice-certified store (Πιστοποιημένο κατάστημα)."
        },
        "certification_level": {
          "$ref": "#/$defs/__schema24",
          "description": "BestPrice certification tier of the store (php/classes/Merchant.php verification_level 1..4); null when not certified."
        },
        "merchant_rating_count": {
          "anyOf": [
            {
              "type": "integer",
              "maximum": 9007199254740991,
              "minimum": 0
            },
            {
              "type": "null"
            }
          ]
        },
        "shipping_unknown_cause": {
          "$ref": "#/$defs/__schema26",
          "description": "Why shipping is unknown: missing when the store published no usable shipping cost, invalid when it published one this service refuses to trust. Null whenever shipping_status is known or estimated."
        },
        "merchant_logo_raster_url": {
          "$ref": "#/$defs/__schema23",
          "description": "PNG or JPEG logo of the store on the same CDN; null when the store has no logo."
        }
      }
    },
    "__schema22": {
      "anyOf": [
        {
          "type": "string",
          "format": "uri"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema23": {
      "anyOf": [
        {
          "type": "string",
          "format": "uri"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema24": {
      "anyOf": [
        {
          "enum": [
            "bronze",
            "silver",
            "gold",
            "platinum"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema25": {
      "anyOf": [
        {
          "type": "string",
          "pattern": "^[a-z][a-z0-9_]*$",
          "maxLength": 100,
          "description": "Non-null anomaly codes require verification and exclude the listing from recommendations; treat unknown codes conservatively. Known values: below_peer_price_range. New values are added without a tools/list change."
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema26": {
      "anyOf": [
        {
          "enum": [
            "missing",
            "invalid"
          ],
          "type": "string"
        },
        {
          "type": "null"
        }
      ]
    },
    "__schema27": {
      "type": "object",
      "properties": {
        "sizes": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema28"
          },
          "maxItems": 60
        },
        "colors": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema32"
          },
          "maxItems": 20
        },
        "sizes_uk": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema30"
          },
          "maxItems": 60
        },
        "sizes_us": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema31"
          },
          "maxItems": 60
        },
        "sizes_repr": {
          "type": "string",
          "maxLength": 400,
          "minLength": 1
        },
        "sizes_available": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema29"
          },
          "maxItems": 60
        }
      }
    },
    "__schema28": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
    },
    "__schema29": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
    },
    "__schema30": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
    },
    "__schema31": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
    },
    "__schema32": {
      "type": "string",
      "maxLength": 60,
      "minLength": 1
    },
    "__schema33": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
    },
    "__schema34": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
    },
    "__schema35": {
      "type": "string",
      "maxLength": 60,
      "minLength": 1
    },
    "__schema36": {
      "type": "object",
      "required": [
        "days",
        "minimum_price",
        "median_price",
        "observations",
        "coverage_pct"
      ],
      "properties": {
        "days": {
          "anyOf": [
            {
              "type": "number",
              "const": 30
            },
            {
              "type": "number",
              "const": 90
            },
            {
              "type": "number",
              "const": 180
            }
          ]
        },
        "coverage_pct": {
          "type": "number",
          "maximum": 100,
          "minimum": 0
        },
        "median_price": {
          "$ref": "#/$defs/__schema9"
        },
        "observations": {
          "type": "integer",
          "maximum": 9007199254740991,
          "minimum": 0
        },
        "minimum_price": {
          "$ref": "#/$defs/__schema9"
        },
        "longest_gap_days": {
          "type": "integer",
          "maximum": 9007199254740991,
          "minimum": 0
        }
      }
    },
    "__schema37": {
      "type": "number"
    },
    "__schema38": {
      "enum": [
        "record_low",
        "excellent_price",
        "good_price",
        "typical_price",
        "above_typical",
        "insufficient_data",
        "unavailable"
      ],
      "type": "string"
    },
    "__schema39": {
      "type": "object",
      "required": [
        "date",
        "price",
        "merchant_count"
      ],
      "properties": {
        "date": {
          "type": "string",
          "pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
        },
        "price": {
          "$ref": "#/$defs/__schema8"
        },
        "merchant_count": {
          "type": "integer",
          "maximum": 9007199254740991,
          "minimum": 0
        }
      }
    }
  },
  "anyOf": [
    {
      "type": "object",
      "required": [
        "schema_version",
        "as_of",
        "currency",
        "locale",
        "warnings",
        "deal_check",
        "identity",
        "candidates",
        "assessment",
        "offer_comparison",
        "price_history"
      ],
      "properties": {
        "as_of": {
          "$ref": "#/$defs/__schema1"
        },
        "locale": {
          "$ref": "#/$defs/__schema3"
        },
        "currency": {
          "$ref": "#/$defs/__schema2"
        },
        "identity": {
          "type": "object",
          "required": [
            "status",
            "basis",
            "product_id",
            "reason"
          ],
          "properties": {
            "basis": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 80
                },
                {
                  "type": "null"
                }
              ]
            },
            "reason": {
              "anyOf": [
                {
                  "type": "string",
                  "maxLength": 160
                },
                {
                  "type": "null"
                }
              ]
            },
            "status": {
              "enum": [
                "exact",
                "selected",
                "ambiguous",
                "no_match"
              ],
              "type": "string"
            },
            "product_id": {
              "anyOf": [
                {
                  "$ref": "#/$defs/__schema6"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        },
        "warnings": {
          "$ref": "#/$defs/__schema4"
        },
        "assessment": {
          "type": "object",
          "required": [
            "verdict",
            "observed_price_source",
            "checked_minimum",
            "difference_eur"
          ],
          "properties": {
            "verdict": {
              "enum": [
                "lower_checked_offer",
                "at_checked_minimum",
                "below_checked_offers",
                "not_comparable",
                "not_supplied"
              ],
              "type": "string"
            },
            "difference_eur": {
              "anyOf": [
                {
                  "type": "number"
                },
                {
                  "type": "null"
                }
              ]
            },
            "observed_price": {
              "type": "object",
              "required": [
                "amount",
                "basis"
              ],
              "properties": {
                "basis": {
                  "enum": [
                    "item_price",
                    "delivered_total"
                  ],
                  "type": "string",
                  "description": "Whether the observed amount excludes shipping or includes it."
                },
                "amount": {
                  "type": "number",
                  "maximum": 1000000,
                  "description": "The observed offer amount in EUR.",
                  "exclusiveMinimum": 0
                }
              }
            },
            "checked_minimum": {
              "anyOf": [
                {
                  "type": "number",
                  "minimum": 0
                },
                {
                  "type": "null"
                }
              ]
            },
            "observed_price_source": {
              "anyOf": [
                {
                  "type": "string",
                  "const": "user_supplied"
                },
                {
                  "type": "null"
                }
              ]
            }
          }
        },
        "candidates": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/__schema7"
          },
          "maxItems": 4,
          "description": "Grouped BestPrice products. For a barcode (GTIN) query the text search cannot find, at most the one grouped product that carries exactly that barcode, with a warning saying so; a barcode shared by several products returns none."
        },
        "deal_check": {
          "type": "boolean",
          "const": true
        },
        "price_history": {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "schema_version",
                "as_of",
                "currency",
                "locale",
                "warnings",
                "product_id",
                "product_title",
                "decision_id",
                "bestprice_url",
                "period_days",
                "current_price",
                "current_price_source",
                "source_last_observed_at",
                "window_stats",
                "price_delta_vs_180d_median_pct",
                "deal_classification",
                "methodology_id",
                "data_gaps",
                "series"
              ],
              "properties": {
                "as_of": {
                  "$ref": "#/$defs/__schema1"
                },
                "locale": {
                  "$ref": "#/$defs/__schema3"
                },
                "series": {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/__schema39"
                  },
                  "maxItems": 180
                },
                "quality": {
                  "type": "object",
                  "required": [
                    "cluster_continuity",
                    "outlier_status"
                  ],
                  "properties": {
                    "outlier_status": {
                      "enum": [
                        "protected",
                        "unsafe",
                        "unknown"
                      ],
                      "type": "string"
                    },
                    "cluster_continuity": {
                      "enum": [
                        "same_cluster",
                        "discontinuous",
                        "unknown"
                      ],
                      "type": "string"
                    }
                  }
                },
                "currency": {
                  "$ref": "#/$defs/__schema2"
                },
                "warnings": {
                  "$ref": "#/$defs/__schema4"
                },
                "data_gaps": {
                  "type": "object",
                  "required": [
                    "missing_days",
                    "longest_gap_days",
                    "stale_days",
                    "coverage_note"
                  ],
                  "properties": {
                    "stale_days": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    },
                    "missing_days": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    },
                    "coverage_note": {
                      "type": "string",
                      "maxLength": 180,
                      "minLength": 1
                    },
                    "longest_gap_days": {
                      "type": "integer",
                      "maximum": 9007199254740991,
                      "minimum": 0
                    }
                  }
                },
                "product_id": {
                  "$ref": "#/$defs/__schema6"
                },
                "decision_id": {
                  "$ref": "#/$defs/__schema11"
                },
                "period_days": {
                  "enum": [
                    30,
                    90,
                    180
                  ],
                  "type": "number"
                },
                "window_stats": {
                  "type": "array",
                  "items": {
                    "$ref": "#/$defs/__schema36"
                  },
                  "maxItems": 3,
                  "description": "Minimum and median statistics for the 30-, 90- and 180-day windows, whatever period_days was requested. The canonical result remains available to the model and card; an empty array supplies no window statistics."
                },
                "bestprice_url": {
                  "$ref": "#/$defs/__schema12"
                },
                "current_price": {
                  "$ref": "#/$defs/__schema9"
                },
                "product_title": {
                  "anyOf": [
                    {
                      "type": "string",
                      "maxLength": 220,
                      "minLength": 1
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "methodology_id": {
                  "type": "string",
                  "pattern": "^[a-z][a-z0-9_]*_v[1-9][0-9]*$",
                  "maxLength": 100,
                  "description": "Price-history method. Currently bestprice_daily_min_v1; a revised method is returned as a new <name>_v<N> id without a tools/list change."
                },
                "schema_version": {
                  "$ref": "#/$defs/__schema0"
                },
                "deal_classification": {
                  "anyOf": [
                    {
                      "$ref": "#/$defs/__schema38"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Classification against the 180-day window statistics, independent of period_days. insufficient_data and unavailable describe evidence limitations; a compatible null supplies no classification."
                },
                "current_price_source": {
                  "enum": [
                    "live_offer_minimum",
                    "latest_daily_history",
                    "unavailable"
                  ],
                  "type": "string"
                },
                "source_last_observed_at": {
                  "anyOf": [
                    {
                      "$ref": "#/$defs/__schema1"
                    },
                    {
                      "type": "null"
                    }
                  ]
                },
                "price_delta_vs_180d_median_pct": {
                  "anyOf": [
                    {
                      "$ref": "#/$defs/__schema37"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "Current price versus the 180-day median, in percent. Always 180 days, independent of period_days."
                }
              }
            },
            {
              "type": "null"
            }
          ]
        },
        "schema_version": {
          "$ref": "#/$defs/__schema0"
        },
        "offer_comparison": {
          "anyOf": [
            {
              "type": "object",
              "required": [
                "schema_version",
                "as_of",
                "currency",
                "locale",
                "warnings",
                "product",
                "postal_code",
                "objective",
                "catalog_price_from",
                "quoted_lowest_item_price",
                "quoted_lowest_total_price",
                "catalog_min_unquoted_reason",
                "offers"
              ],
              "properties": {
                "as_of": {
                  "$ref": "#/$defs/__schema1"
                },
                "locale": {
                  "$ref": "#/$defs/__schema3"
                },
                "offers": {
                  "$ref": "#/$defs/__schema20"
                },
                "product": {
                  "$ref": "#/$defs/__schema13"
                },
                "currency": {
                  "$ref": "#/$defs/__schema2"
                },
                "warnings": {
                  "$ref": "#/$defs/__schema4"
                },
                "objective": {
                  "$ref": "#/$defs/__schema15"
                },
                "postal_code": {
                  "$ref": "#/$defs/__schema14"
                },
                "schema_version": {
                  "$ref": "#/$defs/__schema0"
                },
                "catalog_price_from": {
                  "$ref": "#/$defs/__schema16"
                },
                "quoted_lowest_item_price": {
                  "$ref": "#/$defs/__schema17"
                },
                "quoted_lowest_total_price": {
                  "$ref": "#/$defs/__schema18"
                },
                "catalog_min_unquoted_reason": {
                  "$ref": "#/$defs/__schema19"
                }
              }
            },
            {
              "type": "null"
            }
          ]
        }
      }
    },
    {
      "type": "object",
      "required": [
        "schema_version",
        "as_of",
        "currency",
        "locale",
        "warnings",
        "error"
      ],
      "properties": {
        "as_of": {
          "$ref": "#/$defs/__schema1"
        },
        "error": {
          "type": "object",
          "required": [
            "code",
            "message",
            "retryable"
          ],
          "properties": {
            "code": {
              "type": "string",
              "pattern": "^[A-Z][A-Z0-9_]{2,63}$"
            },
            "message": {
              "type": "string",
              "maxLength": 240,
              "minLength": 1
            },
            "retryable": {
              "type": "boolean"
            }
          }
        },
        "locale": {
          "$ref": "#/$defs/__schema3"
        },
        "currency": {
          "$ref": "#/$defs/__schema2"
        },
        "warnings": {
          "$ref": "#/$defs/__schema4"
        },
        "schema_version": {
          "$ref": "#/$defs/__schema0"
        }
      }
    }
  ],
  "$schema": "https://json-schema.org/draft/2020-12/schema"
}
check_deal annotations
{
  "title": "Check a BestPrice deal",
  "readOnlyHint": true,
  "openWorldHint": true,
  "idempotentHint": true,
  "destructiveHint": false
}

Prompts

Not advertised

No prompt definitions available.

Resources

4 advertised

bestprice-shopping-results — BestPrice shopping results

Advertised by the server during the last successful anonymous check.

Optional portable product and basket cards, offer comparison, and price-history UI.

bestprice-shopping-results URI
ui://bestprice/shopping-results-v1.html

MIME type: text/html;profile=mcp-app

bestprice-shopping-workspace — BestPrice

Advertised by the server during the last successful anonymous check.

Anonymous shopping home, product offers and price history.

bestprice-shopping-workspace URI
ui://bestprice/shopping-workspace-v8.html

MIME type: text/html;profile=mcp-app

bestprice-server-card — BestPrice MCP server card

Advertised by the server during the last successful anonymous check.

Public identity, transport, and tool metadata for BestPrice.

bestprice-server-card URI
mcp://server-card.json

MIME type: application/json

bestprice-shopping — BestPrice Shopping Skill

Advertised by the server during the last successful anonymous check.

When and how an agent should use the BestPrice shopping tools for physical products in Greece.

bestprice-shopping URI
skill://bestprice-shopping/SKILL.md

MIME type: text/markdown

90-day uptime

A lightweight connection check about every six hours, sampled on hosts with many listings. It shows the server answered, not that its tools work.

100% (86 of 86 checks answered)

  1. 2026-11-02: 4 of 4 checks answered
  2. 2026-11-03: 4 of 4 checks answered
  3. 2026-11-04: 4 of 4 checks answered
  4. 2026-11-05: 4 of 4 checks answered
  5. 2026-11-06: 4 of 4 checks answered
  6. 2026-11-07: 2 of 2 checks answered
  7. 2026-11-09: 1 of 1 checks answered
  8. 2026-11-10: 2 of 2 checks answered
  9. 2026-11-11: 1 of 1 checks answered
  10. 2026-11-12: 1 of 1 checks answered
  11. 2026-11-14: 1 of 1 checks answered
  12. 2026-11-15: 2 of 2 checks answered
  13. 2026-11-16: 4 of 4 checks answered
  14. 2026-11-17: 5 of 5 checks answered
  15. 2026-11-18: 5 of 5 checks answered
  16. 2026-11-19: 4 of 4 checks answered
  17. 2026-11-20: 2 of 2 checks answered
  18. 2026-11-21: 4 of 4 checks answered
  19. 2026-11-22: 4 of 4 checks answered
  20. 2026-11-23: 4 of 4 checks answered
  21. 2026-11-24: 4 of 4 checks answered
  22. 2026-11-25: 4 of 4 checks answered
  23. 2026-11-26: 4 of 4 checks answered
  24. 2026-11-27: 4 of 4 checks answered
  25. 2026-11-28: 3 of 3 checks answered
  26. 2026-11-29: 4 of 4 checks answered
  27. 2026-11-30: 1 of 1 checks answered

30-day availability

Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.

Successful checks
2 of 2 (100%)
Average latency
2704 ms
95th percentile latency
2774 ms

Maintenance history

Public check and source-refresh events. Editorial and ownership records remain private.

  • · probe · passed · 2626 ms · metadata changed · 6 tool(s), 4 resource(s), 0 resource template(s)
  • · probe · passed · 2782 ms · metadata changed · 6 tool(s), 4 resource(s), 0 resource template(s)
  • · repository · passed · metadata changed · updated
  • · repository · passed · metadata changed · unchanged
  • · repository · passed · metadata changed · updated
  • · registry · passed · metadata changed · Source metadata updated
  • · backfill · recorded · Pre-expansion baseline; unobserved rich metadata remains unknown

Try asking

Reviewed prompts from cited playbooks. Connect the listed servers before using them.

Analyze price history for purchase timing
Is the current price of [Product Name] good compared to the last 180 days? Show me the price history and tell me if I should buy now or wait.
Compare product prices and shipping costs
Find the best deal for [Product Name] in Greece. Compare offers including shipping costs to postal code [ZIP Code] if available. Also, check the price history for the last 180 days to see if the current price is a good time to buy.

Agent playbooks using this server

Connect from your client

Each snippet registers the same endpoint; pick the client you use.

This server is operated by the named third party. Listing and endpoint checks are not an endorsement or a security audit. Review the operator's permissions, terms, and data handling before connecting. How listings are checked and corrected.

Claude Code

Run this once in a terminal. It registers the remote server. Use --scope project to write .mcp.json for the repo.
Claude Code configuration
claude mcp add --transport http bestprice-mcp https://mcp.bestprice.gr/mcp

Codex

Run this once. Codex stores MCP servers in ~/.codex/config.toml (or .codex/config.toml in a trusted project).
Codex configuration
codex mcp add bestprice-mcp --url https://mcp.bestprice.gr/mcp

Cursor

Merge this server into .cursor/mcp.json in your project, then enable bestprice-mcp in your MCP settings.
Cursor configuration
{
  "mcpServers": {
    "bestprice-mcp": {
      "url": "https://mcp.bestprice.gr/mcp"
    }
  }
}

Cline

Merge this into cline_mcp_settings.json (Cline → MCP Servers → Configure).
Cline configuration
{
  "mcpServers": {
    "bestprice-mcp": {
      "type": "streamableHttp",
      "url": "https://mcp.bestprice.gr/mcp",
      "disabled": false
    }
  }
}

VS Code

Merge this server into .vscode/mcp.json. Use MCP: List Servers to start bestprice-mcp and inspect its tools.
VS Code configuration
{
  "servers": {
    "bestprice-mcp": {
      "type": "http",
      "url": "https://mcp.bestprice.gr/mcp"
    }
  }
}

Gemini CLI

Run this once. It writes .gemini/settings.json in the current project; pass --scope user for ~/.gemini/settings.json.
Gemini CLI configuration
gemini mcp add --transport http bestprice-mcp https://mcp.bestprice.gr/mcp

Claude Desktop

Open Claude Settings > Connectors > Add custom connector, enter this server URL and enable it for the conversation. This is a manual remote-connector handoff, not a desktop JSON configuration.
Claude Desktop configuration
https://mcp.bestprice.gr/mcp

Windsurf

Merge this into ~/.codeium/windsurf/mcp_config.json, then refresh MCP in Cascade. Windsurf remote servers use serverUrl, not url.
Windsurf configuration
{
  "mcpServers": {
    "bestprice-mcp": {
      "serverUrl": "https://mcp.bestprice.gr/mcp"
    }
  }
}

Let your agent find its tools

Find servers like BestPrice MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.

Do you run BestPrice MCP?

Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.

Claim this listing