---
title: "B072-2 Extract chemical structures from multiple patents-query"
method: GET
path: "/synapse/patent/chemical/getTaskResult"
tags: ["Chemical and Bio Data"]
---

# B072-2 Extract chemical structures from multiple patents-query

`GET /synapse/patent/chemical/getTaskResult`

## Request

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

Query the execution result of a chemical structure search task by task ID, returning a list of compounds and their detailed information, including InChI, SMILES, molecular weight, synonyms, patent count, paper count, etc.

## Query parameters

- `task_id` string, required: taskId

## Response `200`

Successful b072-2 extract chemical structures from multiple patents-query response.

- B0722ChemicalGettaskresultResponse
  - `data` B0722ChemicalGettaskresultChemicalSearchResultResponse
    - `page` integer: Current page number
    - `size` integer: Number of items per page
    - `total` integer: Total number of records
    - `status` string: Response status
    - `results` B0722ChemicalGettaskresultChemicalResultDetail[]: Chemical compound results list
      - `inchi` string: InChI identifier
      - `smiles` string: SMILES structure
      - `formula` string: Molecular formula
      - `synonyms` unknown[]: Synonyms list
        - unknown
      - `inchi_key` string: InChI Key
      - `paper_num` integer: Total paper number
      - `mol_weight` number, double: Molecular weight
      - `patent_ids` unknown[]: Patent ID list
        - unknown
      - `patent_num` integer: Total patent number
      - `publication` B0722ChemicalGettaskresultChemicalResultEarliestPublished
        - `patent_number` string: Patent number
        - `publication_date` string: Publication date
      - `compound_name` string: Compound name
  - `status` boolean, required: Status
  - `error_msg` string: Error Message
  - `error_code` integer, required: Error Code

## Other responses

- `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)
