---
title: "Ming & Qing Reign Eras (年號) (明清年號)"
method: GET
path: "/api/trpc/nianhao.convert"
tags: ["Eastern"]
---

# Ming & Qing Reign Eras (年號) (明清年號)

`GET /api/trpc/nianhao.convert`

## Request

- Base URL: `https://api.asktian.com`
- URL: `https://api.asktian.com/api/trpc/nianhao.convert`
- Auth: HTTP bearer

CHINESE REIGN ERAS OF THE MING AND QING (年號) — the dating of three centuries of porcelain marks, book colophons, land deeds and memorials: from Hongwu's founding (1368) to Xuantong's abdication (1912), every year of Chinese life was named era + year (康熙六十一年, 乾隆元年, 光緒二十六年). The Hongwu Emperor began the ONE-ERA-PER-MONARCH tradition — which is why Ming and Qing emperors are known by their era names at all. THE 27-ERA TABLE PROVES ITSELF AT LOAD: strict continuity from Hongwu to Xuantong with exactly TWO year-sharing seams served as data (Taichang, the one-month emperor, sharing 1620 with Wanli's last year; the Ming–Qing transition at 1644); THE FILIAL INEQUALITY — Kangxi's 61 years and Qianlong's deliberate 60, the grandson refusing to out-reign the grandfather, asserted as arithmetic; the Boxer-year cell (1900 = 光緒26) and the revolution cell (1911 = 宣統3). Converts BOTH WAYS (CE ↔ era + year, pinyin or hanzi, 元年 rendered properly); the yuannian lunar-new-year convention and its January caveat carried; pre-Ming eras (the changeable-nianhao age) out of scope BY NAME. Eastern becomes seventy. Pure compute, no LLM.

Cost: 1 TIAN Points per call. tRPC procedure `nianhao.convert`.

## Query parameters

- `input` string

## Response `200`

tRPC result envelope

- TrpcResult: tRPC HTTP response envelope.
  - `result` object
    - `data` object: The procedure's return value (system-specific).

---

[API](https://skmtc.dev/asktian/apis/asktian-metaphysics-api.md) · [All operations](https://skmtc.dev/asktian/apis/asktian-metaphysics-api/llms.txt) · [OpenAPI document](https://skmtc.dev/asktian/apis/asktian-metaphysics-api/revisions/3c8fdc979206?raw)
