← clify home · catalogue · Science and research data APIs for AI agents
pubchem-ncbi API for agents (unofficial) — JSON over curl
PubChem (NCBI) open chemistry database. This CLI searches compounds, genes, bioassays and literature, runs structure searches, fetches compound, gene, assay and element records, exports 2D/3D structures, and browses the periodic table, classification trees and data sources.
Host: pubchem.ncbi.nlm.nih.gov. Call these verified read commands with plain curl; no install, key, or account. Use the public JSON API with plain curl. No install, key, account, or browser is needed. Start with San Francisco and U.S. agent tasks: events, startup jobs, BART and Muni departures, Craigslist listings, local news, public datasets and prediction markets. Example: curl 'https://clify-dev.netlify.app/search?q=SF+tech+events'. Responses are one JSON object. The hosted MCP and GitHub repo are also available.
Machine-readable command schema · Source website
Commands
search-compounds
Keyword search of PubChem compounds (name, synonym, formula, etc.) with sorting and paging Params: q*, sort, start, api_limit Read-only
curl 'https://clify-dev.netlify.app/pubchem-ncbi/search-compounds?q=caffeine'
search-genes
Keyword search of PubChem gene targets Params: q*, sort, start, api_limit Read-only
curl 'https://clify-dev.netlify.app/pubchem-ncbi/search-genes?q=caffeine'
search-bioassays
Keyword search of PubChem bioassays (AIDs) Params: q*, sort, start, api_limit Read-only
curl 'https://clify-dev.netlify.app/pubchem-ncbi/search-bioassays?q=caffeine'
search-literature
Keyword search of literature (PubMed articles) linked to PubChem records Params: q*, sort, start, api_limit Read-only
curl 'https://clify-dev.netlify.app/pubchem-ncbi/search-literature?q=caffeine'
count-search-hits
Count keyword hits in every PubChem collection (compound, substance, bioassay, gene, protein, taxonomy, pathway, cell, literature, patent) Params: q* Read-only
curl 'https://clify-dev.netlify.app/pubchem-ncbi/count-search-hits?q=caffeine'
structure-search
Run an identity, similarity, substructure, superstructure or 3D-similarity search seeded by a compound CID. Returns the hit count and a cache key. Params: cid*, type Read-only
curl 'https://clify-dev.netlify.app/pubchem-ncbi/structure-search?cid=2519&type=similarity'
resolve-name
Resolve a chemical name or identifier to PubChem records (preferred CID, RefChem); also reports whether the input is valid SMILES, SMARTS, InChI, etc. Params: name* Read-only
curl 'https://clify-dev.netlify.app/pubchem-ncbi/resolve-name?name=caffeine'
autocomplete
Autocomplete suggestions for compound, gene or taxonomy names from a prefix Params: q*, dictionary, api_limit Read-only
curl 'https://clify-dev.netlify.app/pubchem-ncbi/autocomplete?q=caffe'
get-compound
Full PubChem compound summary record (names, identifiers, properties, safety, pharmacology, etc.) by CID Params: cid*, heading Read-only
curl 'https://clify-dev.netlify.app/pubchem-ncbi/get-compound?cid=2519'
get-gene
PubChem gene target record by NCBI Gene ID Params: geneid* Read-only
curl 'https://clify-dev.netlify.app/pubchem-ncbi/get-gene?geneid=38455'
get-bioassay
PubChem bioassay record (description, protocol, targets, results summary) by AID Params: aid* Read-only
curl 'https://clify-dev.netlify.app/pubchem-ncbi/get-bioassay?aid=1775029'
get-element
PubChem element record (identifiers, properties, history, uses) by atomic number Params: atomic_number* Read-only
curl 'https://clify-dev.netlify.app/pubchem-ncbi/get-element?atomic_number=6'
get-compound-structure
Compound structure record as JSON (atoms, bonds, 2D or 3D coordinates, computed props) by CID Params: cid*, record_type Read-only
curl 'https://clify-dev.netlify.app/pubchem-ncbi/get-compound-structure?cid=2519&record_type=3d'
export-compound-sdf
Download a compound's 2D or 3D structure as SDF (MOL) text by CID Params: cid*, record_type Read-only
curl 'https://clify-dev.netlify.app/pubchem-ncbi/export-compound-sdf?cid=2519&record_type=3d'
list-elements
Periodic table: every element with symbol, mass, electron configuration, electronegativity, state, melting/boiling point, etc. Params: none Read-only
curl 'https://clify-dev.netlify.app/pubchem-ncbi/list-elements'
list-classifications
List the classification hierarchies in the PubChem Classification Browser (MeSH, ChEBI, ATC, Compound TOC, ...) with their HIDs Params: none Read-only
curl 'https://clify-dev.netlify.app/pubchem-ncbi/list-classifications'
get-classification-node
Expand a classification hierarchy node to show its children and record counts Params: hid*, start, depth Read-only
curl 'https://clify-dev.netlify.app/pubchem-ncbi/get-classification-node?hid=2&start=root'
list-sources
List all PubChem data sources (depositors) with substance/assay counts, category, organization, URL and license Params: none Read-only
curl 'https://clify-dev.netlify.app/pubchem-ncbi/list-sources'
list-news
Recent PubChem news and announcements Params: none Read-only
curl 'https://clify-dev.netlify.app/pubchem-ncbi/list-news'
Related task guides and sites
Continue with Science and research data APIs for AI agents or explore related sources:
arxiv.org
arXiv.org, the open-access preprint archive. This CLI browses category listings (new, recent, monthly), daily catch-up, archive overviews, yearly stats, the category taxonomy and RSS feeds, and fetches paper abstract pages and BibTeX citations.
Machine-readable commands · 10 verified commands
pubmed.ncbi.nlm.nih.gov
PubMed (NCBI biomedical literature database): search articles by keyword, author or field-tagged query, with filters, sorting and pagination, and fetch full abstract records, MEDLINE text exports and PMID lists. All commands read the server-rendered search page.
Machine-readable commands · 4 verified commands
clinicaltrials.gov
ClinicalTrials.gov (NIH/NLM registry of over 600k clinical studies). The CLI searches studies, fetches full study records and their version history, autocompletes conditions, interventions, sponsors and facilities, and returns registry statistics and field metadata, all through the site's internal /api/int endpoints.
Machine-readable commands · 8 verified commands