Bestseller
Chinese Poetry Tang Poetry Song Poetry Classical Literature

Chinese Classical Poetry Database

Search nearly 400,000 works of classical Chinese poetry

What can this API do?

Nearly 400,000 poetry records

Explore a large structured collection of Chinese classical poetry for products, research, and content discovery.

Tang and Song collections

Search Tang poems, Song poems, and Song lyrics through one consistent interface.

Title, author, and content search

Find works by matching keywords across the poem title, author name, or full text.

Poetry type filters

Limit results to the literary collection that best fits the learning or research experience.

Structured paginated results

Browse large result sets predictably with titles, authors, content, types, and result totals.

Education and cultural applications

Power reading tools, language-learning products, classroom resources, and digital humanities projects.

Chinese Classical Poetry Database
Annual plan
$49$99
Try it for free!
Sign in to get a trial key and test all APIs.
Sign In
Secure checkout powered by Stripe

API Document

HTTP Protocol:HTTPS

HTTP Method:GET

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

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_APPKEYApplication key used for request authentication. Supply the value as a query parameter, form field, or multipart field according to the request content type.
keywordsstringfalseKeyword used for fuzzy matching against the searchable text fields supported by this endpoint.
pagesizeintegerfalse10Number of records returned per page.
pagenumberintegerfalse1One-based page number for pagination.
typestringfalsePoetry type filter. Accepted values are `唐诗`, `宋诗`, and `宋词`.
searchtypestringfalseallSearch scope accepted by the upstream contract. The demo uses `all`.

API Response Parameters

NameTypeRemark
dataStatusobjectLegacy response metadata. `dataStatus.statusCode` is not the HTTP status code for this endpoint family.
dataStatus.requestParameterstringNormalized request parameters echoed by the service. Sensitive credentials are omitted when available.
dataStatus.statusCodeintegerLegacy upstream application status code. Successful demo responses currently return `100`.
dataStatus.statusDescriptionstringLegacy upstream status message. Successful demo responses currently return a Chinese message.
dataStatus.responseDateTimestringResponse timestamp returned by the current service contract.
dataStatus.dataTotalCountintegerTotal number of records that match the request.
dataarray<string>Primary response payload returned by the endpoint.
data[].titlestringTitle of the poem or lyric
data[].authorstringAuthor name
data[].contentarray<string>Array of strings containing the poem/lyric content, each element is one line
data[].typestringPoetry type returned by the upstream dataset, such as `唐诗`, `宋诗`, or `宋词`.

API Response Status Codes

Status CodeExplanation of Status CodeRemarks
200Request processed successfully.Some endpoints expose a separate application-level status field in the response body, such as `dataStatus.statusCode`.
400Invalid request parameters or request format.Check required fields, data types, and request body format.
401Missing or unknown application key.Provide a valid `appkey` with the request.
403The application key is recognized but access is not allowed.The key may be expired, inactive, or not permitted for the requested API.
429Request rate or trial usage limit exceeded.Reduce concurrency or retry after the limit window resets.
500Internal service error.Retry later or contact support if the error persists.
503Upstream service unavailable.Retry later; the requested upstream dependency is temporarily unavailable.

Remote MCP

AI client access

Use this API through GuGuData Remote MCP

Connect your AI client once, authorize in the browser, and the client can use the GuGuData API tools available to your account. You do not need to paste an appkey into the MCP client.

Endpoint https://mcp.gugudata.io/mcp
Open MCP Guide
Generic MCP configuration
{
  "mcpServers": {
    "gugudata": {
      "url": "https://mcp.gugudata.io/mcp",
      "transportType": "streamable-http"
    }
  }
}

Code Snippets