{
  "openapi": "3.0.1",
  "info": {
    "title": "Trendyol Scraper | All-In-One",
    "description": "Extract structured Trendyol product data including prices, ratings, product reviews, Q&A, seller details, and promotion signals. Built for enterprise-grade ecommerce intelligence, catalog enrichment, competitive analysis, and scalable data pipelines.",
    "version": "1.1",
    "x-build-id": "3JsG5q2YthHmCHpoz"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/fatihtahta~trendyol-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-fatihtahta-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/fatihtahta~trendyol-scraper/runs": {
      "post": {
        "operationId": "runs-sync-fatihtahta-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/fatihtahta~trendyol-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-fatihtahta-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": "Add Trendyol URLs",
            "type": "array",
            "description": "Paste Trendyol search result pages, category or collection pages, merchant pages, or individual product pages. Use URLs for precise collection from known product surfaces.",
            "items": {
              "type": "string"
            }
          },
          "queries": {
            "title": "Add Product Search Queries",
            "type": "array",
            "description": "Enter product-focused keywords such as a brand, model, product type, or category. Each query is collected separately, which is useful for comparing assortments or monitoring multiple product groups.",
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Set Minimum Price",
            "minimum": 0,
            "type": "integer",
            "description": "Set the lowest product price to include in query-based searches. This is useful for excluding entry-level items from pricing, catalog, or promotion analysis."
          },
          "maxPrice": {
            "title": "Set Maximum Price",
            "minimum": 0,
            "type": "integer",
            "description": "Set the highest product price to include in query-based searches. Use it with the minimum price for a defined band, or on its own to exclude higher-priced products."
          },
          "minimumStarRating": {
            "title": "Require Minimum Star Rating",
            "enum": [
              "1",
              "2",
              "3",
              "4",
              "4.5"
            ],
            "type": "string",
            "description": "Keep only products that meet the selected minimum customer rating. Use this when quality signals matter more than broad discovery."
          },
          "lowestPriceDays": {
            "title": "Filter by Lowest-Price Window",
            "uniqueItems": true,
            "type": "array",
            "description": "Keep products that Trendyol marks as being at their lowest tracked price for the selected time window. Use this for price-drop monitoring, deal discovery, and promotion analysis.",
            "items": {
              "type": "string",
              "enum": [
                "10",
                "14",
                "30"
              ],
              "enumTitles": [
                "10 days | current low price",
                "14 days | current low price",
                "30 days | current low price"
              ]
            },
            "default": []
          },
          "influencerPreferredOnly": {
            "title": "Filter for Influencer Preferred Products",
            "type": "boolean",
            "description": "Enable this to collect only products carrying Trendyol's Influencer Preferred label. Use it when social-commerce or highlighted product placement matters to your analysis.",
            "default": false
          },
          "couponsOnly": {
            "title": "Filter for Products with Coupons",
            "type": "boolean",
            "description": "Enable this to collect only products that currently show coupon availability. Use it for coupon tracking, discount monitoring, and promotion reporting.",
            "default": false
          },
          "specialOffersOnly": {
            "title": "Filter for Products with Special Offers",
            "type": "boolean",
            "description": "Enable this to collect only products that currently show a special offer. Use it when tracking promotional coverage or building deal-focused datasets.",
            "default": false
          },
          "newlyReleasedOnly": {
            "title": "Filter for Newly Released Products",
            "type": "boolean",
            "description": "Enable this to focus on products marked as newly released. Use it for launch monitoring, assortment freshness checks, and new-product research.",
            "default": false
          },
          "enrich_data": {
            "title": "Enrich Product Records",
            "type": "boolean",
            "description": "Enable this to add richer product details to saved product records. Keep it disabled for faster listing-focused runs, or enable it when catalog enrichment and deeper product attributes are more important.",
            "default": false
          },
          "getReviews": {
            "title": "Include Product Reviews",
            "type": "boolean",
            "description": "Enable this to collect customer reviews for each saved product. Reviews are useful for sentiment analysis, quality monitoring, and competitive product research.",
            "default": false
          },
          "maxReviews": {
            "title": "Set Maximum Reviews per Product",
            "minimum": 1,
            "type": "integer",
            "description": "Limit how many reviews are saved for each product. This setting only matters when product reviews are enabled; smaller values are faster, while larger values provide deeper review coverage."
          },
          "getQna": {
            "title": "Include Product Q&A",
            "type": "boolean",
            "description": "Enable this to collect answered customer questions for each saved product. Q&A records help with buyer-intent analysis, support insights, and product-page research.",
            "default": false
          },
          "maxQna": {
            "title": "Set Maximum Q&A Items per Product",
            "minimum": 1,
            "type": "integer",
            "description": "Limit how many answered questions are saved for each product. This setting only matters when product Q&A collection is enabled; smaller values keep runs lean, while larger values provide broader question coverage."
          },
          "limit": {
            "title": "Set Maximum Products to Save",
            "minimum": 10,
            "type": "integer",
            "description": "Stop collecting after this many product records have been saved for each query or direct collection target. Choose a smaller number for quick validation, or a larger number when you need broader coverage.",
            "default": 50000
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}