{
  "openapi": "3.0.1",
  "info": {
    "title": "Ekşi Sözlük Scraper",
    "description": "Scrape Ekşi Sözlük entries, topics and author feeds. Search by word, author and date, or paste a topic, entry, user, gündem or debe link. Each entry includes the text, the author, the favorite count and the time it was written. Export JSON or CSV for brand monitoring, research and archives.",
    "version": "0.0",
    "x-build-id": "ikJDLcSeSA8zL7vn1"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~eksisozluk-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-eksisozluk-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/memo23~eksisozluk-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-eksisozluk-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/memo23~eksisozluk-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-eksisozluk-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": "Links",
            "type": "array",
            "description": "Ekşi Sözlük links to read. A topic link such as https://eksisozluk.com/istanbul--32102 returns entries. An entry link returns that entry. A user link such as https://eksisozluk.com/biri/ssg returns that author's latest entries. https://eksisozluk.com/basliklar/gundem and https://eksisozluk.com/debe return the agenda and yesterday's most favored entries. Channel links such as https://eksisozluk.com/basliklar/kanal/spor work the same way as gündem.",
            "items": {
              "type": "string"
            }
          },
          "queries": {
            "title": "Search words",
            "type": "array",
            "description": "Words to search, one per line. Example: trendyol. Each word is searched on its own. The matching topics are then opened for entries, unless Read entries inside topics is turned off.",
            "items": {
              "type": "string"
            }
          },
          "authors": {
            "title": "Authors",
            "type": "array",
            "description": "Author nicks whose latest entries to read, one per line. Example: ssg. This is separate from Search author, which only filters a search.",
            "items": {
              "type": "string"
            }
          },
          "searchAuthor": {
            "title": "Search author",
            "type": "string",
            "description": "Limit Search words to topics that include entries by this nick. Example: ssg. Leave empty to search everyone. Does not affect the Authors list or pasted links."
          },
          "fromDate": {
            "title": "From date",
            "type": "string",
            "description": "Earliest day for Search words, as YYYY-MM-DD. Example: 2024-01-01. Day-month-year (26.07.2013) is accepted too. Leave empty for no start. Does not affect pasted links or the Authors list."
          },
          "toDate": {
            "title": "To date",
            "type": "string",
            "description": "Latest day for Search words, as YYYY-MM-DD. Example: 2024-12-31. Leave empty for no end."
          },
          "niceOnly": {
            "title": "Good entries only",
            "type": "boolean",
            "description": "Limit Search words to entries the site has marked as good ones. Default is off, which keeps every match.",
            "default": false
          },
          "sortOrder": {
            "title": "Search order",
            "enum": [
              "Date",
              "Count",
              "Topic"
            ],
            "type": "string",
            "description": "How search matches are ordered. Date is newest first. Count is the topics with the most entries first. Topic is alphabetical. Default is Date.",
            "default": "Date"
          },
          "popularEntries": {
            "title": "Popular entries",
            "type": "boolean",
            "description": "Open each topic on its popular entries instead of the newest ones. Default is off. A link that already asks for the popular view is left as it is.",
            "default": false
          },
          "expandTopics": {
            "title": "Read entries inside topics",
            "type": "boolean",
            "description": "On by default: a search, gündem or a channel is followed into entries, and you are charged for each entry. Turn off to save one row per topic instead, with the title, link and entry count, and no entry text.",
            "default": true
          },
          "maxItems": {
            "title": "Maximum entries",
            "minimum": 1,
            "maximum": 100000,
            "type": "integer",
            "description": "Stop after this many rows. Default is 100. The form starts at 20 so a first run stays small. A free plan is capped at 20 rows.",
            "default": 100
          },
          "maxPages": {
            "title": "Pages per topic",
            "minimum": 1,
            "maximum": 50,
            "type": "integer",
            "description": "How many pages to read on each topic, author and list. Default is 3. A topic page holds about ten entries, and a large topic can have hundreds of pages, so raise this together with Maximum entries.",
            "default": 3
          },
          "maxTopics": {
            "title": "Topics to open",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "How many topics from a search, gündem or a channel to open when Read entries inside topics is on. Default is 15. A search can match hundreds of topics.",
            "default": 15
          },
          "maxConcurrency": {
            "title": "Parallel topics",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "How many topics to read at the same time. Default is 4. Range is 1 to 8.",
            "default": 4
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}