{
  "openapi": "3.0.1",
  "info": {
    "title": "Amazon Türkiye Scraper",
    "description": "Search, browse best sellers and fetch product details (price, availability, ratings, specs) and customer reviews from Amazon Türkiye (amazon.com.tr).",
    "version": "0.0",
    "x-build-id": "awHtgWcT2SXZwmb22"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/maviapi~amazon-com-tr-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-maviapi-amazon-com-tr-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/maviapi~amazon-com-tr-scraper/runs": {
      "post": {
        "operationId": "runs-sync-maviapi-amazon-com-tr-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/maviapi~amazon-com-tr-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-maviapi-amazon-com-tr-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": {
          "endpoint": {
            "title": "Endpoint",
            "enum": [
              "/bestsellers",
              "/explore",
              "/products/{asin}",
              "/products/{asin}/reviews",
              "/search"
            ],
            "type": "string",
            "description": "What to fetch. Each field below says which endpoints use it.",
            "default": "/bestsellers"
          },
          "category": {
            "title": "Category",
            "type": "string",
            "description": "Department One of: electronics, computers, home, kitchen, home-improvement, garden, beauty, hpc, apparel, baby-products, books, toys, videogames, sporting-goods, automotive, office-products, pet-supplies, grocery, musical-instruments, gift-cards. Used by: Best sellers, Explore (search or best sellers + details), Search products."
          },
          "page": {
            "title": "Page",
            "type": "integer",
            "description": "1 = ranks 1-50, 2 = ranks 51-100 One of: 1, 2. Used by: Best sellers, Explore (search or best sellers + details), Search products."
          },
          "limit": {
            "title": "Limit",
            "type": "integer",
            "description": "Page size (items returned from the cached result) Used by: Best sellers, Explore (search or best sellers + details), Product reviews, Search products."
          },
          "offset": {
            "title": "Offset",
            "type": "integer",
            "description": "Items to skip Used by: Best sellers, Explore (search or best sellers + details), Product reviews, Search products."
          },
          "refresh": {
            "title": "Refresh",
            "type": "boolean",
            "description": "Bypass and repopulate the cache Used by: every endpoint."
          },
          "kind": {
            "title": "Kind",
            "type": "string",
            "description": "Which list to start from One of: search, bestsellers. Used by: Explore (search or best sellers + details)."
          },
          "q": {
            "title": "Q",
            "type": "string",
            "description": "Search text (kind=search) Used by: Explore (search or best sellers + details), Search products."
          },
          "sort": {
            "title": "Sort",
            "type": "string",
            "description": "Sort order (kind=search) One of: relevance, price-asc, price-desc, rating, newest, bestsellers. Used by: Explore (search or best sellers + details), Search products."
          },
          "details": {
            "title": "Details",
            "type": "integer",
            "description": "How many top items get full product detail One of: 0, 1, 2, 3, 4, 5. Used by: Explore (search or best sellers + details)."
          },
          "reviews": {
            "title": "Reviews",
            "type": "boolean",
            "description": "Include up to 10 top reviews in each detail Used by: Explore (search or best sellers + details)."
          },
          "asin": {
            "title": "Asin",
            "type": "string",
            "description": "Amazon product id (ASIN, 10 characters; ISBN-10 for books) Used by: Product detail, Product reviews."
          },
          "min_price": {
            "title": "Min price",
            "type": "string",
            "description": "Minimum price in TRY Used by: Search products."
          },
          "max_price": {
            "title": "Max price",
            "type": "string",
            "description": "Maximum price in TRY Used by: Search products."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}