Quick links
/api/posts— Public Data API (read-only JSON, no auth)/api/site— Site metadata/api/search?q=stablecoin— Full-text search/llms.txt— Machine-readable site index for LLMs/feed.xml— RSS feed/api/products/the-value-layer— Book product JSON (The Value Layer, PDF)
Authentication
There is no API key product. All endpoints are public and read-only.
Endpoints
| Method | Path | Description |
|---|---|---|
GET | /api | API docs |
GET | /api/site | Site metadata |
GET | /api/posts | Posts |
GET | /api/posts/:slug | Single post |
GET | /api/search?q= | Search |
GET | /api/categories | Categories |
GET | /api/tags | Tags |
Content negotiation
# JSON
curl -H "Accept: application/json" https://benmilne.com/value-derivations
# Markdown
curl -H "Accept: text/markdown" https://benmilne.com/value-derivations
# HTML (default)
curl https://benmilne.com/value-derivations
CORS
All API responses include Access-Control-Allow-Origin: *.