How to Use PubChem compound bioassays in Grok
Returns a compound's reported biological test results, including assay information, activity outcomes, and targets. Use it to examine the experiments behind an activity claim or target summary.
Prompts to try with PubChem compound bioassays in Grok
Copy an example into Grok, or ask in your own words.
Use PubChem compound bioassays to summarize active and inactive results reported for imatinib against NCBI Gene ID 25, with assay identifiers for the evidence.
Use PubChem compound bioassays to look this up and give me the result as a table.
Pull the latest numbers from PubChem compound bioassays and tell me what changed since last week.
Check PubChem compound bioassays and summarize what you find in three bullet points.
Pull the newest data from PubChem compound bioassays and give me the result as a table.
How to set up PubChem compound bioassays in Grok
Pick the way that suits you. Each takes about two minutes.
Use the Grok connector
- Add a custom connector
In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.
https://api.spiral.ai/mcp
- Sign in to Spiral and approve
Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.
- Check that it is connected
Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.
Use the Spiral skill
- Send Grok this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- Install and sign in
Installs the Spiral CLI, signs you in and adds its skill to your coding agents.
npx -y spiral-cli@latest init
Call the Spiral API
- Create an API key
In the console, under API keys.
- Run PubChem compound bioassays
One request; the result comes back by polling or a webhook.
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/bioassays", "input": { "compound": "<compound>" } }'
Then paste one of the prompts above: Grok finds PubChem compound bioassays on Spiral, shows the price and runs it.
PubChem compound bioassays providers and prices
Spiral runs PubChem compound bioassays through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Grok for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Cid | a number from 1 | A PubChem CID, instead of compound. Pass exactly one of compound or cid. | |
| Kind | auto, cid, name, smiles, inchikey, or 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 100 | 25 | Rows per page. |
| Offset | 0 to 100000 | 0 | Rows to skip, from next_offset. |
| Outcome | active, inactive, inconclusive, unspecified, probe, or all | active | Keep rows with this outcome. |
| Assay type | confirmatory, screening, summary, or other | Keep rows from assays of this type. |
Every API field of PubChem: chemical compounds, bioassays, targets and patents · Bioassays is on its tool page: open its card above.
What can you do with PubChem compound bioassays in Grok?
Prepare a readable chemical research brief from PubChem's compound records. Ask the app to explain identity, structural relationships, and deposited evidence while preserving the distinction between an experimental result and an interpretation.
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.
Compare compound target profiles
Start from imatinib and structurally related compounds. Match identities and properties, organize their reported targets, and inspect the assay results behind shared or differing associations.
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.
Investigate a reported screening hit
Confirm the hit's chemical identity, inspect its deposited activity outcomes and associated targets, and find related structures to include in a follow-up evidence review.
More on PubChem compound bioassays and Grok
Overview
PubChem compound bioassays in other agents
Questions about PubChem compound bioassays in Grok
Can Grok use PubChem compound bioassays?
Yes. Add Spiral to Grok as an MCP server, and Grok can find and run PubChem compound bioassays like any built-in tool.
How much does PubChem compound bioassays cost in Grok?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Grok plan is separate.
Do I need an Alexandria account to use PubChem compound bioassays in Grok?
No. Spiral runs PubChem compound bioassays 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 bioassays in Grok?
About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.
Does Grok wait while PubChem compound bioassays runs?
PubChem compound bioassays runs in the background. Grok 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.
Start using PubChem compound bioassays in Grok
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Grok:
set up https://spiral.ai/SKILL.md


