{
  "openapi": "3.0.1",
  "info": {
    "title": "Watch Price API: Rolex, Omega Market Value and Price History",
    "description": "Luxury watch price API: secondary market value, dealer price, median asking price and daily price history for Rolex, Omega, Patek Philippe, Audemars Piguet and more by brand and reference, plus specs, retail prices, appraisals and listings (WatchCharts). Bring your own key.",
    "version": "0.1",
    "x-build-id": "s9spxJXQc05DnhLHG"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/nabeelbaghoor~luxury-watch-price-api/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-nabeelbaghoor-luxury-watch-price-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/nabeelbaghoor~luxury-watch-price-api/runs": {
      "post": {
        "operationId": "runs-sync-nabeelbaghoor-luxury-watch-price-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/nabeelbaghoor~luxury-watch-price-api/run-sync": {
      "post": {
        "operationId": "run-sync-nabeelbaghoor-luxury-watch-price-api",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "What to read",
            "enum": [
              "searchWatch",
              "watchInfo",
              "priceHistory",
              "watchSpecs",
              "retailPrice",
              "appraisal",
              "historicalListings",
              "brandList"
            ],
            "type": "string",
            "description": "Each mode calls one documented read endpoint of the WatchCharts API v3 with your own key. Data credit costs per call are WatchCharts' own and come out of your plan's 24 hour allowance.",
            "default": "searchWatch"
          },
          "apiKey": {
            "title": "WatchCharts API key",
            "type": "string",
            "description": "Your own key from watchcharts.com/api/keys. It needs an active WatchCharts Professional membership with API access. Sent only in the x-api-key header. Leave empty to use the DATA_API_KEY secret."
          },
          "brandName": {
            "title": "Brand name",
            "type": "string",
            "description": "Watch search. The brand as WatchCharts names it, such as Rolex, Omega, Patek Philippe or Audemars Piguet. The brand list mode shows every supported name."
          },
          "references": {
            "title": "Reference numbers",
            "type": "array",
            "description": "Watch search. One reference number of the brand above per line, such as 116500LN or 126610LN. Each line is one search.",
            "items": {
              "type": "string"
            }
          },
          "followWith": {
            "title": "Follow each match with",
            "enum": [
              "none",
              "watchInfo",
              "priceHistory",
              "watchSpecs",
              "retailPrice",
              "appraisal",
              "historicalListings"
            ],
            "type": "string",
            "description": "Watch search. Calls one more endpoint for every watch the search finds, using its UUID. Each follow up call uses its own data credits.",
            "default": "none"
          },
          "uuids": {
            "title": "Watch UUIDs",
            "type": "array",
            "description": "Watch info, price history, specs, retail price, appraisal and historical listings. One WatchCharts UUID per line, as the watch search returns it, such as 7901c9d7-22f9-4783-b5ce-48ee079a62ab (Rolex 116500LN).",
            "items": {
              "type": "string"
            }
          },
          "period": {
            "title": "Price history period",
            "enum": [
              "1y",
              "5y",
              "full"
            ],
            "type": "string",
            "description": "Price history. The daily history for the default basis: a used watch with box and papers, global region, market price.",
            "default": "1y"
          },
          "currency": {
            "title": "Currency",
            "type": "string",
            "description": "Price history and appraisal. A three letter ISO code from watchcharts.com/api/currencies, such as USD, EUR, GBP, CHF or JPY.",
            "default": "USD"
          },
          "condition": {
            "title": "Condition",
            "enum": [
              "new",
              "used"
            ],
            "type": "string",
            "description": "Appraisal. The condition of the watch. WatchCharts uses used when this is empty."
          },
          "deliveryContents": {
            "title": "Box and papers",
            "enum": [
              "watch_with_box_and_papers",
              "watch_only"
            ],
            "type": "string",
            "description": "Appraisal. What comes with the watch. WatchCharts uses watch with box and papers when this is empty."
          },
          "region": {
            "title": "Region",
            "enum": [
              "g",
              "na",
              "eu",
              "as"
            ],
            "type": "string",
            "description": "Appraisal. The region the watch is located in. WatchCharts uses global when this is empty."
          },
          "priceType": {
            "title": "Market or dealer price",
            "enum": [
              "market",
              "dealer"
            ],
            "type": "string",
            "description": "Appraisal. Whether to read the market price or the usually higher secondary market dealer price. WatchCharts uses market when this is empty."
          },
          "maxResults": {
            "title": "Maximum rows",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "The run stops after this many rows. Requests are paced at WatchCharts' limit of 1 per second per key.",
            "default": 1000
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}