FreeTheAI

Docs for developers

Embed live price cards and charts, and follow the news by RSS, Markdown, sitemaps, and llms.txt. Free, no key, no sign-up.

Live price card

A small card with the price, today's move, and a one-month line, for any page that allows an iframe (WordPress, Ghost, Substack, Notion, plain HTML). It runs no scripts, refreshes itself every minute, and links readers to the full symbol page.

Price card

<iframe src="https://stocks.freetheai.org/embed/NASDAQ-AAPL" width="340" height="170" style="border:0;max-width:100%" loading="lazy" title="Apple Inc. (AAPL) price - FreeTheAI Stocks"></iframe>
<p style="font-size:12px"><a href="https://stocks.freetheai.org/symbols/NASDAQ-AAPL">AAPL stock price</a> by FreeTheAI Stocks</p>

Dark card, one-year line

<iframe src="https://stocks.freetheai.org/embed/BITSTAMP-BTCUSD?theme=dark&range=1Y" width="340" height="170" style="border:0" loading="lazy" title="Bitcoin price - FreeTheAI Stocks"></iframe>
  • Symbols use the page format EXCHANGE-SYMBOL, as in the address of every symbol page (for example NASDAQ-NVDA, NYSE-KO, BITSTAMP-ETHUSD).
  • theme: light or dark; left out, the card follows the reader's system setting. range: 5D, 1M (default), 6M, 1Y, or 5Y.
  • The card fills the iframe, so any size from about 260 by 140 pixels upward works. Every symbol page has an Embed panel that builds this code for you.

Live preview

Chart images

Every symbol has a static SVG price chart: sharp at any size, a few kilobytes, and cached for five minutes. Wrap it in a link to the symbol page so readers can see more.

Six-month chart

<a href="https://stocks.freetheai.org/symbols/NASDAQ-AAPL"><img src="https://stocks.freetheai.org/chart/NASDAQ-AAPL.svg?range=6M" width="720" height="260" alt="Apple Inc. (AAPL) six-month price chart" loading="lazy"></a>

Sparkline (no axes)

<img src="https://stocks.freetheai.org/chart/NASDAQ-NVDA.svg?range=1M&mini=1" width="240" height="64" alt="NVIDIA one-month price line">
  • range: 5D, 1M, 6M (default), 1Y, or 5Y. mini=1 draws only the line, for tables and cards.

News feeds

Every write-up is available as RSS, as Markdown, and in sitemaps, so news readers, newsletters, and site builders can follow along.

RSS

https://stocks.freetheai.org/news/rss.xml

One write-up as Markdown

https://stocks.freetheai.org/news/<slug>.md

Sitemaps

https://stocks.freetheai.org/sitemap.xml
https://stocks.freetheai.org/news-sitemap.xml
https://stocks.freetheai.org/sitemap-symbols.xml
https://stocks.freetheai.org/sitemap-translations.xml

For AI agents

llms.txt describes the site for AI assistants and crawlers; llms-full.txt carries the newest write-ups in full. Agents are welcome to read and cite them, with a link back.

Agent files

https://stocks.freetheai.org/llms.txt
https://stocks.freetheai.org/llms-full.txt

Languages

Write-ups are also published in Spanish, French, German, Portuguese, Japanese, Chinese, and Arabic. Each language has its own address, and every version links the others.

Translated write-up

https://stocks.freetheai.org/es/news/<slug>
https://stocks.freetheai.org/ja/news/<slug>
  • Language codes: es, fr, de, pt, ja, zh, ar.

Share images

Every page has its own 1200 by 630 preview image with live prices, used when a link is shared on X, Discord, Slack, LinkedIn, or iMessage. Cards with prices are redrawn every minute and show the time they were drawn.

Images

https://stocks.freetheai.org/og/symbols/NASDAQ-AAPL.png
https://stocks.freetheai.org/og/news/<slug>.png
https://stocks.freetheai.org/og/page/home.jpg

Usage

  • Free to use on any site, with no key and no sign-up. Please keep the link back to the symbol page.
  • Prices and charts can be delayed or wrong and are for information only. Nothing here is financial advice.
  • Embeds and images are cached for about a minute. Please do not request them in tight loops.

The news is written by our own AI. FreeTheAI.org offers the same AI as a free API. See the disclaimer.