BrainyQuote API: Get quote of the day
Gets the quote BrainyQuote shows today in a chosen daily category (general, love, nature, funny or art), with its author and quote link. The date follows the day shown on BrainyQuote.
Unofficial. Not affiliated with or endorsed by BrainyQuote.
Inputs
Values from the run on Oct 31, 2026, shown under Output.
- Category optional
category Daily quote section to read, for example nature.
general (default)
One of
general,love,nature,funny,art.
Input as JSON
{}Output
{ "date": "2026-09-29", "author": "Dolley Madison", "category": "general", "quote_link": "https://www.brainyquote.com/quotes/dolley_madison_362393" , "quote_text": "It is one of my sources of happiness never to desire a knowledge of other people's business."}Code
curl https://api.fous.com/v1/runs \ -H "Authorization: Bearer $FOUS_API_KEY" \ -H "Content-Type: application/json" \ -d '{"method":"brainyquote.com/get_quote_of_the_day","input":{}}' # Save as fous.py, then run: python3 fous.pyimport json, os, timefrom urllib.error import HTTPErrorfrom urllib.request import Request, urlopenAPI = "https://api.fous.com/v1/runs" KEY = os.environ["FOUS_API_KEY"]HEADERS = { "Authorization": f"Bearer {KEY}", "Content-Type": "application/json" ,}def call(url, body=None): data = json.dumps(body).encode() if body else None request = Request(url, data, HEADERS) try: with urlopen(request, timeout=120) as r: return r.status, json.load(r) except HTTPError as error: message = json.load(error)["error"]["message"] raise RuntimeError(message) from errorstatus, run = call(API, { "method": "brainyquote.com/get_quote_of_the_day" , "input": {}})# 202: still going after 30 s. Ask again until it ends.while status == 202: time.sleep(2) status, run = call(f"{API}/{run['id']}")print(json.dumps(run["data"], indent=2))// Save as fous.mjs, then run: node fous.mjsconst api = "https://api.fous.com/v1/runs" ;const headers = { Authorization: `Bearer ${process.env.FOUS_API_KEY}`, "Content-Type": "application/json" ,};let response = await fetch(api, { method: "POST", headers, body: JSON.stringify({ "method": "brainyquote.com/get_quote_of_the_day" , "input": {} }), signal: AbortSignal.timeout(120_000),});let run = await response.json();// 202: still going after 30 s. Ask again until it ends.while (response.status === 202) { await new Promise((done) => setTimeout(done, 2_000)); response = await fetch(`${api}/${run.id}`, { headers }); run = await response.json();}if (!response.ok) throw new Error(run.error.message);console.log(run.data);# Connect your agent to Fous once, over MCP (Streamable HTTP):# https://api.fous.com/mcp# Set FOUS_API_KEY first: create a key at https://app.fous.com/keys.# Claude Codeclaude mcp add \ --scope user \ --transport http fous https://api.fous.com/mcp \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Codexcodex mcp add fous \ --url https://api.fous.com/mcp \ --bearer-token-env-var FOUS_API_KEY# Cursor, VS Code, Windsurf, Cline and morenpx -y add-mcp https://api.fous.com/mcp -g -n fous \ --header "Authorization: Bearer ${FOUS_API_KEY:?Set FOUS_API_KEY to your Fous API key}"# Then ask your agent:# "Use Fous to run brainyquote.com/get_quote_of_the_day# with {}"Over HTTP, the answer’s data holds the output. A run still going after 30 seconds answers 202 with its id: ask GET /v1/runs/{id} until it ends.
Schema
Input schema
{ "type": "object", "properties": { "category": { "enum": [ "general", "love", "nature", "funny", "art" ], "type": "string", "default": "general", "description": "Daily quote section to read, for example nature." } }}Output schema
{ "type": "object", "required": [ "date", "category", "quote_text", "author", "quote_link" ], "properties": { "date": { "type": "string", "format": "date", "description": "Day shown for these quotes." }, "author": { "type": "string" }, "category": { "type": "string", "description": "Chosen section." }, "quote_link": { "type": "string", "description": "Page for the quote." }, "quote_text": { "type": "string" } }, "additionalProperties": false}- Price
- 1 credit per completed run (1¢ with pay as you go); failed runs are free.
- Method
brainyquote.com/get_quote_of_the_day- Returns
- date, category, quote text, author, quote link
Use it from your agent
Give your agent this line. It reads SKILL.md, gets a Fous API key and connects the Fous MCP server. Its run then takes the method brainyquote.com/get_quote_of_the_day with the inputs above.
Ask your agent
- What's today's love quote on BrainyQuote? Need the author and link too.
- Give me the funny quote of the day along with who said it.
- I want today's nature quote for my morning newsletter — text, author, and URL please.
- Pull the general daily quote from brainyquote.com for today.
- Fetch today's featured art quote and its author so I can post it on our studio's Instagram.
See more
Gets a zodiac sign's daily horoscope from Horoscope.com for yesterday, today or tomorrow. The sign can be a sign name or a birthday.
horoscope.com/get_daily_horoscopeGets the latest stock, ETF, forex or crypto quote for a symbol from Twelve Data. Some instruments do not report currency or volume; the demo key covers only a few symbols.
twelvedata.com/get_quoteGets Bible Gateway's Verse of the Day in the requested translation (NIV by default). The date is the one Bible Gateway assigns, which may differ from the local date.
biblegateway.com/get_verse_of_the_dayGets sourced, disputed and misattributed quotations for a person from their English Wikiquote page. Sourced quotes are included only when a citation or identified work appears on the page; Wikiquote attribution is not independent verification.
wikiquote.org/get_quotes_by_personGets the current quoted price and key figures for a stock, fund, index, or cryptocurrency on Google Finance, by name or ticker. Prices may be delayed, and figures Google does not show are null.
google.com/get_quoteReturns NASA's Astronomy Picture of the Day for a date: title, explanation, featured media link, optional high-resolution link, and credit.
nasa.gov/get_astronomy_picture_of_the_dayGets Merriam-Webster's Word of the Day for today or a past archive date, with its meaning, example, pronunciation and background note. Dates without a published entry are unavailable.
merriam-webster.com/get_word_of_the_dayLooks up a stock, fund, index, or cryptocurrency by name or ticker and returns its latest displayed price and key statistics. Unavailable figures are null; quotes may be delayed.
finance.yahoo.com/get_quote