---
title: "Content Search"
method: GET
path: "/api/search/content"
tags: ["search"]
---

# Content Search

`GET /api/search/content`

## Request

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

Full-text content search across scripture bodies with keyword highlighting.

全文内容搜索。搜索经文正文并高亮显示匹配段落。Rate limit: 30/min.

## Query parameters

- `q` string: 搜索关键词
- `page` integer: 页码
- `size` integer: 每页数量
- `sources` string, nullable: 数据源筛选，逗号分隔
- `lang` string, nullable: 语言筛选，逗号分隔多选 (lzh/pi/en)
- `phrase` boolean: 出处模式：按标点切句，每句短语匹配且全部命中
- `dynasty` string, nullable: 朝代筛选，逗号分隔多选
- `canon` string, nullable: 藏经筛选，逗号分隔 (taisho/xuzang/pali/kangyur/gretil…)
- `section` string, nullable: 大正藏部类筛选，逗号分隔 (agama/prajna/avatamsaka/vinaya…)
- `facets` boolean: 同时返回 藏经/语言/朝代/部类 四组分面计数

## Response `200`

Successful Response

- unknown

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