BrainyQuote Scraper avatar

BrainyQuote Scraper

Pricing

Pay per usage

Go to Apify Store
BrainyQuote Scraper

BrainyQuote Scraper

Easily extract quotes, authors, and topics from BrainyQuote. This lightweight actor is designed for fast and structured data collection. For seamless performance and to avoid potential blocking, using residential proxies is highly recommended.

Pricing

Pay per usage

Rating

5.0

(1)

Developer

Shahid Irfan

Shahid Irfan

Maintained by Community

Actor stats

0

Bookmarked

12

Total users

2

Monthly active users

a day ago

Last modified

Share

What does BrainyQuote Quotes Scraper do?

BrainyQuote Quotes Scraper collects quote text, authors, quote links, topics, tags, and page details from BrainyQuote. Choose one input mode per run: a topic, an author, or one or more BrainyQuote URLs. Results are saved to an Apify dataset for research, content planning, and personal quote collections.

BrainyQuote is protected by Cloudflare and may deny requests. Runs use a real, full browser so pages render normally, and the Actor defaults to Apify RESIDENTIAL proxy because datacenter IPs are frequently challenged. Proxy configuration does not guarantee access, and a blocked run can finish with no quote records.

Why use BrainyQuote Quotes Scraper?

  • Build a quote dataset - Collect quotes and attribution in a structured format instead of copying pages by hand.
  • Focus the collection - Select a topic, an author, or specific BrainyQuote pages for each run.
  • Continue across pages - Set a page limit and maximum item count for a topic or author search.
  • Use the results in other tools - Download the dataset or connect it to an Apify integration or API workflow.

What data can you extract from BrainyQuote?

FieldTypeDescription
quoteStringQuote text. Records without quote text are omitted.
authorString or nullQuote author when shown on the page.
author_urlString or nullBrainyQuote author page URL when available.
quote_urlString or nullLink to the quote page when available.
topicString or nullSelected topic; may be empty for author or custom URL runs.
tagsArrayRelated topic tags found on the page.
pageInteger or nullPage number associated with the result.
positionInteger or nullQuote position on its page.
languageStringLanguage code, currently en.
sourceString or nullCollection source recorded for the result.
telemetryObject or nullAvailable region, country, consent, and user-agent metadata.
scraped_atStringISO timestamp for when the record was collected.

How to use BrainyQuote Quotes Scraper

  1. Choose a topic, enter an author, or add one or more BrainyQuote URLs. Use only one mode per run.
  2. For a topic or author, set maxPages to control how many pages to visit.
  3. Set maxItems to cap the number of quotes saved.
  4. Run the Actor and review the dataset.
  5. Export the dataset or connect it to another workflow.

Input mode precedence is startUrls, then author, then topic. If multiple modes are provided, only the first applicable mode is used. When no mode is supplied, the Actor uses the motivational topic.

Input Parameters

ParameterTypeRequiredDefaultDescription
startUrlsArrayNoNoneBrainyQuote URLs. When non-empty, these are used instead of author or topic.
topicStringNomotivational in topic modeTopic slug such as success or happiness, with or without the -quotes suffix.
authorStringNoNoneAuthor name. Used only when startUrls is empty.
maxPagesIntegerNo3Maximum pages to visit for topic or author mode.
maxItemsIntegerNo20Maximum number of quotes to save across the run.
proxyConfigurationObjectNoApify RESIDENTIAL proxyBrainyQuote is Cloudflare-protected and only works reliably through residential proxy, so the Actor defaults to Apify RESIDENTIAL. Change or clear it only if you have your own proxy. Local runs skip Apify-managed proxies unless custom proxy URLs are supplied. Access is not guaranteed.

Usage Examples

Collect quotes from a topic

This example collects up to 20 quotes from the first three pages of the motivational topic.

{
"topic": "motivational",
"maxPages": 3,
"maxItems": 20
}

Collect quotes by author

This example searches BrainyQuote's author pages for Albert Einstein quotes.

{
"author": "Albert Einstein",
"maxPages": 3,
"maxItems": 50
}

Collect quotes from specific pages

Use custom BrainyQuote URLs to select the pages for a run. The URLs take precedence over topic and author inputs.

{
"startUrls": [
{
"url": "https://www.brainyquote.com/topics/success-quotes"
},
{
"url": "https://www.brainyquote.com/topics/happiness-quotes"
}
],
"maxItems": 40
}

Sample Output

A dataset item has the following shape. Optional values can be null, and tags can be empty when no tags are present on the page.

{
"quote": "When you reach the end of your rope, tie a knot in it and hang on.",
"author": "Franklin D. Roosevelt",
"author_url": "https://www.brainyquote.com/authors/franklin-d-roosevelt-quotes",
"quote_url": "https://www.brainyquote.com/quotes/franklin_d_roosevelt_101840?src=t_motivational",
"topic": "motivational",
"tags": [],
"page": 1,
"position": 1,
"language": "en",
"source": "browser",
"telemetry": null,
"scraped_at": "2026-07-18T10:47:07.472Z"
}

Tips for best results

  • Start with a small maxItems value to check whether the selected pages are accessible.
  • Use the exact public BrainyQuote page URLs for custom URL runs.
  • Topic and author runs use maxPages; custom URL runs visit each supplied URL once.
  • A 403 or an unresolved Cloudflare check means BrainyQuote denied the request. Use a residential or Apify UNBLOCKER proxy for this target; datacenter proxies are frequently challenged.
  • Empty tags or optional attribution fields can reflect missing source-page information.

Integrations and exports

Apify datasets can be downloaded in JSON, CSV, Excel, XML, and other supported formats. Use Apify's API, webhooks, Google Sheets, Make, or Zapier integrations to move quote data into your own workflow.

Frequently Asked Questions

Why did my run return no quotes?

BrainyQuote may return HTTP 403 or an unresolved Cloudflare check, or a page without quote cards. The Actor cannot guarantee that a request will be allowed; use a residential or Apify UNBLOCKER proxy, check the run log, and try a smaller run before scheduling more pages.

Can I combine a topic, author, and custom URLs?

No. The Actor uses one search mode per run. Custom URLs take precedence, followed by author search, then topic search.

How many pages can I collect?

Topic and author runs visit up to maxPages pages and stop when maxItems is reached. Custom URL runs process the URLs supplied in startUrls.

Why are some fields empty?

BrainyQuote does not show every field for every quote. Missing author links, tags, or metadata are represented as empty or null values where applicable.

Can I export the results to CSV or Excel?

Yes. Apify datasets support CSV, Excel, JSON, XML, and other export formats.

You are responsible for complying with BrainyQuote's terms, applicable laws, and privacy requirements when collecting and using data.

Support

For issues or feature requests, use the Issues tab on the Actor page or contact the developer through Apify.

This Actor is intended for responsible collection of publicly available quote data. Users are responsible for checking the source website's terms and complying with applicable laws.