Resources

A few API routes hosted on this site that are useful for course examples and assignments. They run on Cloudflare's edge runtime.

GET/api/hello

Simple health-check endpoint that returns a plaintext greeting. Useful for confirming a request reaches the edge runtime.

GET/api/stock-sentiment

Deprecated — now returns 410. Replaced by the authenticated /api/v1/sentiment endpoint below.

GET/api/v1/sentiment

Reddit stock-sentiment snapshots, requires a free API key. See the Developers page for docs and to request a key.