Agent & API Documentation
japanlive.info exposes machine-readable content and metadata for AI agents and automated clients. All endpoints are public and require no authentication.
Markdown for Agents
Send Accept: text/markdown on any page URL and the server responds with a markdown representation. The same content is reachable directly under /api/md/*.
curl -H "Accept: text/markdown" https://www.japanlive.info/blog/japan-real-estate-tax-guideResponse headers include Content-Type: text/markdown; charset=utf-8, x-markdown-tokens (estimated token count), and Content-Signal declaring AI usage preferences. Cached for 5 minutes at the edge.
Agent Skills Discovery
Reusable instruction capsules agents can fetch to learn how to use this site's capabilities, per Agent Skills Discovery RFC v0.2.0:
- https://www.japanlive.info/.well-known/agent-skills/index.json — discovery index with sha256 digests
- japan-real-estate-calculators — MCP tool usage guide
- markdown-content-access — fetch pages as markdown
- nonresident-japan-property-tax — domain knowledge capsule
MCP Server (Model Context Protocol)
JSON-RPC 2.0 endpoint at /api/mcp exposing 6 Japanese real estate calculator tools (yield, purchase cost, property tax, depreciation, capital gains tax, rental income tax) callable by AI agents. Discovery card at https://www.japanlive.info/.well-known/mcp/server-card.json.
curl -X POST https://www.japanlive.info/api/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'OpenAPI Specification
Machine-readable API description in OpenAPI 3.1:
- https://www.japanlive.info/api/openapi.json — media type
application/vnd.oai.openapi+json;version=3.1
API Catalog (RFC 9727)
Discoverable linkset of all public APIs, served as application/linkset+json (RFC 9264):
Health
Liveness endpoint:
- https://www.japanlive.info/api/health — JSON
{ "status": "ok", "timestamp": "..." }
Web Bot Auth
JWKS directory for Ed25519 message-signature verification, per the IETF webbotauth draft:
- https://www.japanlive.info/.well-known/http-message-signatures-directory — media type
application/http-message-signatures-directory+json
OAuth 2.0 Discovery
Every API on this site is public and requires no token, so there is no authorization server: /.well-known/oauth-authorization-server answers 404 by design. The RFC 9728 protected resource document is published and declares an empty scope set.
- https://www.japanlive.info/.well-known/oauth-protected-resource — protected resource metadata (RFC 9728)
Content Signals
AI content usage preferences (contentsignals.org) are declared in robots.txt per user-agent and echoed in the Content-Signal response header on /api/md/*:
Content-Signal: ai-train=yes, search=yes, ai-input=yesllms.txt
- https://www.japanlive.info/llms.txt — concise site summary
- https://www.japanlive.info/llms-full.txt — full reference with citable tax-rate facts
Contact
Questions about agent access: b5202002@gmail.com