{
  "openapi": "3.0.1",
  "info": {
    "title": "Eksi Sozluk Scraper",
    "description": "Get Ekşi Sözlük entries, topics, and author profiles from keywords, topic links, searches, channels, trending topics, and DEBE. Each entry comes with its full text, author, date, favorite count, and link. No login needed.",
    "version": "0.0",
    "x-build-id": "Pb6RpD5wL8DcKestF"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/maximedupre~eksi-sozluk-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-maximedupre-eksi-sozluk-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/maximedupre~eksi-sozluk-scraper/runs": {
      "post": {
        "operationId": "runs-sync-maximedupre-eksi-sozluk-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/maximedupre~eksi-sozluk-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-maximedupre-eksi-sozluk-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",
        "required": [
          "resultType"
        ],
        "properties": {
          "maxItems": {
            "title": "Max results",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many results in total. Leave empty or set 0 to get all available results."
          },
          "resultType": {
            "title": "Result type",
            "enum": [
              "entries",
              "topics",
              "authorProfiles"
            ],
            "type": "string",
            "description": "Choose what each result row is: an entry, a topic (title, link, and entry count, without entries), or an author profile."
          },
          "findEntriesBy": {
            "title": "Find entries by",
            "enum": [
              "topics",
              "entryUrls",
              "search",
              "author",
              "popular",
              "debe",
              "channel"
            ],
            "type": "string",
            "description": "Choose where the entries come from. Search, authors, and channels use the shared options further down.",
            "default": "topics"
          },
          "topics": {
            "title": "Topic names or links: Topics",
            "type": "array",
            "description": "Add keywords, topic names, or topic links, such as `yapay zeka` or `https://eksisozluk.com/yapay-zeka--123456`. You get the entries of each topic.",
            "items": {
              "type": "string"
            }
          },
          "entryDate": {
            "title": "Topic names or links: Entry date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Get only entries written on this day. Leave empty to get entries from all days."
          },
          "entryUrls": {
            "title": "Entry links: Entry links",
            "type": "array",
            "description": "Add entry links, such as `https://eksisozluk.com/entry/1`. You get one row for each entry.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "authorEntryType": {
            "title": "Authors: Entry type",
            "enum": [
              "latest",
              "mostFavorited",
              "favorited"
            ],
            "type": "string",
            "description": "Choose which entries of each author to get.",
            "default": "latest"
          },
          "maxEntriesPerAuthor": {
            "title": "Authors: Max entries per author",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many entries for each author. Leave empty or set 0 to get all available entries."
          },
          "entryOrder": {
            "title": "Entry order",
            "enum": [
              "default",
              "nice",
              "dailynice"
            ],
            "type": "string",
            "description": "Choose the order of each topic's entries. The most favorited choices give the topic's best-rated (nice) entries first. Used by Topic names or links, Topic search, Today's popular topics, and Channels.",
            "default": "default"
          },
          "maxEntriesPerTopic": {
            "title": "Max entries per topic",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many entries for each topic. Leave empty or set 0 to get all available entries. Used by Topic names or links, Topic search, Today's popular topics, and Channels."
          },
          "findTopicsFrom": {
            "title": "Find topics from",
            "enum": [
              "trending",
              "popular",
              "search",
              "channel"
            ],
            "type": "string",
            "description": "Choose which topic list to get. Topic search and Channels use the shared options further down.",
            "default": "trending"
          },
          "searchQueries": {
            "title": "Search keywords",
            "type": "array",
            "description": "Keywords to search topics for. Used when entries or topics come from Topic search.",
            "items": {
              "type": "string"
            }
          },
          "searchAuthor": {
            "title": "Search by author",
            "type": "string",
            "description": "Find only topics where this username wrote. Used by Topic search."
          },
          "searchDateFrom": {
            "title": "Search from date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Find only topics with entries on or after this day. Used by Topic search."
          },
          "searchDateTo": {
            "title": "Search to date",
            "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
            "type": "string",
            "description": "Find only topics with entries on or before this day. Used by Topic search."
          },
          "searchNiceOnly": {
            "title": "Only nice entries",
            "type": "boolean",
            "description": "Find only topics with best-rated (nice) entries. Used by Topic search.",
            "default": false
          },
          "searchSort": {
            "title": "Search order",
            "enum": [
              "date",
              "count",
              "topic"
            ],
            "type": "string",
            "description": "Choose the order of the found topics. Used by Topic search.",
            "default": "date"
          },
          "channels": {
            "title": "Channels",
            "type": "array",
            "description": "Pick Ekşi Sözlük channels, or type another channel name as it shows in the channel link. Used when entries or topics come from Channels.",
            "items": {
              "type": "string",
              "enumSuggestedValues": [
                "spor",
                "siyaset",
                "teknoloji",
                "haber",
                "ekonomi",
                "bilim",
                "sinema",
                "müzik",
                "edebiyat",
                "tarih",
                "oyun",
                "ilişkiler"
              ]
            }
          },
          "authors": {
            "title": "Authors",
            "type": "array",
            "description": "Add usernames or profile links, such as `https://eksisozluk.com/biri/ssg`. Used by the Author profiles result type and when entries come from Authors.",
            "items": {
              "type": "string"
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}