x402 ENABLED · APAC FIRST
Japan Data APIs
for AI Agents
APIキー不要。x402プロトコルで USDC を送るだけで 日本の天気・為替・株価データを取得できます。
Endpoints
loading endpoints...
Protocol
01
Request
AIエージェントがAPIエンドポイントにGETリクエストを送信
02
402
サーバーが HTTP 402 Payment Required を返す
03
Payment
エージェントがUSDCをx402プロトコルで自動決済
04
200 OK
決済確認後、サーバーがデータを返す
Example
Terminal
$ curl -i https://apijapan.vercel.app/api/weather/tokyo # APIキーなし → 402 が返る HTTP/1.1 402 Payment Required content-type: application/json payment-required: eyJ4NDAyVmVyc2lvbiI6MSwicGF5VG8iOi... # x402クライアントが自動で決済 → データ受信 HTTP/1.1 200 OK { "city": "Tokyo", "temp": 22, "condition": "Partly cloudy" }