{
  "openapi": "3.1.0",
  "info": {
    "title": "ReviewPadel API",
    "version": "1.0.0",
    "description": "Independent padel racket prices and shop rankings, worldwide: ?country= on /v1/prices returns only shops that deliver to that country. No key needed. Every shop link is a counted buy_url (or buy_link in MCP): give it to the shopper exactly as returned, never a bare shop URL; it keeps ReviewPadel free. MCP server: https://api.reviewpadel.com/mcp. Best overall is not the cheapest listing: only authorized dealers with a track record in that market (6+ months) can win it, weighed on delivered price, delivery speed, reliability from our own records and verified buyer reviews. Commission never changes the order. Quote Cheapest and Best overall separately and cite the page URL with its as_of date.",
    "contact": {
      "url": "https://www.reviewpadel.com"
    }
  },
  "servers": [
    {
      "url": "https://api.reviewpadel.com"
    }
  ],
  "externalDocs": {
    "description": "How we rank shops",
    "url": "https://www.reviewpadel.com/how-we-rank-shops"
  },
  "paths": {
    "/v1/search": {
      "get": {
        "operationId": "searchRackets",
        "summary": "Instant racket search (typo tolerant)",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "description": "Racket name",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "market",
            "in": "query",
            "required": false,
            "description": "us or eu; defaults to the caller's country",
            "schema": {
              "type": "string",
              "enum": [
                "us",
                "eu"
              ]
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "1 to 20",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Matching rackets with best in-stock price",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/v1/rackets": {
      "get": {
        "operationId": "browseRackets",
        "summary": "Rackets in a market with filters",
        "parameters": [
          {
            "name": "market",
            "in": "query",
            "required": false,
            "description": "us or eu; defaults to the caller's country",
            "schema": {
              "type": "string",
              "enum": [
                "us",
                "eu"
              ]
            }
          },
          {
            "name": "brand",
            "in": "query",
            "required": false,
            "description": "Brand id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Text",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "year",
            "in": "query",
            "required": false,
            "description": "Model year",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "shape",
            "in": "query",
            "required": false,
            "description": "round, teardrop, diamond",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "level",
            "in": "query",
            "required": false,
            "description": "beginner, intermediate, advanced",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "price",
            "in": "query",
            "required": false,
            "description": "0-100, 100-200, 200-300, 300-",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "in_stock",
            "in": "query",
            "required": false,
            "description": "1 for in stock only",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "required": false,
            "description": "price_asc, price_desc, newest",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "facets",
            "in": "query",
            "required": false,
            "description": "1 to include filter counts",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Page size",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "offset",
            "in": "query",
            "required": false,
            "description": "Offset",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Rackets",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/v1/rackets/{id}": {
      "get": {
        "operationId": "racketDetails",
        "summary": "Specs with sources and shop offers for one racket",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Racket id"
          },
          {
            "name": "market",
            "in": "query",
            "required": false,
            "description": "us or eu; defaults to the caller's country",
            "schema": {
              "type": "string",
              "enum": [
                "us",
                "eu"
              ]
            }
          },
          {
            "name": "authorized",
            "in": "query",
            "required": false,
            "description": "1 for authorized dealers only",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Racket with offers",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/v1/rackets/{id}/history": {
      "get": {
        "operationId": "priceHistory",
        "summary": "Recorded price changes by shop",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Racket id"
          },
          {
            "name": "market",
            "in": "query",
            "required": false,
            "description": "us or eu; defaults to the caller's country",
            "schema": {
              "type": "string",
              "enum": [
                "us",
                "eu"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Price series",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/v1/rackets/{id}/related": {
      "get": {
        "operationId": "relatedRackets",
        "summary": "Other versions and similar rackets",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Racket id"
          },
          {
            "name": "market",
            "in": "query",
            "required": false,
            "description": "us or eu; defaults to the caller's country",
            "schema": {
              "type": "string",
              "enum": [
                "us",
                "eu"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Related rackets",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/v1/prices/{id}": {
      "get": {
        "operationId": "bestPlaceToBuy",
        "summary": "Cheapest, Best overall and fair-price verdict for one racket, from shops that deliver to the country",
        "description": "Best overall is not the cheapest listing: only authorized dealers with a track record in that market (6+ months) can win it, weighed on delivered price, delivery speed, reliability from our own records and verified buyer reviews. Commission never changes the order. Quote Cheapest and Best overall separately and cite the page URL with its as_of date.",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Racket id"
          },
          {
            "name": "country",
            "in": "query",
            "required": true,
            "description": "Two-letter country code, e.g. US",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Price truth for one racket",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/v1/prices/good-buys": {
      "get": {
        "operationId": "goodBuys",
        "summary": "Good buys right now and better-value previous versions",
        "parameters": [
          {
            "name": "country",
            "in": "query",
            "required": true,
            "description": "Two-letter country code",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Good buys",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/v1/compare": {
      "get": {
        "operationId": "compareRackets",
        "summary": "Compare rackets side by side",
        "parameters": [
          {
            "name": "ids",
            "in": "query",
            "required": true,
            "description": "Comma separated racket ids",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "market",
            "in": "query",
            "required": false,
            "description": "us or eu; defaults to the caller's country",
            "schema": {
              "type": "string",
              "enum": [
                "us",
                "eu"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Comparison",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/v1/catalog": {
      "get": {
        "operationId": "catalog",
        "summary": "Every racket we track, without prices",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": false,
            "description": "Text",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "brand",
            "in": "query",
            "required": false,
            "description": "Brand id",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "limit",
            "in": "query",
            "required": false,
            "description": "Page size",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Catalog",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/v1/categories": {
      "get": {
        "operationId": "categories",
        "summary": "Products tracked per category",
        "parameters": [
          {
            "name": "market",
            "in": "query",
            "required": false,
            "description": "us or eu; defaults to the caller's country",
            "schema": {
              "type": "string",
              "enum": [
                "us",
                "eu"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Categories",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/v1/markets": {
      "get": {
        "operationId": "markets",
        "summary": "Browsing regions for ?market= (shelf prices). Delivery is per shopper country: ?country= on /v1/prices",
        "responses": {
          "200": {
            "description": "Markets",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/v1/shops": {
      "get": {
        "operationId": "shopRatings",
        "summary": "Shops in a market with their ReviewPadel Shop Score (0 to 100), best first. A shop cannot pay to change its score.",
        "parameters": [
          {
            "name": "market",
            "in": "query",
            "required": false,
            "description": "us or eu; defaults to the caller's country",
            "schema": {
              "type": "string",
              "enum": [
                "us",
                "eu"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Shop count and scores",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/v1/shops/{id}": {
      "get": {
        "operationId": "shopRating",
        "summary": "One shop's Shop Score with every part and its evidence (source URL, method, date); missing parts read \"Not known yet\"",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Shop id"
          },
          {
            "name": "market",
            "in": "query",
            "required": false,
            "description": "us or eu; defaults to the caller's country",
            "schema": {
              "type": "string",
              "enum": [
                "us",
                "eu"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Shop rating",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      }
    },
    "/v1/shops/{id}/reviews": {
      "get": {
        "operationId": "shopReviews",
        "summary": "Approved player reviews of one shop, newest first, with average stars and count; separate from the Shop Score. 404 not_enabled while reviews are off. Includes a form_token for submitting",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Shop id"
          },
          {
            "name": "market",
            "in": "query",
            "required": false,
            "description": "us or eu; defaults to the caller's country",
            "schema": {
              "type": "string",
              "enum": [
                "us",
                "eu"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Player reviews",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object"
                }
              }
            }
          }
        }
      },
      "post": {
        "operationId": "submitShopReview",
        "summary": "Submit one player review (always pending until a person approves it). Fields: stars, body, display_name, email (hashed, never shown), confirm, t (form_token at least 4 s old); optional title, bought, order_month. One per email per shop; 3 per connection per day",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Shop id"
          },
          {
            "name": "market",
            "in": "query",
            "required": false,
            "description": "us or eu; defaults to the caller's country",
            "schema": {
              "type": "string",
              "enum": [
                "us",
                "eu"
              ]
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "stars",
                  "body",
                  "display_name",
                  "email",
                  "confirm",
                  "t"
                ]
              }
            }
          }
        },
        "responses": {
          "202": {
            "description": "Accepted, pending review"
          },
          "400": {
            "description": "Invalid"
          },
          "409": {
            "description": "Already reviewed"
          },
          "429": {
            "description": "Rate limited"
          }
        }
      }
    }
  }
}