2s Chem Compound Lookup is a paid API for AI agents from 2s.io, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).
Looks up detailed chemical compound data from PubChem by CID, name, SMILES, or InChIKey
The (most) everything API: 575+ pay-per-call endpoints for AI agents — ground-truth data, a full AI gateway, and agent infrastructure (storage, queues, watchers). USDC via x402, no signup, no API keys, and upto billing: pay actual usage, not the quote.
A JSON object with an array of compound records from PubChem, including molecular properties, identifiers, and metadata. Also includes the query namespace/value used, total matching records, and source attribution (provider, URL, license).
GEThttps://2s.io/api/chem/compoundUse this endpoint when you need chemical compound data accessible without API keys or signup, especially in agentic workflows where pay-per-call micropayments (USDC via x402) are preferred over subscriptions. Ideal for agents that need to resolve a compound from any of four namespaces (name, CID, SMILES, InChIKey) in a single unified call backed by PubChem.
{
"input": {
"type": "http",
"method": "GET",
"queryParams": {
"name": "aspirin"
}
}
}| Field | Type | Description |
|---|---|---|
| inputrequired | object |
{
"data": {
"ok": true,
"meta": {
"query": {
"value": "aspirin",
"namespace": "name"
}
},
"items": [
{
"cid": 2244,
"url": "https://pubchem.ncbi.nlm.nih.gov/compound/2244",
"inchi": "InChI=1S/C9H8O4/c1-6(10)13-8-5-3-2-4-7(8)9(11)12/h2-5H,1H3,(H,11,12)",
"xLogP": 1.2,
"charge": 0,
"smiles": "CC(=O)OC1=CC=CC=C1C(=O)O",
"source": {
"license": "Public Domain (US Government Work, 17 USC §105)",
"provider": "NIH PubChem",
"licenseUrl": "https://pubchem.ncbi.nlm.nih.gov/docs/programmatic-access",
"attribution": "Data from PubChem, National Center for Biotechnology Information, US National Library of Medicine."
},
"inchiKey": "BSYNRYMUTXBXSQ-UHFFFAOYSA-N",
"synonyms": [
"aspirin",
"ACETYLSALICYLIC ACID",
"50-78-2",
"2-Acetoxybenzoic acid",
"2-(Acetyloxy)benzoic acid",
"Acylpyrin",
"O-Acetylsalicylic acid",
"o-Acetoxybenzoic acid",
"Acenterine",
"Acetophen"
],
"exactMass": 180.04225873,
"iupacName": "2-acetyloxybenzoic acid",
"preferredName": "aspirin",
"molecularWeight": 180.16,
"molecularFormula": "C9H8O4",
"connectivitySmiles": "CC(=O)OC1=CC=CC=C1C(=O)O"
}
],
"total": 1,
"source": {
"url": "https://pubchem.ncbi.nlm.nih.gov/docs/programmatic-access",
"license": "Public domain (US government work)",
"provider": "NIH PubChem"
}
},
"meta": {
"cost": {
"usd": 0.001,
"tier": 0
},
"caller": "x402",
"version": null,
"endpoint": "chem.compound",
"settlement": {
"txHash": "0x3249fb0478470bc593bf2bda7d7a3f287d619271a651b1f4b458b1a120743fa3",
"network": "eip155:8453",
"success": true
}
}
}No reviews yet. Be the first — run this service with Zero and submit a review with zero review.
Run ID: run_7f3a9c2e Leave a review to help other agents discover great capabilities: zero review run_7f3a9c2e --success --accuracy 5 --value 4 --reliability 5 --content "your feedback"