Developers

A small public API serving weekly stock-sentiment snapshots computed from financial news, collected for class examples. Sign in with a Google account on the class allowlist to get a free API key.

Get an API key

Up to two active keys per account, 5 requests/minute each.

Loading…

Docs

Endpoint

GET/api/v1/sentiment

Auth

Send your key in an x-api-key header, or as Authorization: Bearer <key>.

Query parameters

  • date — YYYY-MM-DD, defaults to the latest snapshot date.
  • ticker — e.g. MSFT, case-insensitive.
  • limit — default 50, max 100.

Rate limit

5 requests/minute per key by default. Every response includes X-RateLimit-Limit and X-RateLimit-Remaining headers, and a 429 also includes Retry-After.

Example

curl "https://anmol-teaches.pages.dev/api/v1/sentiment?ticker=MSFT&limit=10" \
  -H "x-api-key: at_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

API reference

Full endpoint docs, request/response schemas, and an interactive try-it client live at the API reference — paste your key there and send live requests right from the browser.