当サイトでは、読み取り専用のJSON APIを公開しています。これにより、エージェント、統合ツール、および関心のある開発者は、HTMLをスクレイピングすることなく、プログラムを通じてコンテンツを操作することができます。認証不要、バージョン管理なし、CORSは開放されています。
クイックリンク
/api/posts— 公開データAPI(読み取り専用JSON、認証なし)/api/site— サイトのメタデータ/api/search?q=stablecoin— 全文検索/llms.txt— LLMのための機械可読サイトインデックス/feed.xml— RSSフィード/api/products/the-value-layer— 書籍商品 JSON (バリューレイヤー, PDF)
認証
APIキー製品はありません。すべてのエンドポイントは公開され、読み取り専用です。
エンドポイント
| 方法 | パス | 説明 |
|---|---|---|
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 |
内容交渉
# 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: *.