{
  "openapi": "3.0.1",
  "info": {
    "title": "Quora Search Scraper — Questions, Answers, Views & Authors",
    "description": "Find Quora questions by keyword, topic or URL and get each one with its answers nested: author, credential, full text, upvotes, views, shares, date, plus the question's exact view count, creation date, followers and topics. Logged-out, no cookies. $0.0007/question, $0.0006/answer.",
    "version": "0.1",
    "x-build-id": "orS2dkR2AqqNTe2mD"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/scrapersdelight~quora-search-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-scrapersdelight-quora-search-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/scrapersdelight~quora-search-scraper/runs": {
      "post": {
        "operationId": "runs-sync-scrapersdelight-quora-search-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/scrapersdelight~quora-search-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-scrapersdelight-quora-search-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": {
          "queries": {
            "title": "Search keywords",
            "type": "array",
            "description": "One keyword phrase per line. Each is searched as site:quora.com on the open web (Brave, then DuckDuckGo, then Bing — Quora's own search is login-only), then widened through Quora's own related-question links, keeping only related questions whose title contains every word of your keyword. Questions are de-duplicated across all keywords by Quora's question id, so a question found twice is returned and billed once. Leave empty (with no URLs or topics) to run the documented sample (\"web scraping\").",
            "default": [
              "web scraping"
            ],
            "items": {
              "type": "string"
            }
          },
          "questionUrls": {
            "title": "Question URLs (optional)",
            "type": "array",
            "description": "Quora question URLs to scrape directly, one per line — e.g. https://www.quora.com/What-is-web-scraping. Answer permalinks (…/answer/Name), ?share=1 links and /unanswered/ links are accepted and resolved to their question; language editions (es.quora.com, de.quora.com, …) work too. A URL Quora has merged into another question follows the merge and returns the surviving question once.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "topics": {
            "title": "Quora topics (optional)",
            "type": "array",
            "description": "Topic names or topic URLs, one per line — e.g. Web Scraping or https://www.quora.com/topic/Web-Scraping. Reads the questions in the topic's logged-out feed (Quora serves roughly 30 feed items per topic to logged-out visitors), then widens through related questions.",
            "default": [],
            "items": {
              "type": "string"
            }
          },
          "quoraCookie": {
            "title": "Your Quora cookie — use Quora's own search (optional)",
            "type": "string",
            "description": "Paste the Cookie header from your own logged-in Quora session (it contains m-b, m-lat and similar values: open quora.com logged in, DevTools → Network, click any quora.com request, copy the whole 'cookie' request header). When set, keywords are searched with Quora's own search instead of web-search discovery; question rows and answers are still read the logged-out way. If the cookie is expired or not accepted, the run falls back to web-search discovery and says so in RUN_SUMMARY. Leave empty to use web-search discovery."
          },
          "maxQuestions": {
            "title": "Max questions (total)",
            "minimum": 0,
            "type": "integer",
            "description": "Stop after this many unique questions across every keyword, URL and topic. Your hard cost cap on questions: 50 = $0.035, 1,000 = $0.70 (answers are billed separately, see below). 0 = no limit (bounded by what the search engines and Quora's related-question graph return, and the run timeout).",
            "default": 50
          },
          "maxQuestionsPerQuery": {
            "title": "Max questions per keyword / topic",
            "minimum": 0,
            "type": "integer",
            "description": "Cap for each keyword or topic, so one broad keyword cannot use the whole budget before the others run. Question URLs you paste are never capped by this. 0 = no per-keyword limit.",
            "default": 50
          },
          "includeAnswers": {
            "title": "Include answers",
            "type": "boolean",
            "description": "Nest the question's answers into answers[]. Turn off to get question rows only (title, counts, views, creation date, topics) — faster and cheaper.",
            "default": true
          },
          "maxAnswersPerQuestion": {
            "title": "Max answers per question",
            "minimum": 1,
            "maximum": 1000,
            "type": "integer",
            "description": "Cap on answers nested into each question, in Quora's own ranking order. 10 answers = $0.006 per question. 1–1000. When Quora's logged-out list ends before this number, the row says so (answersTruncated + answersNote) instead of pretending the list is complete.",
            "default": 10
          },
          "answerScope": {
            "title": "Which answers",
            "enum": [
              "direct",
              "equivalent",
              "all"
            ],
            "type": "string",
            "description": "Quora's answer list mixes in answers written to OTHER questions. \"Direct\" keeps only answers written to this question (the ones Quora's answerCount counts). \"Direct + equivalent\" also keeps answers Quora borrows from differently worded duplicate questions. \"Everything Quora shows\" keeps every answer on the page, including ones from merely related questions. Every answer carries a relation field either way.",
            "default": "direct"
          },
          "includeAiAnswers": {
            "title": "Include Quora's AI-generated answer",
            "type": "boolean",
            "description": "Quora pins its own AI-written answer (author \"Assistant\") to many questions. Off by default; when on, it is included with isAiGenerated: true and billed like any other answer.",
            "default": false
          },
          "expandRelated": {
            "title": "Widen through Quora's related questions",
            "type": "boolean",
            "description": "After each question is read, queue the related questions Quora itself links to — but only those whose title contains every word of your keyword (for topics: every related question). This is how a keyword gets past what the web search engines return.",
            "default": true
          },
          "strictSearch": {
            "title": "Strict keyword match",
            "type": "boolean",
            "description": "Keep only questions whose title contains EVERY word of the keyword (case-insensitive; common stop-words such as what / how / best are ignored). Web search is fuzzy, so expect fewer but on-topic rows.",
            "default": false
          },
          "minAnswerCount": {
            "title": "Minimum answer count",
            "minimum": 0,
            "type": "integer",
            "description": "Skip questions with fewer answers than this, per Quora's own answerCount. 0 keeps unanswered questions too.",
            "default": 0
          },
          "dateFrom": {
            "title": "Question asked on or after (optional)",
            "type": "string",
            "description": "YYYY-MM-DD (UTC). Keeps only questions created on or after this date — the exact creation time Quora records in the question's log. A question whose creation date could not be read is dropped (and not billed) while a date window is set.",
            "default": ""
          },
          "dateTo": {
            "title": "Question asked on or before (optional)",
            "type": "string",
            "description": "YYYY-MM-DD (UTC). A bare date means the end of that day. Keeps only questions created on or before this moment.",
            "default": ""
          },
          "includeQuestionStats": {
            "title": "Include view count + creation date",
            "type": "boolean",
            "description": "Reads the question's public log page for its exact view count, creation date, merge count and last-follow time — one extra request per question. Required for the date window above.",
            "default": true
          },
          "maxRelatedQuestions": {
            "title": "Related questions kept per row",
            "minimum": 0,
            "maximum": 50,
            "type": "integer",
            "description": "How many of Quora's related questions to list inside each row (relatedQuestions[], each with its own answer count, view count and creation date). Free — they come with the page. 0–50.",
            "default": 10
          },
          "residentialFallback": {
            "title": "Fall back to Apify RESIDENTIAL proxy",
            "type": "boolean",
            "description": "Quora sits behind Cloudflare. The Actor connects directly first (measured 12 of 12 question pages from Apify's network, no proxy cost), and only when a request is still challenged after retries does it move to a fresh RESIDENTIAL proxy session.",
            "default": true
          },
          "proxyConfiguration": {
            "title": "Proxy (optional)",
            "type": "object",
            "description": "Leave as is to connect directly with the RESIDENTIAL fallback above. Set your own proxy only if you must route through it — every Quora request then goes through it.",
            "default": {
              "useApifyProxy": false
            }
          },
          "concurrency": {
            "title": "Parallel questions",
            "minimum": 1,
            "maximum": 8,
            "type": "integer",
            "description": "How many questions are read at the same time. Higher is faster but draws more Cloudflare challenges (each is retried, never delivered as data). 1–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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}