{
  "openapi": "3.0.1",
  "info": {
    "title": "Amazon TR İndirimleri API | İndirim, Discounts & Lowest Prices",
    "description": "Amazon.com.tr'deki gerçek indirimleri toplar: yüzde indirim rozeti veya 30/60/90/365 günün en düşük fiyatı işareti olanlar. 33 kategori, tasarruf tutarıyla.\n\nAmazon Turkey deals API — real discounts only, all 33 categories, with current price, previous price and exact savings.",
    "version": "1.0",
    "x-build-id": "i8Dv6lVcVVUxhT9Z1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/muzafferkadir~amazon-tr-deals-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-muzafferkadir-amazon-tr-deals-scraper",
        "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/muzafferkadir~amazon-tr-deals-scraper/runs": {
      "post": {
        "operationId": "runs-sync-muzafferkadir-amazon-tr-deals-scraper",
        "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/muzafferkadir~amazon-tr-deals-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-muzafferkadir-amazon-tr-deals-scraper",
        "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": {
          "categories": {
            "title": "Categories",
            "type": "array",
            "description": "Which deal collections to scrape. Leave empty to sweep every category Amazon currently lists. Each category beyond the first is billed as an extra category.",
            "items": {
              "type": "string",
              "enum": [
                "deals-collection-star",
                "deals-collection-prime",
                "deals-collection-coupons",
                "deals-collection-deals-above-1",
                "deals-collection-computers-and-accessories",
                "deals-collection-cell-phones-and-accessories",
                "deals-collection-televisions",
                "deals-collection-headphones-speakers-and-music",
                "deals-collection-camera-and-photo",
                "deals-collection-kitchen",
                "deals-collection-home",
                "deals-collection-garden",
                "deals-collection-diy",
                "deals-collection-grocery",
                "deals-collection-health-and-personal-care",
                "deals-collection-beauty",
                "deals-collection-baby",
                "deals-collection-toys",
                "deals-collection-fashion-women",
                "deals-collection-fashion-men",
                "deals-collection-fashion-children",
                "deals-collection-luggage-and-travel-accessories",
                "deals-collection-sports-and-outdoor",
                "deals-collection-office-products",
                "deals-collection-books",
                "deals-collection-music",
                "deals-collection-pets",
                "deals-collection-otomotive",
                "deals-collection-deals-under-xx",
                "deals-collection-deals-under-250",
                "deals-collection-deals-under-500",
                "deals-collection-deals-under-1000",
                "deals-collection-deals-under-2500"
              ],
              "enumTitles": [
                "Haftanın seçimleri — Weekly picks",
                "Prime'a Özel — Prime exclusive",
                "Kuponlar — Coupons",
                "Tüm fırsatlar — All deals",
                "Bilgisayar — Computers",
                "Cep Telefonları — Phones",
                "TV ve Ev Sineması — TV & home cinema",
                "Kulaklıklar ve Hoparlörler — Audio",
                "Fotoğraf Makinesi ve Kamera — Cameras",
                "Mutfak — Kitchen",
                "Ev ve Yaşam — Home & living",
                "Bahçe — Garden",
                "Yapı Market — DIY",
                "Gıda ve İçecek — Grocery",
                "Sağlık, Bakım ve Temizlik — Health & care",
                "Kişisel Bakım ve Kozmetik — Beauty",
                "Bebek — Baby",
                "Oyuncak — Toys",
                "Kadın Moda — Women's fashion",
                "Erkek Moda — Men's fashion",
                "Çocuk Moda — Kids' fashion",
                "Valizler ve Çantalar — Luggage & bags",
                "Spor ve Outdoor — Sports & outdoor",
                "Ofis ve Kırtasiye — Office",
                "Kitap — Books",
                "Müzik Aletleri — Musical instruments",
                "Evcil Hayvan — Pets",
                "Otomotiv — Automotive",
                "200 TL Altı — Under 200 TL",
                "250 TL altı fırsatlar — Under 250 TL",
                "500 TL altı fırsatlar — Under 500 TL",
                "1000 TL altı fırsatlar — Under 1000 TL",
                "2500 TL altı fırsatlar — Under 2500 TL"
              ]
            }
          },
          "dealFilter": {
            "title": "Which deals to return",
            "enum": [
              "realDiscountsOnly",
              "all"
            ],
            "type": "string",
            "description": "Amazon's deals pages mix real price cuts with items badged only 'Fırsat' or 'Prime Fırsatı', which usually are not meaningfully cheaper. The default keeps a product only when Amazon advertises a discount percentage or marks it the lowest price of the last 30/60/90/365 days.",
            "default": "realDiscountsOnly"
          },
          "minDiscountPercent": {
            "title": "Minimum discount %",
            "minimum": 1,
            "maximum": 99,
            "type": "integer",
            "description": "Drop anything below this discount. Products without an advertised percentage are excluded when this is set."
          },
          "maxItems": {
            "title": "Maximum products",
            "minimum": 1,
            "type": "integer",
            "description": "Stop once this many products have been saved. Leave empty for everything the selected categories hold."
          },
          "maxItemsPerCategory": {
            "title": "Maximum products per category",
            "minimum": 1,
            "type": "integer",
            "description": "Keeps one large category from using the whole budget when several are selected."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Amazon.com.tr serves this data without a challenge, so a proxy is optional. Use one to spread requests across IPs on large sweeps.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}