Bestseller
Chinese Poetry Tang Poetry Song Poetry Classical Literature

Chinese Classical Poetry Database

Search and retrieve Chinese classical poetry including Tang poems, Song poems, and Song lyrics with comprehensive keyword matching and filtering capabilities

Data & API Features

Comprehensive database of nearly 400,000 Chinese classical poetry entries;
Fuzzy keyword matching across title, author, and content;
Filter by poetry type: Tang poems, Song poems, and Song lyrics;
Flexible pagination support for large result sets;
Continuously updated and maintained dataset;
Full API support for HTTPS (TLS v1.0 / v1.1 / v1.2 / v1.3);
Fully compatible with Apple ATS;
Nationwide multi-node CDN deployment;
Ultra-fast response, API interface load balancing built with multiple servers;
Perfect for educational apps, cultural applications, and literature research.
Chinese Classical Poetry Database
Annual Subscription
$49$99
Try it for free!
Sign in to get a trial key and test all APIs.
Sign In
Secure payment by Stripe

API Document

HTTP Protocol:HTTPS

HTTP Method:GET

HTTP Endpoint:https://api.gugudata.io/v1/text/chinese-poem?appkey={{appkey}}

Response Type:application/json; charset=utf-8

DEMO Endpoint:https://api.gugudata.io/v1/text/chinese-poem/demo

Live Demo:Try Interactive Demo

Full API Docs:developers.gugudata.io

API Request Parameters

NameTypeIs RequiredDefault ValueRemark
appkeystringtrueYOUR_APPKEYObtained after payment
keywordsstringfalseN/ASearch keywords for fuzzy matching against title, author, and content
pagesizeintegerfalse10Number of results per page (default: 10)
pagenumberintegerfalse1Page number for pagination (default: 1)
typestringfalseN/AFilter by poetry type: 唐诗 (Tang Poetry), 宋诗 (Song Poetry), or 宋词 (Song Lyrics)
searchtypestringfalseallSearch type (default: all)

API Response Parameters

NameTypeRemark
dataStatusobjectResponse status information
dataStatus.requestParameterstringEcho of request parameters
dataStatus.statusCodeintegerCustom status code (100 = success)
dataStatus.statusDescriptionstringStatus description message
dataStatus.responseDateTimestringServer response timestamp
dataStatus.dataTotalCountintegerTotal number of matching records
dataarrayArray of poetry objects
data[].titlestringTitle of the poem or lyric
data[].authorstringAuthor name
data[].contentarrayArray of strings containing the poem/lyric content, each element is one line
data[].typestringPoetry type: 唐诗 (Tang Poetry), 宋诗 (Song Poetry), or 宋词 (Song Lyrics)

API Response Status Codes

Status CodeExplanation of Status CodeRemarks
200API responding normally For business status codes, see below under API Custom Status Codes.
400Parameter error
402APPKEY error Please check if the APPKEY provided is the one obtained from the developer center.
403Account overdue Please pay attention to the E-mail reminders regarding order expiration.
429Request rate limited Requests cannot exceed 5 times per second. The CDN layer intelligently determines based on the frequency of IP requests. General high-frequency requests do not trigger this status code.
500API response error

Code Snippets Run In Postman

Others also bought