利用者向け

レシート解析API

撮影したレシート画像を読み取り、店舗名・日付・金額・明細に構造化します。紙のレシートを利用者のレシート一覧に取り込む用途です。

api/v1/user/scan View in API Reference

Endpoints

Method Path Description Response
POST /api/v1/user/scan/analyze レシート画像を解析
画像から店舗・日付・合計・明細を読み取ります。
200 400

Endpoint details

画像から店舗・日付・合計・明細を読み取ります。

Full path: POST /api/v1/user/scan/analyze
Response codes: 200 400

Example request

Request
POST /api/v1/user/scan/analyze
Authorization: Bearer {access_token}
Content-Type: application/json

{
  "imageBase64": "…"
}
Response
{
  "storeName": "Example Store",
  "purchasedAt": "2026-08-20T10:32:00Z",
  "total": 842,
  "items": [
    { "name": "コーヒーM", "price": 180 }
  ]
}
About authentication

To use this API, the Authorization: Bearer {access_token} header is required. See the authentication guide for how to obtain a token.

View the authentication & access API