> ## Documentation Index
> Fetch the complete documentation index at: https://docs.onera.app/llms.txt
> Use this file to discover all available pages before exploring further.

# China Prices



## OpenAPI

````yaml /openapi.json get /china/prices
openapi: 3.1.0
info:
  title: Corpus API
  description: >-
    Point-in-time financial and governed-document data for the US, India, and
    China.
  version: '2026-07-20'
servers:
  - url: https://corpus-api.onera.app
    description: Production
security: []
paths:
  /china/prices:
    get:
      tags:
        - China · Prices
      summary: China Prices
      operationId: china_prices_china_prices_get
      parameters:
        - name: code
          in: query
          required: true
          schema:
            type: string
            title: Code
        - name: as_of
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: As Of
        - name: start_date
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date
              - type: 'null'
            title: Start Date
        - name: end_date
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: date
              - type: 'null'
            title: End Date
        - name: include_suspended
          in: query
          required: false
          schema:
            type: boolean
            default: false
            title: Include Suspended
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 10000
            minimum: 1
            default: 5000
            title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChinaPricesResponse'
        '400':
          description: Invalid parameter combination
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '401':
          description: Missing or invalid API key
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '403':
          description: Insufficient jurisdiction or scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '404':
          description: Unknown resource
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '422':
          description: Request schema validation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '503':
          description: Source content is unavailable or still processing
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - X-API-KEY: []
components:
  schemas:
    ChinaPricesResponse:
      properties:
        code:
          type: string
          title: Code
        exchange:
          anyOf:
            - type: string
            - type: 'null'
          title: Exchange
        board:
          anyOf:
            - type: string
            - type: 'null'
          title: Board
        currency:
          type: string
          title: Currency
          default: CNY
        adjustment:
          type: string
          const: unadjusted
          title: Adjustment
          default: unadjusted
        prices:
          items:
            $ref: '#/components/schemas/ChinaPrice'
          type: array
          title: Prices
        meta:
          $ref: '#/components/schemas/Meta'
      type: object
      required:
        - code
        - prices
        - meta
      title: ChinaPricesResponse
    ErrorResponse:
      properties:
        error:
          type: string
          title: Error
        message:
          type: string
          title: Message
        request_id:
          anyOf:
            - type: string
            - type: 'null'
          title: Request Id
      type: object
      required:
        - error
        - message
      title: ErrorResponse
    ChinaPrice:
      properties:
        date:
          type: string
          format: date
          title: Date
        open:
          anyOf:
            - type: number
            - type: 'null'
          title: Open
        high:
          anyOf:
            - type: number
            - type: 'null'
          title: High
        low:
          anyOf:
            - type: number
            - type: 'null'
          title: Low
        close:
          anyOf:
            - type: number
            - type: 'null'
          title: Close
        volume:
          anyOf:
            - type: integer
            - type: number
            - type: 'null'
          title: Volume
        trading_status:
          type: string
          enum:
            - trading
            - suspended
          title: Trading Status
        knowledge_time:
          type: string
          format: date-time
          title: Knowledge Time
      type: object
      required:
        - date
        - trading_status
        - knowledge_time
      title: ChinaPrice
      description: >-
        One China daily bar.


        Prices are UNADJUSTED (不复权). Chinese feeds conventionally default to 前复权
        forward

        adjustment, which retroactively restates history; Corpus does not store
        that. On a

        ``suspended`` session every price field is null — a halt is not a flat
        trading day.
    Meta:
      properties:
        jurisdiction:
          anyOf:
            - type: string
              enum:
                - US
                - IN
                - CN
            - type: 'null'
          title: Jurisdiction
        count:
          anyOf:
            - type: integer
            - type: 'null'
          title: Count
        limit:
          anyOf:
            - type: integer
            - type: 'null'
          title: Limit
        offset:
          anyOf:
            - type: integer
            - type: 'null'
          title: Offset
        next_offset:
          anyOf:
            - type: integer
            - type: 'null'
          title: Next Offset
        as_of:
          anyOf:
            - type: string
              format: date-time
            - type: 'null'
          title: As Of
        normalization_version:
          anyOf:
            - type: string
            - type: 'null'
          title: Normalization Version
        provenance:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Provenance
      type: object
      title: Meta
  securitySchemes:
    X-API-KEY:
      type: apiKey
      in: header
      name: X-API-KEY
      description: >-
        Provisioned Corpus API key with the required jurisdiction and operation
        scopes.

````