Skip to the content

Full detail for up to 32 documents

POST /v1/detail

Returns everything a reconnectchina.org document page shows, for up to 32 ids from search results: the full text, the tables and the attachments. The dates, the classification, the document number and the source are the same as the summary's.

Ids the API does not know are listed under missing, so a script can tell exactly which ids failed. An id is known from the moment search can return its document. A document that is no longer shown on the website is still returned here, with its lifecycle saying so; an id you stored a year ago keeps working.

detail is in no particular order. Match entries to your request by id.

There is no paging. Request documents in batches instead.

Request

Body

The ids to fetch, as they appear in search results.

Responses

200 · Success

The documents found, and the ids that were not.

Where a document's field comes from: From the source from the source page, AI generated machine-generated, Assigned assigned by ReConnect China. What a document tells you

  • detaillist of objects

    The documents found, in no particular order.

  • idstringAssigned

    A document's id, assigned by ReConnect China, the same one reconnectchina.org uses: the path segment after /items/ in rc. Use it as it is; its format is not part of this contract.

  • rcstringAssigned

    Assigned by ReConnect China: the document's page on reconnectchina.org. The last part of the link is derived from the English title (en.title) once, when the page first appears, and kept from then on: a link keeps working when the title is later revised.

  • attributionstringAssigned

    Assigned by ReConnect China: a ready-made attribution for this document, to publish next to anything derived from it.

  • sourcestringmay be absentFrom the source

    From the source website: the page to link to for this document, the one that presents it. A document can draw on more than one page, such as a listing that gives its document number; this is the page to send a reader to. Absent when there is no such page that can be linked to.

  • typestringAI generated

    The kind of document, machine-generated by our classifier from the document itself: law/decree (法, 令, 条例), regulation (规定, 办法, 细则), notice/announcement (通知, 公告, 通报), opinion/plan (意见, 规划, 方案, 纲要), news (news and reports), leaders (about the activities of leading officials), and other: anything else, including documents that have not been classified yet. A document can therefore move from other to another kind once it is classified, and a kind can change when the classifier improves.

    A fixed set for the lifetime of /v1.

  • levelstringAI generated

    The administrative level a document was issued at, machine-generated by our classifier from the document itself: centre (the State Council, the Party centre and the ministries), provinces (provincial-level units, including the four municipalities with province rank), cities (municipal and county governments), and other for documents that have not been classified yet.

    This is the level the reconnectchina.org search filters by. It is not derived from issuer: a city may repost a central document, which is then centre.

    A fixed set for the lifetime of /v1.

  • topicstringAI generated

    What a document is about, machine-generated by our classifier from the document itself. other covers everything else: documents on a topic we do not publish, documents that have not been classified yet, and any topic a later classifier adds. A document can therefore move from other to a topic once it is classified, and a topic can change when the classifier improves.

    A fixed set for the lifetime of /v1.

  • issuerstringAI generated

    An issuer, one of those issuerIn takes (machine-generated). The list may grow: handle a name you do not know rather than failing on it.

  • datestringAssigned

    The one date the document is treated as having, an instant in UTC, chosen by ReConnect China from its dates. from and to filter on it, the time histogram buckets it and the ranking uses it, unless dateField names another date. How far back a search reaches is always measured on it. It is one of the dates in dates, the publication date when the page gives one, and dateKind says which. When the source page gives no date at all it is when we collected the document, which is an approximation and can be later than the document's own date.

  • dateKindstringAssigned

    Which entry of dates we took the document's date from. A fixed set for the lifetime of /v1.

  • datesobject

    Every date the document has, each an instant in UTC. The first three are printed on the source page, and each is absent when the page does not give it; only added is always there. Summaries and detail carry the same set, so a search result already holds every date the document has.

  • publishedstringmay be absentFrom the source

    When the document was published (发布日期, 公布日期), from the source page. For presentation to users, prefer formatting in China Standard Time.

  • issuedstringmay be absentFrom the source

    When the document was written or signed (成文日期), from the source page. For presentation to users, prefer formatting in China Standard Time.

  • implementedstringmay be absentFrom the source

    When the document comes or came into effect (施行), from the source page. For presentation to users, prefer formatting in China Standard Time.

  • addedstringAssigned

    When we first collected the document, stamped by us rather than printed. It says the document existed by then, not when anyone last looked at the source page.

  • enobject

    English, machine-generated. There is no English full text; for one, translate zh.body.

  • titlestringAI generated

    A title in English, machine-generated: one line that names the document. A language model writes it from the Chinese headline and text, so it is not a translation of zh.headline line by line. It is often shorter than the headline, but no length is promised. It can change when the model improves.

  • summarystringmay be absentAI generated

    A summary of the text, machine-generated, as the summarizer wrote it. It can run to several paragraphs and contain lists, and its line breaks carry that structure, so show it with them kept. It may use light markup in the manner of Markdown, but no particular markup language is promised. Absent until summarization has run, and for documents without text to summarize.

  • zhobjectmay be absent

    Chinese, as published. Each field is absent when it is left out (see hidden), and zh itself when all of them are.

  • headlinelist of stringsmay be absentFrom the source

    From the source page, the headline as published, one entry per line.

  • subtitlelist of stringsmay be absentFrom the source

    From the source page, the subtitle, one entry per line.

  • bodylist of stringsmay be absentFrom the source

    From the source page, the full text as plain text, one entry per paragraph. Absent for documents without running text, such as image-only posts or pages that consist of attachments.

  • tableslist of stringsmay be absentFrom the source

    From the source page, the tables on it, one HTML <table> each, reduced to table, tr, th and td with colspan and rowspan.

  • hiddenlist of objectsmay be absentAssigned

    Assigned by ReConnect China: the fields this document has that are left out of this answer, each with the reason. Absent when nothing is left out. A field named here is absent from the document; a field that is absent and not named here is one the document does not have (see Fields left out in the introduction).

  • fieldstring

    The field left out, as its path in the document with a dot between names, e.g. zh.headline.

  • reasonstring

    Why it is left out. agreement: your organization's agreement does not include this field for this document. More reasons may be added: treat one you do not know as left out all the same.

  • documentNumberstringmay be absentFrom the source

    From the source page, the official document number (文号) as printed, e.g. 云政办发〔2024〕27号. Not unique: a document reposted by several websites carries the same number in each copy, so it can find copies, while id identifies one. Absent for documents that carry none, such as news.

  • departmentstringmay be absentFrom the source

    From the source page, the issuing body or bodies (发文机关) as printed, several joined with a comma. Unlike issuer, this is whoever signed the document.

  • categorystringmay be absentAssigned

    Assigned by ReConnect China: the section of the source website the document was collected from, e.g. 规章 or 行政规范性文件, named when we set up collecting from that section, usually as the website names it. It is not read from the document's page. Unlike type, it judges nothing about the document itself.

  • keywordslist of stringsmay be absentFrom the source

    From the source page, the subject keywords (主题分类) as it lists them.

  • lawStatusstringmay be absentFrom the source

    From the source page, the validity it states (时效性) as printed, e.g. 有效 or 失效, as it was when we collected the page (see What a document tells you, and what it does not in the introduction).

  • attachmentslist of objectsmay be absentFrom the source

    From the source page, the files attached to it, such as a PDF print version or data files.

  • titlestringmay be absent

    The attachment's title as shown on the page.

  • urlstring
  • imageslist of objectsmay be absentFrom the source

    From the source page, its content images (not decoration).

  • urlstring
  • lifecycleobjectAssigned

    Assigned by ReConnect China: whether the document is still shown on reconnectchina.org. Search returns only documents in state live; detail answers for every id ever returned, so an id stored long ago keeps working.

    This is about our presentation, not about the source website: live does not mean the document is still online there (see What a document tells you, and what it does not in the introduction).

  • statestring

    live while the document is shown, archived once it no longer is. More states may be added: treat one you do not know as not live.

  • missinglist of strings

    The requested ids the API does not know. Empty when all were found.

