---
title: "B072-1 Extract chemical structures from multiple patents-create"
method: POST
path: "/synapse/patent/chemical/submitTask"
tags: ["Chemical and Bio Data"]
---

# B072-1 Extract chemical structures from multiple patents-create

`POST /synapse/patent/chemical/submitTask`

## Request

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

Submit a chemical structure search task based on patent IDs or patent numbers, source, molecular weight range, etc., and return a task ID for querying results later

## Request body

- B0721ChemicalSubmittaskRequest
  - `limit` integer: Number of returned items, default 10.Maximum limit setting 100
  - `page` integer: page, default 1
  - `patent_ids` unknown[]: Patent ID list, either patent_ids or patent_numbers is required, if both are provided, patent_ids takes precedence, maximum 100
    - unknown
  - `patent_numbers` unknown[]: Patent number list, either patent_ids or patent_numbers is required, if both are provided, patent_ids takes precedence, maximum 100
    - unknown
  - `range_max` number, double: Maximum molecular weight
  - `range_min` number, double: Minimum molecular weight
  - `source` unknown[], required: Source, 1:Manual | 2:Other | 3:Picture | 4:Claims | 5:Abstract | 6:Title | 7:Description
    - unknown

## Response `200`

Successful b072-1 extract chemical structures from multiple patents-create response.

- B0721ChemicalSubmittaskResponse
  - `data` B0721ChemicalSubmittaskChemicalSearchTaskResponse
    - `task_id` string: Task ID for querying task results later
  - `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)
