---
title: "B071 Extract chemical structures from a single patent"
method: POST
path: "/synapse/patent/chemical/getSingleData"
tags: ["Chemical and Bio Data"]
---

# B071 Extract chemical structures from a single patent

`POST /synapse/patent/chemical/getSingleData`

## Request

- Base URL: `https://connect.patsnap.com`
- URL: `https://connect.patsnap.com/synapse/patent/chemical/getSingleData`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/docs/synapse/patent/chemical/getSingleData/post.ts> (a function with typed inputs; its response is checked against the schema)

Extract chemical structures (compounds) mentioned in a single patent and their related information through patent ID, including compound names, InChI Keys, SMILES, molecular weights, mention counts in different sections, etc.

## Request body

- B071ChemicalGetsingledataRequest
  - `exclude_reagents` boolean: Exclude reagents
  - `limit` integer: Number of returned items, default 10.Maximum limit setting 1000
  - `only_first` boolean: Only show compounds that first appear in this patent
  - `page` integer: page, default 1
  - `patent_id` string: Patent id
  - `patent_number` string: Patent number
  - `range_max` number, double: Maximum molecular weight
  - `range_min` number, double: Minimum molecular weight
  - `source` unknown[]: Source, 1:Manual | 2:Other | 3:Picture | 4:Claims | 5:Abstract | 6:Title | 7:Description
    - unknown

## Response `200`

Successful b071 extract chemical structures from a single patent response.

- B071ChemicalGetsingledataResponse
  - `data` B071ChemicalGetsingledataPatentChemicalResponse
    - `page` integer: Current page number
    - `size` integer: Number of items per page
    - `items` B071ChemicalGetsingledataPatentChemicalMention[]: Result items list
      - `mwt` number, double: Molecular weight
      - `smiles` string: SMILES structure
      - `inchi_key` string: InChI Key
      - `patent_id` string: Patent id
      - `ta_mention` integer: Title and abstract mention count
      - `pdf_mention` integer: PDF mention count
      - `desc_mention` integer: Description mention count
      - `pdf_position` B071ChemicalGetsingledataPatentChemicalMentionPosition[]: PDF location
        - `page` integer: Page
        - `position` unknown[]: Location
          - unknown
      - `compound_name` string: Compound name
      - `claims_mention` integer: Claims mention count
      - `publication_date` string: public date
    - `total` integer: Total number of records
  - `status` boolean, required: Status
  - `error_msg` string: Error Message
  - `error_code` integer, required: Error Code

## Other responses

- `201`: Created.
- `401`: Unauthorized.
- `403`: Forbidden.
- `404`: Not Found.

---

[API](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api.md) - [All operations](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/revisions/c2264a0de595?raw)