Errors

Every error is a problem document with the fields below. Its type names the problem, and is the address of the problem's page.

400invalid-request

The request is not valid (invalid-request): a path that cannot be read, a body that is not JSON or does not match the schema, an unknown field, a from or to that is not a valid instant expression (an unknown time zone, or a time of day the zone skips, included), a from that is not earlier than to, a term that does not parse or is longer than your organization's agreement allows, an unknown issuer, a scope in the body that does not exist, or a saved search's name that breaks the naming rule. errors names each offending part: a pointer into the body (for the run of a saved search, into parameters as it ran), or the parameter of the path (see problem types).

401unauthenticated

No access token, or one that is invalid or has expired (unauthenticated). Refresh the access token and try again.

403no-organizationmultiple-organizationsorganization-not-registerednot-entitledaccess-endedtier-served-elsewheresuspended

The account may not do this. type says why: the account belongs to no organization because its application is still under review (no-organization) or it belongs to more than one (multiple-organizations), the organization has no access to the API (organization-not-registered) or not to this operation (not-entitled), the organization's access has ended (access-ended), the organization's access is to another server of the API (tier-served-elsewhere, with that server's URL in server), or access has been suspended (suspended, see Errors and retrying).

413payload-too-large

The request body is too large (payload-too-large).

415unsupported-media-type

The request body is not application/json (unsupported-media-type).

429rate-limited

Too many requests, or too many at the same time (rate-limited), from your account, your organization, or your network address. Wait for Retry-After seconds, then send the same request again.

  • Header Retry-After

    How many seconds to wait before sending the same request again.

431headers-too-large

The request's headers are too large (headers-too-large). An access token is far below the limit, so look for a header your client adds.

503unavailable

The API is temporarily unavailable (unavailable), because our servers are under pressure or briefly out of service. Wait for Retry-After seconds, then send the same request again.

  • Header Retry-After

    How many seconds to wait before sending the same request again.

Any otherinternal

Any other error, as a problem document. Includes internal (500), a failure on our side.

A problem document's fields

  • typestring

    Identifies the problem; branch on this. One of the problem types under https://api.reconnectchina.org/docs/v1/problems/, named in each response's description and its x-problem-types, and listed in Problem types, for example https://api.reconnectchina.org/docs/v1/problems/continuation-expired. The URL is also the type's documentation.

  • titlestring

    A short, human-readable summary of the problem type.

  • statusinteger

    The HTTP status code.

  • detailstringmay be absent

    A human-readable explanation of this occurrence.

  • errorslist of objectsmay be absent

    For invalid-request, each part of the request that is not valid, and for range-not-entitled, each end of the range that reaches too far. Each names the part in exactly one way: pointer for a part of the body, parameter for a part of the path. A part with several mistakes in it, such as a term, has an entry for each, and span says where in it each one is.

  • parameterstringmay be absent

    The name of the path parameter, as this document names it, for example name in /v1/saved_searches/{scope}/{name}.

  • pointerstringmay be absent

    A JSON Pointer (RFC 6901  on another website) into the request body, for example /levelIn/0. Empty for the body as a whole. For the run of a saved search, it points into the search as it ran, as if the body had been {"parameters": …} with the saved parameters and your overrides: /parameters/from whether from was saved or sent.

  • spanobjectmay be absent

    Where in a string a problem is: the characters from start up to, not including, end, counting from 0. Characters are Unicode code points, as maxLength counts them, so 低空经济 is four; a program that marks text in another unit converts, such as a browser, whose strings count a character outside the Basic Multilingual Plane as two. Equal start and end mark the place where something is missing, such as the end of a term that stops after &&.

  • startinteger, at least 0
  • endinteger, at least 0
  • detailstring
  • earliestFromstring, up to 128 charactersmay be absent

    For range-not-entitled, the earliest from your organization may use, as an instant expression such as now-1y or 1900-01-01.

  • latestTostring, up to 128 charactersmay be absent

    For range-not-entitled, the latest to your organization may use, as an instant expression such as 3000-01-01.

  • serverstringmay be absent

    For tier-served-elsewhere, the server of this API that your account may use, one of servers, such as https://sandbox.api.reconnectchina.org.

Language
result = client.get_details([])
curl -X POST 'https://api.reconnectchina.org/v1/detail' \
  -H "Authorization: Bearer $TOKEN" \
  -H 'Content-Type: application/json' \
  --data-raw '{}'
const result = await client.getDetails(undefined);

client is logged in as on Logging in, or made from a saved token.

to api.reconnectchina.org

Example response · 200 · On the sandbox: the sandbox document, and the real one missing

{
"detail": [
{
"attribution": "ReConnect China Database, University of Vienna — https://reconnectchina.org/items/00000000000000000000000d/test-item-13"
"category": "政策文件"
"date": "2026-10-01T08:34:33.937Z"
"dateKind": "published"
"dates": {
"added": "2026-10-01T20:11:33.937Z"
"implemented": "2026-09-21T03:02:33.937Z"
"issued": "2026-09-18T18:16:33.937Z"
"published": "2026-10-01T08:34:33.937Z"
}
"department": "玉龙纳西族自治县商务局"
"documentNumber": "玉商规〔2026〕904号"
"en": {
"title": "Yulong Naxi Autonomous County Administrative Measures for Prepaid Card Consumption (Trial) [TEST 测试数据]"
"【测试数据 — 非真实内容】本条目为 ReConnect China API 沙盒虚构的测试数据,并非真实的政府文件或新闻。 [TEST DATA — NOT REAL] This item was invented for the ReConnect China API sandbox. It is not a real government document or news report, and nothing in it should be cited or relied upon. Yulong Naxi Autonomous County enacted trial measures to regulate prepaid cards across local retail and tourism businesses. Effective immediately, operators must register with commercial departments and maintain transparent conditions."
}
"id": "00000000000000000000000d"
"issuer": "云南省"
"预付卡"
"消费监管"
]
"level": "cities"
"state": "live"
}
"rc": "https://reconnectchina.org/items/00000000000000000000000d/test-item-13"
"topic": "commerce"
"type": "regulation"
"zh": {
"body": [
"【测试数据 — 非真实内容】本条目为 ReConnect China API 沙盒虚构的测试数据,并非真实的政府文件或新闻。 [TEST DATA — NOT REAL] This item was invented for the ReConnect China API sandbox. It is not a real government document or news report, and nothing in it should be cited or relied upon."
"第一条 为规范预付卡经营行为,保障消费者合法权益,促进商业零售与文旅消费健康发展,自即日起施行本办法。"
"第二条 本办法适用于本县行政区域内从事零售、餐饮、文化体验及旅游服务等行业发售预付卡的经营者。"
"第三条 发卡经营者须在发卡前向县商务主管部门办理备案,设立资金风险防范机制,并在展销集市与交易活动中如实公示服务条款。"
]
"玉龙纳西族自治县预付卡消费监督管理办法(试行) [TEST 测试数据]"
]
}
}
]
"missing": [
"6abe34baed91061889a19484"
]
}