{
  "openapi": "3.0.1",
  "info": {
    "title": "Trendyol Products Scraper · Reviews and Q&A · $1/1K",
    "description": "Collect public Trendyol products from searches, categories, stores and product URLs for price monitoring, catalog enrichment and competitor research. Optional reviews and answered questions. $1/1K records.",
    "version": "0.1",
    "x-build-id": "gcqjtpkjRchEcF2ij"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/mlg14~trendyol-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-mlg14-trendyol-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/mlg14~trendyol-scraper/runs": {
      "post": {
        "operationId": "runs-sync-mlg14-trendyol-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/mlg14~trendyol-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-mlg14-trendyol-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": {
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Trendyol search, category, store or product page URLs to collect products from. Example: https://www.trendyol.com/sr?q=kulaklik. Use this when you already have page links; leave empty to rely on queries only.",
            "default": [
              "https://www.trendyol.com/sr?q=kulaklik"
            ],
            "items": {
              "type": "string"
            }
          },
          "queries": {
            "title": "Search queries",
            "type": "array",
            "description": "Product keywords, each searched separately on Trendyol. Turkish terms work best. Example: kulaklik or erkek sneaker. Use this to find products by keyword; leave empty to use only startUrls.",
            "default": [
              "kulaklik"
            ],
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Minimum price",
            "minimum": 0,
            "type": "number",
            "description": "Keep only products priced at or above this amount in Turkish lira (TRY), as a number. Example: 100. Use together with maxPrice for a price band; leave empty for no lower bound."
          },
          "maxPrice": {
            "title": "Maximum price",
            "minimum": 0,
            "type": "number",
            "description": "Keep only products priced at or below this amount in Turkish lira (TRY), as a number. Example: 2000. Use together with minPrice for a price band; leave empty for no upper bound."
          },
          "minimumStarRating": {
            "title": "Minimum rating",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "4.5"
            ],
            "type": "string",
            "description": "Keep only products with at least this average star rating. Allowed values: 1, 2, 3, 4, 4.5. Example: 4 keeps products rated 4 stars or higher. Leave empty to keep every rating."
          },
          "couponsOnly": {
            "title": "Coupons only",
            "type": "boolean",
            "description": "Keep only listings marked as having a collectable coupon. Allowed values: true or false. Example: true for coupon deals only. Set true for promotion tracking; leave false for all products.",
            "default": false
          },
          "specialOffersOnly": {
            "title": "Special offers only",
            "type": "boolean",
            "description": "Keep only listings that show a promotion. Allowed values: true or false. Example: true for discounted or campaign products only. Set true for offer tracking; leave false for all products.",
            "default": false
          },
          "enrich_data": {
            "title": "Visit product pages",
            "type": "boolean",
            "description": "Visit each product page for category path, merchant name and score, attributes and review count. Allowed values: true or false. Example: true. Set true when you need these details; leave false for fast runs.",
            "default": false
          },
          "getReviews": {
            "title": "Include reviews",
            "type": "boolean",
            "description": "Also save public product reviews as separate review records. Allowed values: true or false. Example: true with maxReviews 5. Set true for customer feedback analysis; leave false for products only.",
            "default": false
          },
          "maxReviews": {
            "title": "Reviews per product",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum review records saved per product, as an integer of 1 or more. Example: 5. Use with getReviews true; the embedded review sample can be smaller. Leave empty for every available review."
          },
          "reviewSort": {
            "title": "Review order",
            "enum": [
              "recommended",
              "newest",
              "oldest",
              "rating_asc",
              "rating_desc"
            ],
            "type": "string",
            "description": "Order of the available review sample before maxReviews is applied. Allowed values: recommended, newest, oldest, rating_asc, rating_desc. Example: newest. Use newest for recent feedback.",
            "default": "recommended"
          },
          "getQna": {
            "title": "Include answered questions",
            "type": "boolean",
            "description": "Also save public answered questions as separate qna records. Allowed values: true or false. Example: true with maxQna 5. Set true for buyer-question research; leave false for products only.",
            "default": false
          },
          "maxQna": {
            "title": "Questions per product",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum answered questions saved per product, as an integer of 1 or more. Example: 5. Use with getQna true; the embedded page usually holds about eight. Leave empty for all available questions."
          },
          "limit": {
            "title": "Products per target",
            "minimum": 1,
            "type": "integer",
            "description": "Maximum product records saved for each query or URL target, as an integer of 1 or more. Example: 36 (one listing page). Use a small value for tests and a larger one for broad coverage.",
            "default": 36
          },
          "maxItems": {
            "title": "Total record limit",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many dataset records in total, counting products, reviews and questions together. Example: 100. Set 0 for no limit. Use it as a hard cost cap, since each record is billed.",
            "default": 0
          },
          "proxyConfiguration": {
            "title": "Proxy",
            "type": "object",
            "description": "Proxy settings for requests. Turkish residential access is used for public product pages. Example: {\"useApifyProxy\": true}. Leave the default unless you bring your own proxies.",
            "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
                  },
                  "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}