[Integrations](https://spiral.ai/integrations) › [Zapier](https://spiral.ai/integrations/zapier) › [PubChem compound patents](https://spiral.ai/integrations/zapier/pubchem-compound-patents)

# How to Use PubChem compound patents in Zapier

Returns patent publication identifiers linked to mentions of a compound. Use it to build a reading list, keeping in mind that a mention does not establish what the patent claims.

|  |  |
| --- | --- |
| Model | PubChem compound patents |
| Available through | Alexandria |
| Category | Health |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with PubChem compound patents in Zapier

- Each week, use PubChem compound patents for imatinib, collect US and European patent publications, and report identifiers absent from the previous run.
- Every Monday at 9am: use PubChem compound patents to look this up and give me the result as a table.
- Pull the latest numbers from PubChem compound patents and tell me what changed since last week.
- Check PubChem compound patents and summarize what you find in three bullet points.
- Pull the newest data from PubChem compound patents and give me the result as a table.

## How to set up PubChem compound patents in Zapier

Pick the way that suits you. Each takes about two minutes.

### Use the Spiral skill

1. **Send Zapier this message**: Your agent reads Spiral's skill and sets itself up.

```
set up https://spiral.ai/SKILL.md
```

2. **Sign in or paste a key**: Approve Spiral in the browser, or give the agent a key from the console.

### Use Spiral's MCP server

1. **Add an MCP Client connection**: In Zapier open Apps, click Add connection and search for MCP Client. Fill in the form:

```text
https://api.spiral.ai/mcp
```

2. **Sign in to Spiral and approve**: Spiral opens: sign in, pick the organization and click Authorize. No API key. Spiral gives the connection its own key; Zapier never sees it, and you can remove it under Settings › Connected apps in the console.

3. **Run a Spiral tool in a Zap**: Add an MCP Client step to a Zap and choose the Run Tool action with your Spiral connection. Pick a tool: `discover` finds the right model for a task, `estimate_cost` prices it and `run` runs it. For example, `run` with:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run PubChem compound patents in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds PubChem compound patents, prices it and runs it each time the step fires.

### Use the Spiral CLI

1. **Install and sign in**: Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run PubChem compound patents**: One request; the result comes back by polling or a webhook.

```bash
curl https://api.spiral.ai/v1/runs \
  -H "Authorization: Bearer $SPIRAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: $(uuidgen)" \
  -d '{
    "provider": "alexandria",
    "model": "pubchem-ncbi-nlm-nih-gov/compounds/patents",
    "input": {
      "compound": "<compound>"
    }
  }'
```

Then paste one of the prompts above: Zapier finds PubChem compound patents on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/zapier

## PubChem compound patents tools and prices

- [PubChem: chemical compounds, bioassays, targets and patents · Patents](https://spiral.ai/tools/alexandria/pubchem-ncbi-nlm-nih-gov/compounds/patents) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| cid | 1 to … | — | A PubChem CID, instead of compound. Pass exactly one of compound or cid. |
| kind | auto, cid, name, smiles, inchikey, inchi | auto | How to read compound; auto guesses from its shape. Set smiles for short SMILES that read as formulas or names ("CO"). |
| limit | 1 to 500 | 50 | Publications per page. |
| offset | 0 to 500000 | 0 | Publications to skip, from next_offset. |
| country |  | — | Keep publications from these offices: two-letter codes such as US, EP, WO, CN, JP, KR. |
| compound |  | — | The compound: a CID ("5291", "CID 5291"), a name or synonym PubChem knows exactly ("imatinib", "Ozempic", a CAS number "152459-95-5", "CHEMBL941"), an InChIKey, a SMILES, an InChI, or a pubchem.ncbi.nlm.nih.gov/compound/ URL. A name naming several compounds takes PubChem's first and warns with the others. |

## What can you do with PubChem compound patents in Zapier?

Keep a weekly review of changes in PubChem results for a fixed compound watchlist. Compare repeated queries to identify changed properties, structural matches, biological evidence, or patent links for a researcher to inspect.

### Prepare a compound research dossier

Resolve imatinib to its chemical record, collect its properties, summarize reported targets and assays, and assemble linked patent publications for reading.

### Triage structural analogues

Find structures resembling a seed compound, confirm their identities, and compare available properties, assay evidence, targets, and patent links before selecting candidates for closer study.

### Build a patent reading list around a structure

Confirm a seed compound, find related structures, and collect their linked patent publication identifiers. Organize documents for reading without treating chemical mentions as proof of claim coverage.

### Review a research watchlist each week

Repeat identity, property, structural-neighbor, assay, target, and patent queries for a fixed compound watchlist. Compare retrieved results with earlier snapshots to flag changes for a researcher.

### Annotate a public chemical dataset

Resolve chemical names to CIDs and attach computed properties, reported biological targets, assay references, and patent publication links to each identified structure.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Zapier guides](https://spiral.ai/integrations/zapier)

## PubChem compound patents in other agents

- [Amp](https://spiral.ai/integrations/amp/pubchem-compound-patents)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/pubchem-compound-patents)
- [Claude](https://spiral.ai/integrations/claude-desktop/pubchem-compound-patents)
- [Claude Code](https://spiral.ai/integrations/claude-code/pubchem-compound-patents)
- [Cline](https://spiral.ai/integrations/cline/pubchem-compound-patents)
- [Codex](https://spiral.ai/integrations/codex/pubchem-compound-patents)
- [Cursor](https://spiral.ai/integrations/cursor/pubchem-compound-patents)
- [Devin](https://spiral.ai/integrations/devin/pubchem-compound-patents)
- [dots](https://spiral.ai/integrations/dots/pubchem-compound-patents)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/pubchem-compound-patents)
- [Gemini](https://spiral.ai/integrations/gemini/pubchem-compound-patents)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/pubchem-compound-patents)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/pubchem-compound-patents)
- [goose](https://spiral.ai/integrations/goose/pubchem-compound-patents)
- [Grok](https://spiral.ai/integrations/grok/pubchem-compound-patents)
- [Grok Build](https://spiral.ai/integrations/grok-build/pubchem-compound-patents)
- [Hermes](https://spiral.ai/integrations/hermes/pubchem-compound-patents)
- [Instinct](https://spiral.ai/integrations/instinct/pubchem-compound-patents)
- [Manus](https://spiral.ai/integrations/manus/pubchem-compound-patents)
- [Muse](https://spiral.ai/integrations/muse/pubchem-compound-patents)
- [Muse Code](https://spiral.ai/integrations/muse-code/pubchem-compound-patents)
- [n8n](https://spiral.ai/integrations/n8n/pubchem-compound-patents)
- [Notion](https://spiral.ai/integrations/notion/pubchem-compound-patents)
- [OpenClaw](https://spiral.ai/integrations/openclaw/pubchem-compound-patents)
- [opencode](https://spiral.ai/integrations/opencode/pubchem-compound-patents)
- [Perplexity](https://spiral.ai/integrations/perplexity/pubchem-compound-patents)
- [Raycast](https://spiral.ai/integrations/raycast/pubchem-compound-patents)
- [VS Code](https://spiral.ai/integrations/vscode/pubchem-compound-patents)
- [Windsurf](https://spiral.ai/integrations/windsurf/pubchem-compound-patents)

## More Zapier guides

- [PubChem compound details](https://spiral.ai/integrations/zapier/pubchem-compound-details)
- [PubChem compound search](https://spiral.ai/integrations/zapier/pubchem-compound-search)
- [PubChem compound bioassays](https://spiral.ai/integrations/zapier/pubchem-compound-bioassays)
- [PubChem compound targets](https://spiral.ai/integrations/zapier/pubchem-compound-targets)
- [PMC article full text](https://spiral.ai/integrations/zapier/pmc-article-full-text)
- [PubChem similar compounds](https://spiral.ai/integrations/zapier/pubchem-similar-compounds)

## Questions about PubChem compound patents in Zapier

**Can Zapier use PubChem compound patents?**

Yes. Add Spiral to Zapier as an MCP server, and Zapier can find and run PubChem compound patents like any built-in tool.

**How much does PubChem compound patents cost in Zapier?**

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Zapier plan is separate.

**Do I need an Alexandria account to use PubChem compound patents in Zapier?**

No. Spiral runs PubChem compound patents on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up PubChem compound patents in Zapier?**

About two minutes: add an MCP Client connection, then sign in to Spiral and approve, then run a Spiral tool in a Zap.

**Does Zapier wait while PubChem compound patents runs?**

PubChem compound patents runs in the background. Zapier starts the run, checks on it and gives you the json when it's ready.

**Does PubChem cover only small molecules?**

Small molecules make up most of PubChem, but it also includes nucleotides, carbohydrates, lipids, peptides, and chemically modified macromolecules.

**Why can several submitted records lead to one CID?**

PubChem combines submitted Substance records that standardize to the same chemical structure into one Compound record. The CID identifies that structure, while the original submissions retain their Substance identifiers.

**Are PubChem CAS-number matches authoritative?**

PubChem does not verify or manually curate CAS numbers supplied by third parties. Its documentation explicitly warns that CAS-to-CID assignments can contain errors or inconsistencies.

**Does PubChem publish new data on a guaranteed daily schedule?**

PubChem says a daily processing cycle is not a publication guarantee. Submission size, processing, reviews, revision requests, and service workload affect when contributed data becomes public.

**Can a PubChem structure search miss matching compounds?**

Yes. A formula or structure search can stop at an operational time or result limit before examining every candidate, leaving a valid but incomplete result list whose count is a lower bound.

