{
  "openapi": "3.0.1",
  "info": {
    "title": "Quora Scraper [From $1💰] Questions, Answers, Spaces · No Login",
    "description": "From $1/1K 💰 Quora scraper: paste a question or Space URL for every answer (full text, views, upvotes, comments, author, credential), or search by keyword. No login or cookies. Paginated to the last answer. JSON, CSV or Excel.",
    "version": "0.0",
    "x-build-id": "BDZtNY3VnTahXC75f"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/memo23~quora-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-memo23-quora-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~quora-scraper/runs": {
      "post": {
        "operationId": "runs-sync-memo23-quora-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~quora-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-memo23-quora-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 — no cookies needed",
            "type": "array",
            "description": "Paste Quora URLs, one per line. <b>No login or cookies needed.</b><br><br>Supported: <b>question pages</b> (<code>quora.com/How-do-black-holes-form</code>) — returns every answer with full text, views, upvotes, comments, author and credential; <b>direct answer pages</b> (<code>quora.com/…/answer/…</code>); <b>Space posts &amp; Space homepages</b> (<code>humanity.quora.com/…</code>); and <b>search URLs</b> (<code>quora.com/search?q=…</code>).<br><br>Leave empty if you only want keyword search below. A run needs at least one of the two.",
            "items": {
              "type": "object",
              "required": [
                "url"
              ],
              "properties": {
                "url": {
                  "type": "string",
                  "title": "URL of a web page",
                  "format": "uri"
                }
              }
            }
          },
          "searchQueries": {
            "title": "Search keywords — no cookies needed",
            "type": "array",
            "description": "Search Quora by keyword — each entry becomes its own search. What a search returns is set by <b>Search returns</b> below: the answers of its top questions, or one row per matching search result.<br><br><b>No cookies required.</b> Search runs on a managed logged-in session behind the scenes, so you get results with zero setup — just enter keywords. (You may still supply your own cookies below to search as your own account, but it is optional.)",
            "items": {
              "type": "string"
            }
          },
          "searchReturns": {
            "title": "Search returns",
            "enum": [
              "answers",
              "questions"
            ],
            "type": "string",
            "description": "<b>answers</b>: each search opens its best-matching questions and returns their answers, tagged with <code>searchQuery</code>, <code>questionUrl</code> and <code>questionTitle</code>. The row limit is split over the questions, <b>Answers per question</b> each.<br><b>questions</b>: one summary row per matching search result (question, post, topic, profile or Space depending on <b>Search result type</b>).<br><br>Leave empty for the listing's default: answers on Quora Search Scraper, questions on Quora Scraper."
          },
          "resultType": {
            "title": "Search result type",
            "enum": [
              "all_types",
              "question",
              "answer",
              "post",
              "profile",
              "topic",
              "tribe"
            ],
            "type": "string",
            "description": "Filter Quora keyword search by result type (<code>SearchResultsListQuery.resultType</code>). Use <code>post</code>, <code>profile</code>, <code>topic</code> or <code>tribe</code> (Spaces) to extract those search result types directly.",
            "default": "all_types"
          },
          "sortOrder": {
            "title": "Search sort order",
            "enum": [
              "relevance",
              "time_descending",
              "time_ascending"
            ],
            "type": "string",
            "description": "Server-side sort order for Quora keyword search (<code>SearchResultsListQuery.sortOrder</code>).",
            "default": "relevance"
          },
          "answersPerQuestion": {
            "title": "Answers per question",
            "minimum": 1,
            "type": "integer",
            "description": "When searches return answers: how many answers each opened question contributes. With a row limit of 20 and 5 here, a search opens 4 questions. A question with fewer answers leaves its share unused.",
            "default": 5
          },
          "searchTime": {
            "title": "Search time range",
            "enum": [
              "all_times",
              "hour",
              "day",
              "week",
              "month",
              "year"
            ],
            "type": "string",
            "description": "Only results from this period. Applies to search keywords and to pasted search links that don't set their own time filter. Question and Space URLs are not affected. Leave empty for the listing's default: past week on Quora Question Finder, any time elsewhere."
          },
          "rankByOpportunity": {
            "title": "Rank questions by opportunity",
            "type": "boolean",
            "description": "When searches return questions, sort each search's questions best first by an opportunity score (0-100) built from answer count, followers, views on the top existing answer and age, and add a rank. Every question row carries the score either way. Leave empty for the listing's default: on for Quora Question Finder, off elsewhere."
          },
          "maxItems": {
            "title": "Max/Limit items per crawl",
            "type": "integer",
            "description": "Maximum number of rows for each URL and each search. Each answer is one row (each Space post is one row).",
            "default": 100
          },
          "includeComments": {
            "title": "Include answer comments",
            "type": "boolean",
            "description": "When enabled, fetches top comments (up to 10 per answer) for answers that have comments and attaches them as a <code>comments</code> array.",
            "default": false
          },
          "minUpvotes": {
            "title": "Minimum upvotes",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only answers, Space posts, or search results whose upvote count is at least this value."
          },
          "minViews": {
            "title": "Minimum views",
            "minimum": 0,
            "type": "integer",
            "description": "Keep only answers, Space posts, or search results whose view count is at least this value."
          },
          "postedAfter": {
            "title": "Posted after (ISO date)",
            "type": "string",
            "description": "Keep only items created on or after this ISO date/timestamp (e.g. <code>2026-01-01</code>)."
          },
          "compact": {
            "title": "Compact output",
            "type": "boolean",
            "description": "Trim verbose/internal fields (<code>id</code>, <code>names</code>, <code>images</code>, <code>profileImageUrl</code>, <code>permaUrl</code>, <code>topics</code>, etc.) while keeping core text, metrics, author and URLs.",
            "default": false
          },
          "excludeEmptyFields": {
            "title": "Exclude empty fields",
            "type": "boolean",
            "description": "Omit <code>null</code>, <code>undefined</code>, empty strings, empty arrays, and empty objects from output rows while strictly preserving <code>0</code> and <code>false</code>.",
            "default": false
          },
          "descriptionMaxLength": {
            "title": "Max text length (characters)",
            "minimum": 0,
            "type": "integer",
            "description": "Truncate answer/post/comment text fields to at most this many characters (UTF-16 surrogate-safe). Leave empty or 0 for full text."
          },
          "maxConcurrency": {
            "title": "Max concurrency",
            "minimum": 1,
            "maximum": 20,
            "type": "integer",
            "description": "Maximum concurrent crawler requests.",
            "default": 3
          },
          "maxRequestRetries": {
            "title": "Max request retries",
            "minimum": 0,
            "maximum": 60,
            "type": "integer",
            "description": "Maximum retry attempts per failed/blocked request.",
            "default": 40
          },
          "cookies": {
            "title": "Quora cookies (optional)",
            "type": "array",
            "description": "<b>Optional — leave empty.</b> Everything works without cookies: question, answer and Space URLs are scraped logged-out, and keyword search runs on a managed session for you.<br><br>Only fill this in if you specifically want search to run as <b>your own</b> Quora account. Log in to quora.com, export the quora.com cookies with a cookie-editor extension (Cookie-Editor, EditThisCookie) and paste the exported JSON array here."
          },
          "proxy": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Residential proxies recommended. The default works out of the box.",
            "default": {
              "useApifyProxy": true
            }
          },
          "urls": {
            "title": "URLs (alias for startUrls)",
            "type": "array",
            "description": "Alias for <code>startUrls</code> (accepts URL strings or <code>{ url }</code> objects)."
          },
          "queries": {
            "title": "Queries (alias for searchQueries)",
            "type": "array",
            "description": "Alias for <code>searchQueries</code>.",
            "items": {
              "type": "string"
            }
          },
          "query": {
            "title": "Single query (alias for searchQueries)",
            "type": "string",
            "description": "Single search phrase alias for <code>searchQueries</code>."
          },
          "keywords": {
            "title": "Keywords (alias for searchQueries)",
            "type": "array",
            "description": "Alias for <code>searchQueries</code>.",
            "items": {
              "type": "string"
            }
          },
          "searchType": {
            "title": "Search type (alias for searchReturns / resultType)",
            "type": "string",
            "description": "Alias mapping to <code>searchReturns</code> (<code>answers</code>, <code>questions</code>) or <code>resultType</code> (<code>question</code>, <code>answer</code>, <code>post</code>, <code>profile</code>, <code>topic</code>, <code>tribe</code>, <code>all_types</code>)."
          },
          "resultTypes": {
            "title": "Result types (alias for resultType)",
            "type": "array",
            "description": "Alias for <code>resultType</code>; supports one or multiple types.",
            "items": {
              "type": "string"
            }
          },
          "includeAnswers": {
            "title": "Include answers (alias for searchReturns)",
            "type": "boolean",
            "description": "Alias: <code>true</code> maps to <code>searchReturns: \"answers\"</code>, <code>false</code> to <code>\"questions\"</code>."
          },
          "maxAnswersPerQuestion": {
            "title": "Max answers per question (alias)",
            "minimum": 1,
            "type": "integer",
            "description": "Alias for <code>answersPerQuestion</code>."
          },
          "maxAnswers": {
            "title": "Max answers (alias)",
            "minimum": 1,
            "type": "integer",
            "description": "Alias for <code>answersPerQuestion</code>."
          },
          "timeFilter": {
            "title": "Time filter (alias for searchTime)",
            "type": "string",
            "description": "Alias for <code>searchTime</code>."
          },
          "timeRange": {
            "title": "Time range (alias for searchTime)",
            "type": "string",
            "description": "Alias for <code>searchTime</code>."
          },
          "sortBy": {
            "title": "Sort by (alias for sortOrder)",
            "type": "string",
            "description": "Alias for <code>sortOrder</code> (<code>relevance</code>, <code>recent</code>, <code>oldest</code>)."
          },
          "maxItemsPerQuery": {
            "title": "Max items per query (alias for maxItems)",
            "minimum": 1,
            "type": "integer",
            "description": "Alias for <code>maxItems</code>."
          },
          "maxResults": {
            "title": "Max results (alias for maxItems)",
            "minimum": 1,
            "type": "integer",
            "description": "Alias for <code>maxItems</code>."
          },
          "limit": {
            "title": "Limit (alias for maxItems)",
            "minimum": 1,
            "type": "integer",
            "description": "Alias for <code>maxItems</code>."
          },
          "textMaxLength": {
            "title": "Text max length (alias for descriptionMaxLength)",
            "minimum": 0,
            "type": "integer",
            "description": "Alias for <code>descriptionMaxLength</code>."
          },
          "sessionCookie": {
            "title": "Session cookie (alias for cookies)",
            "type": "string",
            "description": "Alias for <code>cookies</code> (raw cookie header string or JSON)."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration (alias for proxy)",
            "type": "object",
            "description": "Alias for <code>proxy</code>."
          },
          "concurrency": {
            "title": "Concurrency (alias for maxConcurrency)",
            "minimum": 1,
            "type": "integer",
            "description": "Alias for <code>maxConcurrency</code>."
          },
          "maxRetries": {
            "title": "Max retries (alias for maxRequestRetries)",
            "minimum": 0,
            "type": "integer",
            "description": "Alias for <code>maxRequestRetries</code>."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}