patent-structuresPOST
Extract chemical structure panels (and SMILES) from a patent.
Submits a patent number to the structures-api service which scrapes Google Patents images, splits compound panels, and runs DECIMER + chemical-structure cleanup to recover SMILES.
Endpoint
POST https://api.frontwind.ai/v1/agents/patent-structuresExample
curl -X POST https://api.frontwind.ai/v1/agents/patent-structures \
-H "Authorization: Bearer fw_live_..." \
-H "Content-Type: application/json" \
-d '{ "patent_number": "US-11242388-B2" }'Request body
| Field | Type | Required | Description |
|---|---|---|---|
patent_number | string | Yes | Publication number, e.g. 'US-11242388-B2'. |
include_drawings | boolean | default false |
Response data
| Field | Type | Description |
|---|---|---|
patent_number | string | |
resolved_patent_id | string | |
title | string | |
assignee | string | |
google_patents_url | string | |
images | array |
Example response
{
"ok": true,
"agent": "patent-structures",
"data": {
"patent_number": "US-11242388-B2",
"title": "TROP2 antibody-drug conjugate",
"assignee": "Daiichi Sankyo",
"google_patents_url": "https://patents.google.com/patent/US11242388B2",
"images": [
{
"url": "https://...panel.png",
"section": "Compound 1"
}
]
},
"elapsed_s": 42
}