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-guide

Response 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:

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:

API Catalog (RFC 9727)

Discoverable linkset of all public APIs, served as application/linkset+json (RFC 9264):

Health

Liveness endpoint:

Web Bot Auth

JWKS directory for Ed25519 message-signature verification, per the IETF webbotauth draft:

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.

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=yes

llms.txt

Contact

Questions about agent access: b5202002@gmail.com