# Quora Scraper 🔥 $0.6/1K Questions, Answers, Topics & Profiles (`azzouzana/quora-scraper`) Actor

From $0.60/1K ⚡ Fast, comprehensive Quora scraper. Extract questions, answers, upvotes, views, shares, authors, credentials, topics & user profiles. Supports question URLs, topic feeds & profiles. JSON/CSV/API. 🚀

- **URL**: https://apify.com/azzouzana/quora-scraper.md
- **Developed by:** [Azzouzana](https://apify.com/azzouzana) (community)
- **Categories:** Social media, Lead generation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.60 / 1,000 quora item (answer/question/profile)s

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Quora Scraper — Extract Questions, Answers, Topics & B2B Leads

A fast, comprehensive scraper for [Quora](https://www.quora.com) with **dual-purpose scraping modes**: extract full **Questions & Answers** for content and LLM datasets, or harvest verified **B2B Leads & Author Profiles** with rich credentials, follower counts, post counts, authority metrics, and public contact information.

***

### 🌟 Choose Your Objective: 2 Powerful Modes

#### 1. 💬 Questions & Answers Mode (Content & LLM Research)

Extract full discussions, question titles, detailed answers, rich text, upvotes, view counts, share metrics, and comment counts. Ideal for:

- **LLM / AI Fine-Tuning & RAG**: Clean Q\&A datasets with formatting preserved.
- **Market Research & Sentiment**: Discover consumer questions, complaints, and recommendations.
- **SEO & Content Strategy**: Find high-traffic questions to target in your niche.

#### 2. 🎯 Leads & Author Profiles Mode (B2B Lead Generation)

Extract authoritative people answering questions and participating in debates in your industry. Automatically **deduplicates leads** so every row is a unique prospect:

- **Authors & Active Commenters**: Captures both the original answer authors and people actively discussing/replying in the comments (high-intent prospects).
- **Professional Credentials & History**: Formatted job titles, current/past companies, schools, and locations (e.g. *"Data Scientist at Multinational Corporations (2011-present)"*, *"Data engineer at Microsoft (2022-present)"*).
- **Influence & Activity Metrics**: Total followers (`followerCount`), total posts authored (`postsCount`), total public answers (`publicAnswersCount`), and lifetime view count (`allTimeViews`).
- **Expertise Topics**: Quora-recognized authority tags and niche domains.
- **Spaces & Communities**: Subscribed spaces and communities.
- **Domain & Relevant Discussion Context**: The exact question or answer they replied to, plus a sample preview of their thought leadership.
- **Discovered Contact Links**: Emails, personal/company websites, LinkedIn, and X/Twitter.

***

### 🛠️ Input Parameters

| Field | Type | Default | Description |
|---|---|---|---|
| `targets` | `Array` | `["https://www.quora.com/What-is-artificial-intelligence"]` | One or more Quora URLs (Questions, Answers, Topics, Profiles) or plain search keywords/phrases (e.g. `["machine learning", "https://www.quora.com/What-is-artificial-intelligence"]`). |
| `scrapeMode` | `Select` | `questions_and_answers` | Choose what to extract: `questions_and_answers` (full Q\&A discussions), `leads` (deduplicated author leads & commenters with profile metrics), or `all`. |
| `includeComments` | `Boolean` | `true` | When enabled, extracts everyone who commented or replied to answers. In Leads mode, commenters are captured as high-intent engaged prospects. |
| `maxItems` | `Integer` | `1000` | Maximum total records to collect across all provided targets. |
| `fetchFullDetails` | `Boolean` | `false` | When scraping Topic feeds in Q\&A mode, enable this to enrich each feed item with all full community answers instead of just the top answer preview. |

***

### 📊 Dataset Output Examples

#### Mode: 🎯 Leads & Author Profiles

```json
{
  "type": "lead_profile",
  "name": "Neha Roy",
  "credential": "Data Scientist at Multinational Corporations (2011-present)",
  "publicEmail": null,
  "website": null,
  "linkedin": null,
  "twitter": null,
  "profileUrl": "https://www.quora.com/profile/Neha-Roy-734",
  "uid": 2324124270,
  "followerCount": 11,
  "followingCount": 0,
  "postsCount": 0,
  "publicAnswersCount": 4,
  "allTimeViews": 11326,
  "spaces": [],
  "numSpaces": 0,
  "workCredentials": [
    "Data Scientist at Multinational Corporations"
  ],
  "schoolCredentials": [],
  "locationCredentials": [],
  "expertiseTopics": [
    "Multinational Corporations"
  ],
  "topicOrNiche": "Multinational Corporations",
  "relevantQuestion": "What is artificial intelligence",
  "relevantQuestionUrl": "https://www.quora.com/What-is-artificial-intelligence",
  "sampleAnswerPreview": "💡The basic definition of artificial intelligence is the combination of science and engineering that is used to make intelligent machines.\n\nLet’s discuss the uses of artificial intelligence:\n\nOnline shopping and advertising\n\nMachine translations 🤖\n\nCybersecurity to minimize threats to a business.\n\n",
  "upvotesReceived": 204,
  "viewsReceived": 10116,
  "scrapedAt": "2026-11-17T10:15:04.599Z"
}
```

#### Mode: 💬 Questions & Answers

```json
{
  "type": "answer",
  "questionId": 1484606,
  "questionTitle": "What is artificial intelligence",
  "questionUrl": "https://www.quora.com/What-is-artificial-intelligence",
  "questionSlug": "What-is-artificial-intelligence",
  "answerId": 1477743735710659,
  "answerUrl": "https://www.quora.com/What-is-artificial-intelligence-15/answer/Neha-Roy-734",
  "authorName": "Neha Roy",
  "authorProfileUrl": "https://www.quora.com/profile/Neha-Roy-734",
  "authorUid": 2324124270,
  "authorCredential": "Data Scientist at Multinational Corporations (2011-present)",
  "content": "💡The basic definition of artificial intelligence is the combination of science and engineering that is used to make intelligent machines.\n\nLet’s discuss the uses of artificial intelligence:\n\nOnline shopping and advertising\n\nMachine translations 🤖\n\nCybersecurity to minimize threats to a business.\n\nDesigning smart homes, infrastructure, and cities.\n\nWith the use of artificial intelligence, you can easily work with different companies and fields...",
  "upvotes": 204,
  "views": 10116,
  "shares": 5,
  "commentsCount": 0,
  "createdAt": "2024-02-01T08:04:45.743Z",
  "updatedAt": null,
  "isMachineAnswer": false,
  "scrapedAt": "2026-11-17T10:15:04.318Z"
}
```

***

### 🔌 API & Integration

Export datasets directly in JSON, CSV, or Excel, or call the Actor via API:

```javascript
import { ApifyClient } from 'apify-client';

const client = new ApifyClient({ token: 'YOUR_APIFY_TOKEN' });

// Extract B2B leads from an AI topic or search phrase
const run = await client.actor('azzouzana/quora-scraper').call({
    targets: ['machine learning', 'https://www.quora.com/topic/Artificial-Intelligence'],
    scrapeMode: 'leads',
    maxItems: 200
});

const { items } = await client.dataset(run.defaultDatasetId).listItems();
console.log(`Generated ${items.length} verified B2B leads from Quora!`);
```

***

### Contact 📬

**Need a custom solution? Have a feature request or just want to chat?**
We'd love to hear from you!

- 💬 **Discord**: `@azzouzana`
- 📧 **Email**: <labs@azzouzana.com>

***

### ⚠️ Disclaimer

This actor is an independent tool and is not affiliated with, endorsed, or certified by Quora, Inc. It scrapes publicly available content only. Please ensure your use of this actor complies with Quora's terms of service and applicable data privacy regulations. For more information on legal scraping best practices, see [Apify's legality guide](https://blog.apify.com/is-web-scraping-legal?fpr=cbgdsf).

***

### Keywords

quora scraper, quora leads, b2b lead generation, extract quora questions, quora answers, llm training data, rag dataset, question answering scraper, quora api, scrape quora profiles

# Actor input Schema

## `targets` (type: `array`):

List of Quora URLs or search keywords. Plain keywords automatically resolve to the matching Quora topic feed or question.

## `scrapeMode` (type: `string`):

Select the primary objective: Questions & Answers (for research, content, LLMs) or Leads & Profiles (for B2B lead generation, finding experts and creators).

## `maxItems` (type: `integer`):

Maximum number of records to collect across all targets.

## `fetchFullDetails` (type: `boolean`):

Applies when scraping Topic feeds in Q\&A mode: visits each discovered question in the topic to extract all community answers rather than just the top answer preview.

## `includeComments` (type: `boolean`):

Extract people who commented on or replied to answers. In Leads mode, commenters are captured as high-intent engaged leads; in Q\&A mode, comments are included in the answer thread.

## Actor input object example

```json
{
  "targets": [
    "https://www.quora.com/What-is-artificial-intelligence"
  ],
  "scrapeMode": "questions_and_answers",
  "maxItems": 1000,
  "fetchFullDetails": false,
  "includeComments": true
}
```

# Actor output Schema

## `overview` (type: `string`):

Scraped items.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "targets": [
        "https://www.quora.com/What-is-artificial-intelligence"
    ],
    "scrapeMode": "questions_and_answers",
    "maxItems": 1000,
    "fetchFullDetails": false,
    "includeComments": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("azzouzana/quora-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "targets": ["https://www.quora.com/What-is-artificial-intelligence"],
    "scrapeMode": "questions_and_answers",
    "maxItems": 1000,
    "fetchFullDetails": False,
    "includeComments": True,
}

# Run the Actor and wait for it to finish
run = client.actor("azzouzana/quora-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "targets": [
    "https://www.quora.com/What-is-artificial-intelligence"
  ],
  "scrapeMode": "questions_and_answers",
  "maxItems": 1000,
  "fetchFullDetails": false,
  "includeComments": true
}' |
apify call azzouzana/quora-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,azzouzana/quora-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/GZibdk7T8kcFYHTgr/builds/wMoYbYrFyPRSjn4L1/openapi.json
