Docs
Log in

API usage

Add &scraper=quora-question to a Crawling API request. URL-encode the target URL in the url parameter.

curl 'https://api.crawlbase.com/?token=YOUR_TOKEN' \
  --data-urlencode 'url=https://www.quora.com/Which-is-the-best-tool-for-scraping-customer-reviews' \
  --data-urlencode 'scraper=quora-question' -G
from crawlbase import CrawlingAPI

api = CrawlingAPI({'token': 'YOUR_TOKEN'})
res = api.get(
    'https://www.quora.com/Which-is-the-best-tool-for-scraping-customer-reviews',
    {'scraper': 'quora-question'}
)

import json
data = json.loads(res['body'])
const { CrawlingAPI } = require('crawlbase');
const api = new CrawlingAPI({ token: 'YOUR_TOKEN' });

const res = await api.get(
  'https://www.quora.com/Which-is-the-best-tool-for-scraping-customer-reviews',
  { scraper: 'quora-question' }
);
const data = JSON.parse(res.body);
require 'crawlbase'
api = Crawlbase::API.new(token: 'YOUR_TOKEN')

res = api.get('https://www.quora.com/Which-is-the-best-tool-for-scraping-customer-reviews', scraper: 'quora-question')
data = JSON.parse(res.body)

Example input URL

The URL passed in the url parameter (URL-decoded for readability):

https://www.quora.com/Which-is-the-best-tool-for-scraping-customer-reviews

Response shape

JSON response body. Field types may be null when the source page omits the value.

question_title
string
Question title.
question_details
string | null
Additional question detail.
tags
array
Topic tags.
answer_count
integer
Total answers.
follower_count
integer
Follower count.
view_count
integer | null
Total views.
answers
array
Answer objects.
answers[].author_name
string
Answer author.
answers[].author_credentials
string | null
Author credentials line.
answers[].body
string
Answer text.
answers[].upvotes
integer
Upvote count.
related_questions
array
Related question URLs and titles.

Sample response

{
  "question_title": "Which is the best tool for scraping customer reviews?",
  "answer_count": 14,
  "follower_count": 42,
  "answers": [
    {
      "author_name": "John Smith",
      "author_credentials": "Data Engineer",
      "upvotes": 218
    }
  ]
}