> ## 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 Security



## OpenAPI

````yaml /openapi.json get /china/securities/{code}
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/securities/{code}:
    get:
      tags:
        - China · Securities
      summary: China Security
      operationId: china_security_china_securities__code__get
      parameters:
        - name: code
          in: path
          required: true
          schema:
            type: string
            title: Code
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ChinaSecurityResponse'
        '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:
    ChinaSecurityResponse:
      properties:
        security:
          $ref: '#/components/schemas/ChinaSecurity'
      type: object
      required:
        - security
      title: ChinaSecurityResponse
    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
    ChinaSecurity:
      properties:
        code:
          type: string
          title: Code
        exchange:
          type: string
          enum:
            - SSE
            - SZSE
            - BSE
          title: Exchange
        board:
          type: string
          enum:
            - main
            - star
            - chinext
            - bse
          title: Board
        company_name:
          type: string
          title: Company Name
        listing_date:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Listing Date
        delisting_date:
          anyOf:
            - type: string
              format: date
            - type: 'null'
          title: Delisting Date
        listed:
          anyOf:
            - type: boolean
            - type: 'null'
          title: Listed
      type: object
      required:
        - code
        - exchange
        - board
        - company_name
      title: ChinaSecurity
      description: >-
        One mainland A-share listing.


        ``code`` is always exchange-qualified (``sh.600519``). A bare six-digit
        code is NOT unique

        across the mainland exchanges, so it is never used as a key.
  securitySchemes:
    X-API-KEY:
      type: apiKey
      in: header
      name: X-API-KEY
      description: >-
        Provisioned Corpus API key with the required jurisdiction and operation
        scopes.

````