[B072-2]Extract chemical structures from multiple patents-query

get
https://connect.patsnap.com/synapse/patent/chemical/getTaskResult
Try in Sandbox

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.

taskId is required and can be obtained from the submit task interface (B072-1). If the task is not yet completed, the returned results may be empty or incomplete.

Request Parameters

List of parameters supported by this API endpoint

NameTypeExampleDescription
task_id
Required
string27d6e66b503549ce92842cfdb3345349
taskId

Response Schema

Structure of the API response data

Field NameTypeExampleDescription
data
object-
response data
page
integer<int32>1
Current page number
size
integer<int32>10
Number of items per page
total
integer<int32>180
Total number of records
status
stringSUCCESS
Response status
results
arrayPlease check the form:ChemicalResultDetail
Chemical compound results list
inchi
stringInChI=1S/C88H97Cl2N9O33/c1-3-4-5-6-7-8-9-10-60(108)94-68-74(113)71(110)58(32-101)129-87(68)132-78-55-26-40-27-56(78)126-52-18-14-38(24-47(52)90)77(131-86-67(92-34(2)103)73(112)70(109)57(31-100)128-86)69-84(121)98-66(85(122)123)45-29-42(105)30-54(127-88-76(115)75(114)72(111)59(33-102)130-88)61(45)44-23-37(13-15-49(44)106)63(81(118)99-69)96-83(120)65(40)97-82(119)64-39-21-41(104)28-43(22-39)124-53-25-36(12-16-50(53)107)62(91)80(117)93-48(79(116)95-64)20-35-11-17-51(125-55)46(89)19-35/h11-19,21-30,48,57-59,62-77,86-88,100-102,104-107,109-115H,3-10,20,31-33,91H2,1-2H3,(H,92,103)(H,93,117)(H,94,108)(H,95,116)(H,96,120)(H,97,119)(H,98,121)(H,99,118)(H,122,123)/t48-,57-,58-,59-,62-,63-,64+,65-,66+,67-,68-,69+,70-,71-,72-,73-,74-,75+,76+,77-,86+,87+,88+/m1/s1
InChI identifier
smiles
stringCCCCCCCCCC(=N[C@@H]1[C@H]([C@@H]([C@H](O[C@H]1OC2=C3C=C4C=C2OC5=C(C=C(C=C5)[C@H]([C@H]6C(=N[C@@H](C7=C(C(=CC(=C7)O)O[C@@H]8[C@H]([C@H]([C@@H]([C@H](O8)CO)O)O)O)C9=C(C=CC(=C9)[C@H](C(=N6)O)N=C([C@@H]4N=C([C@@H]1C2=CC(=CC(=C2)OC2=C(C=CC(=C2)[C@H](C(=N[C@H](CC2=CC(=C(O3)C=C2)Cl)C(=N1)O)O)N)O)O)O)O)C(=O)O)O)O[C@H]1[C@@H]([C@H]([C@@H]([C@H](O1)CO)O)O)N=C(C)O)Cl)CO)O)O)O
SMILES structure
formula
stringC88H97Cl2N9O33
Molecular formula
synonyms
array[ "91032-36-9", "テイコプラニン", "teicoplanin", "teichomycin" ]
Synonyms list
inchi_key
stringBJNLLBUOHPVGFT-PKMGYIMSSA-N
InChI Key
paper_num
integer<int32>45
Total paper number
mol_weight
number<double>1879.67
Molecular weight
patent_ids
array[ "3b583fb3-4edc-45f9-9b8c-2d9a82f5a730" ]
Patent ID list
patent_num
integer<int32>42653
Total patent number
publication
objectPlease check the form:ChemicalResultEarliestPublished
Earliest published documents
patent_number
stringUS12497460B2
Patent number
publication_date
string06 Apr 1976
Publication date
compound_name
stringTEICOPLANIN A2-3 / (1S,2R,19R,22R,34S,37R,40R,52S)-22-amino-5,15-dichloro-64-[(2S,3R,4R,5S,6R)-4,5-dihydroxy-3-(1-hydroxydecylideneamino)-6-(hydroxymethyl)oxan-2-yl]oxy-2-[(2R,3R,4R,5S,6R)-4,5-dihydroxy-3-(1-hydroxyethylideneamino)-6-(hydroxymethyl)oxan-2-yl]oxy-21,26,31,35,38,44,49,54,56,59-decahydroxy-47-[(2R,3S,4S,5S,6R)-3,4,5-trihydroxy-6-(hydroxymethyl)oxan-2-yl]oxy-7,13,28-trioxa-20,36,39,53,55,58-hexazaundecacyclo[38.14.2.23,6.214,17.219,34.18,12.123,27.129,33.141,45.010,37.046,51]hexahexaconta-3,5,8,10,12(64),14,16,20,23(61),24,26,29(60),30,32,35,38,41(57),42,44,46(51),47,49,53,55,58,62,65-heptacosaene-52-carboxylic acid
Compound name
status
Required
booleanfalse
Status
error_msg
stringThe request parameter format is incorrect!
Error Message
error_code
Required
integer0
Error Code

Success Response Example

Example of a successful API response

JSON
{
  "data": {
    "page": 1,
    "size": 10,
    "total": 180,
    "status": "SUCCESS",
    "results": [
      {
        "inchi": "InChI=1S/C88H97Cl2N9O33/c1-3-4-5-6-7-8-9-10-60(108)94-68-74(113)71(110)58(32-101)129-87(68)132-78-55-26-40-27-56(78)126-52-18-14-38(24-47(52)90)77(131-86-67(92-34(2)103)73(112)70(109)57(31-100)128-86)69-84(121)98-66(85(122)123)45-29-42(105)30-54(127-88-76(115)75(114)72(111)59(33-102)130-88)61(45)44-23-37(13-15-49(44)106)63(81(118)99-69)96-83(120)65(40)97-82(119)64-39-21-41(104)28-43(22-39)124-53-25-36(12-16-50(53)107)62(91)80(117)93-48(79(116)95-64)20-35-11-17-51(125-55)46(89)19-35/h11-19,21-30,48,57-59,62-77,86-88,100-102,104-107,109-115H,3-10,20,31-33,91H2,1-2H3,(H,92,103)(H,93,117)(H,94,108)(H,95,116)(H,96,120)(H,97,119)(H,98,121)(H,99,118)(H,122,123)/t48-,57-,58-,59-,62-,63-,64+,65-,66+,67-,68-,69+,70-,71-,72-,73-,74-,75+,76+,77-,86+,87+,88+/m1/s1",
        "smiles": "CCCCCCCCCC(=N[C@@H]1[C@H]([C@@H]([C@H](O[C@H]1OC2=C3C=C4C=C2OC5=C(C=C(C=C5)[C@H]([C@H]6C(=N[C@@H](C7=C(C(=CC(=C7)O)O[C@@H]8[C@H]([C@H]([C@@H]([C@H](O8)CO)O)O)O)C9=C(C=CC(=C9)[C@H](C(=N6)O)N=C([C@@H]4N=C([C@@H]1C2=CC(=CC(=C2)OC2=C(C=CC(=C2)[C@H](C(=N[C@H](CC2=CC(=C(O3)C=C2)Cl)C(=N1)O)O)N)O)O)O)O)C(=O)O)O)O[C@H]1[C@@H]([C@H]([C@@H]([C@H](O1)CO)O)O)N=C(C)O)Cl)CO)O)O)O",
        "formula": "C88H97Cl2N9O33",
        "synonyms": [
          "91032-36-9",
          "テイコプラニン",
          "teicoplanin",
          "teichomycin"
        ],
        "inchi_key": "BJNLLBUOHPVGFT-PKMGYIMSSA-N",
        "paper_num": 45,
        "mol_weight": 1879.67,
        "patent_ids": [
          "3b583fb3-4edc-45f9-9b8c-2d9a82f5a730"
        ],
        "patent_num": 42653,
        "publication": {
          "patent_number": "US12497460B2",
          "publication_date": "06 Apr 1976"
        },
        "compound_name": "TEICOPLANIN A2-3 / (1S,2R,19R,22R,34S,37R,40R,52S)-22-amino-5,15-dichloro-64-[(2S,3R,4R,5S,6R)-4,5-dihydroxy-3-(1-hydroxydecylideneamino)-6-(hydroxymethyl)oxan-2-yl]oxy-2-[(2R,3R,4R,5S,6R)-4,5-dihydroxy-3-(1-hydroxyethylideneamino)-6-(hydroxymethyl)oxan-2-yl]oxy-21,26,31,35,38,44,49,54,56,59-decahydroxy-47-[(2R,3S,4S,5S,6R)-3,4,5-trihydroxy-6-(hydroxymethyl)oxan-2-yl]oxy-7,13,28-trioxa-20,36,39,53,55,58-hexazaundecacyclo[38.14.2.23,6.214,17.219,34.18,12.123,27.129,33.141,45.010,37.046,51]hexahexaconta-3,5,8,10,12(64),14,16,20,23(61),24,26,29(60),30,32,35,38,41(57),42,44,46(51),47,49,53,55,58,62,65-heptacosaene-52-carboxylic acid"
      }
    ]
  },
  "status": true,
  "error_code": 0
}

Error Codes

List of possible error codes returned by this endpoint

Business Errors

Error CodeDescription
68300004Invalid parameter!
68300005Search api failure!
68300006Analytic basic access error!
68300007Bad request!
68300008Service error, please try again later!
68300010The file does not comply with upload specifications!

Platform Errors

Error CodeDescription
67200000API call exceeds the total limit set by the platform!
67200001API call exceeds the total limit set by the platform!
67200002The current call rate is too fast, exceeding the current configuration limit QPS!
67200003The key and secret parameters for applying for the token are incorrect or the client has been disabled!
67200004The requested api does not have permission. Please contact our support personnel!
67200005Insufficient account balance/number of calls!
67200006The client has exceeded the activation validity period!
67200007The current call exceeds the configured usage limit of the day!
67200008Please check if the required apikey in the query parameter has been transmitted!
67200009The apikey does not match the passed bearerToken. Please check if a valid token is being used!
67200012The request is illegal!
67200100The current server status is busy, request response timeout!
67200101The API requested currently does not exist. Please check the request path!

HTTP Status Codes

Status CodeDescription
0Success
401Unauthorized
403Forbidden
404Not Found

Performance Metrics

Expected performance characteristics for this endpoint

Normal Response Time

5000 ms

Max Response Time

10000 ms