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-structures

Example

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

FieldTypeRequiredDescription
patent_numberstringYesPublication number, e.g. 'US-11242388-B2'.
include_drawingsbooleandefault false

Response data

FieldTypeDescription
patent_numberstring
resolved_patent_idstring
titlestring
assigneestring
google_patents_urlstring
imagesarray

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
}

← All agents