---
title: "Get Text"
method: GET
path: "/api/texts/{text_id}"
tags: ["texts"]
---

# Get Text

`GET /api/texts/{text_id}`

## Request

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

Get text metadata by ID, including title, translator, dynasty, and source.

获取经典详情（标题、译者、朝代、数据源等元数据）。

## Path parameters

- `text_id` integer, required

## Response `200`

Successful Response

- TextResponseBase: Base response without lazy-loaded fields (safe for from_attributes).
  - `taisho_id` string, nullable
  - `cbeta_id` string, required
  - `title_zh` string, required
  - `title_sa` string, nullable
  - `title_bo` string, nullable
  - `title_pi` string, nullable
  - `translator` string, nullable
  - `dynasty` string, nullable
  - `fascicle_count` integer, nullable
  - `category` string, nullable
  - `subcategory` string, nullable
  - `cbeta_url` string, nullable
  - `id` integer, required
  - `has_content` boolean
  - `content_char_count` integer
  - `lang` string
  - `created_at` string, date-time, required
  - `canon` string, nullable
  - `canon_label` string, nullable
  - `goryeo_k` string, nullable
  - `kabc_url` string, nullable

## 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)
