---
title: "Verify Claim Endpoint"
method: GET
path: "/api/verify/claim"
tags: ["verification"]
---

# Verify Claim Endpoint

`GET /api/verify/claim`

## Request

- Base URL: `https://fojin.app` (the document declares no server; this is the origin it was published from)
- URL: `https://fojin.app/api/verify/claim`
- Auth: none declared

「这句经，佛真的说过吗？」——给人看的核对（/verify 页与结果图）。

Whole text first, then clause by clause; the verdict says whether it is in
a sūtra, only in later works, partly, or not at all. Up to 1 + 8 lookups per
call, hence its own, stricter limit (rate_limit_verify_claim).

## Query parameters

- `q` string, required: 待核对的一句「佛说」

## Response `200`

Successful Response

- ClaimVerdict: Human-facing answer for the /verify page and its result image. verdict: sutra — every clause is found, and found in a sūtra (经藏/密教/南传汉译) not_sutra — every clause is found, but not in a sūtra; see source_class variant — the canon has it, worded slightly differently (near miss); source_class says where — the popular 莲花 vs the canon's 蓮華 partial — some clauses are found, some are not absent — nothing is found in the canon Wording rule for consumers: "sutra" means 出自佛经, never 佛亲口所说 — sūtras also record what bodhisattvas and disciples said.
  - `query` string, required
  - `verdict` 'sutra' | 'not_sutra' | 'variant' | 'partial' | 'absent', required
  - `source_class` string, nullable
  - `segments` ClaimSegment[]
    - `text` string, required
    - `found` boolean, required
    - `sources` QuoteMatch[]
      - `text_id` integer, required
      - `cbeta_id` string, nullable
      - `title_zh` string, nullable
      - `juan_num` integer, required
      - `urn` string, nullable
      - `reader_url` string, nullable
      - `juan_matched` boolean, nullable
      - `canon_class` string, nullable
    - `similarity` number
    - `close` ClosestMiss: Best near-match window when the quote is NOT verbatim anywhere we looked. ``window_normalised`` is in normalised space (NFKC + 繁→简 + punctuation stripped) — the exact space the verdict is computed in.
      - `text_id` integer, required
      - `juan_num` integer, required
      - `urn` string, nullable
      - `reader_url` string, nullable
      - `similarity` number, required
      - `window_normalised` string, required
      - `diff` DiffOp[]
        - `op` 'equal' | 'replace' | 'delete' | 'insert', required
        - `quote` string, required
        - `source` string, required
      - `cbeta_id` string, nullable
      - `title_zh` string, nullable
      - `canon_class` string, nullable
    - `weak` boolean

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/fojin/apis/fojin-api-buddhist-digital-text-platform.md) · [All operations](https://skmtc.dev/fojin/apis/fojin-api-buddhist-digital-text-platform/llms.txt) · [OpenAPI document](https://skmtc.dev/fojin/apis/fojin-api-buddhist-digital-text-platform/revisions/969714238c61?raw)
