# Quora Posts Scraper (`curious_coder/quora-posts-scraper`) Actor

Scrape posts from any public Quora profile, or search Quora posts by keyword. Exports post text, author, links, timestamp, upvotes and views.

- **URL**: https://apify.com/curious\_coder/quora-posts-scraper.md
- **Developed by:** [Curious Coder](https://apify.com/curious_coder) (community)
- **Categories:** Social media, AI, Agents
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.30 / 1,000 results

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## Quora Posts Scraper

Collect **posts from any public Quora profile** — or **search Quora posts by keyword** — and
export them as clean, structured data (JSON, CSV, Excel, or via API). For each post you get the
full text, the author, the direct link, when it was posted, and its upvote / view / comment counts.

No code required. Paste one or more Quora profile links, press **Start**, and download a
spreadsheet of posts.

### What you can do with it

- Track what a person or brand publishes on Quora over time.
- Build a dataset of posts for research, monitoring, or content analysis.
- Pull the posts behind a profile into your own database or dashboard.
- Search Quora posts for a topic and export the matching posts (requires a signed-in session — see below).

### Input

| Field | Description |
|---|---|
| **Quora profile URLs** | One or more profile links, e.g. `https://www.quora.com/profile/Adam-DAngelo`. |
| **Profile usernames** | Alternative to URLs — just the slug after `/profile/` (e.g. `Adam-DAngelo`). |
| **Post search terms** | Keywords to search Quora posts for. *Requires session cookies* (Quora only serves post search to signed-in users). |
| **Max posts per profile / search** | Cap the number of posts collected per source. `0` = as many as accessible. |
| **Quora session cookies** | Optional. Cookies from a signed-in Quora session, as a `name=value; name2=value2` string. Unlocks a profile's full post history and enables search (see *Getting more results*). |

#### Example input

```json
{
  "startUrls": [
    { "url": "https://www.quora.com/profile/Adam-DAngelo" }
  ],
  "maxPostsPerSource": 50
}
```

### Output

Each row is one Quora post:

```json
{
  "id": "UG9zdEAwOjI0MjA1ODMwNg==",
  "postId": 224627289,
  "url": "https://www.quora.com/profile/Adam-DAngelo/We-re-going-to-run-a-series-of-experiments...",
  "title": null,
  "text": "We're going to run a series of experiments to learn about how to run contests well...",
  "author": {
    "name": "Adam D'Angelo",
    "uid": 5,
    "url": "https://www.quora.com/profile/Adam-DAngelo",
    "isVerified": true
  },
  "upvotes": 412,
  "views": 160092,
  "shares": 0,
  "comments": 18,
  "createdAt": "2024-08-16T17:22:07.693Z",
  "relatedContent": { "type": "answer", "oid": 123294128, "text": "..." },
  "scrapedAt": "2026-08-04T12:00:00.000Z"
}
```

`relatedContent` is populated when a post is attached to another Quora item (for example a post
that shares an answer or question) — it carries that item's type and text.

### Getting more results (optional)

Out of the box — with no setup — the scraper returns a profile's **most recent ~20–40 posts**.
That's enough for most monitoring and research needs, and the run log tells you when a profile
reaches that public limit.

Want more? Paste cookies from a signed-in Quora session into the **Quora session cookies**
field. It's optional, but recommended when you need:

- a profile's **full** post history (well beyond the most-recent slice), or
- **post search** by keyword (Quora only serves search to signed-in users).

You can copy these cookies from your browser while logged in to quora.com. Everything else works
exactly the same — just with more results.

### FAQ

**Do I need cookies?** Not for public profile posts. You only need them for a profile's full
history beyond the sign-up wall, or for post search.

**Is this fast?** Each profile is loaded once and then paged through quickly. Keep concurrency
low (the default) for the most reliable results.

**Which fields are always present?** `url`, `text`, `author`, `createdAt` and the engagement
counts. `title` is usually empty for posts (posts are body-first). `views` and `shares` are
included whenever Quora exposes them.

# Actor input Schema

## `startUrls` (type: `array`):

Quora profiles whose posts you want to collect. Paste full profile links (e.g. https://www.quora.com/profile/Adam-DAngelo). Each profile is scraped independently.

## `usernames` (type: `array`):

Alternative to full URLs: the profile slug only, i.e. the part after /profile/ (e.g. "Adam-DAngelo").

## `searchQueries` (type: `array`):

Keywords to search Quora posts for. Note: Quora only serves post search to signed-in users, so search requires session cookies (see below). Leave empty to scrape profiles only.

## `maxPostsPerSource` (type: `integer`):

Upper limit of posts collected for each profile or search term. Set 0 for as many as are accessible.

## `cookies` (type: `string`):

Optional. Cookies from a signed-in Quora session, as a "name=value; name2=value2" string. Logged-out visitors can only see the most recent ~20-40 posts of a profile and cannot use post search; supplying cookies removes both limits.

## `maxConcurrency` (type: `integer`):

How many profiles / searches to process in parallel. Keep this low.

## `proxyTierOrder` (type: `array`):

Advanced. Order of internal proxy tiers to try. Leave empty to use the default.

## Actor input object example

```json
{
  "startUrls": [
    {
      "url": "https://www.quora.com/profile/Adam-DAngelo"
    }
  ],
  "maxPostsPerSource": 0,
  "maxConcurrency": 2,
  "proxyTierOrder": []
}
```

# Actor output Schema

## `posts` (type: `string`):

One item per Quora post: text, title, author (name / profile URL), post URL, creation time, upvotes, views, shares, comment count, and any answer or question the post is attached to.

# 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 = {
    "startUrls": [
        {
            "url": "https://www.quora.com/profile/Adam-DAngelo"
        }
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("curious_coder/quora-posts-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 = { "startUrls": [{ "url": "https://www.quora.com/profile/Adam-DAngelo" }] }

# Run the Actor and wait for it to finish
run = client.actor("curious_coder/quora-posts-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 '{
  "startUrls": [
    {
      "url": "https://www.quora.com/profile/Adam-DAngelo"
    }
  ]
}' |
apify call curious_coder/quora-posts-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,curious_coder/quora-posts-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/FLQYToKSvyzgJTa4i/builds/dTqX1vC25Ua0YXO9B/openapi.json
