{"uid":"cap_OCsagAJYpRoxTCDoKq2DM","slug":"pubchem-compound-lookup-by-name-pug-rest-aa735436","name":"PubChem Compound Lookup by Name (PUG REST)","description":"NIH PubChem compound lookup by name (PUG REST): PubChem CID, title, molecular formula, molecular weight and IUPAC name for the best match. Safety and hazard data are not included. One compound per call.","url":"https://api.healthtravel-api.workers.dev/api/health/pubchem-chemical-cid?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Compound name, letters, digits, spaces, commas, hyphens and parentheses, 2 to 100 characters"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_m8ORgvkquT8ZBmz7-ai8_","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Looks up a chemical compound by name in NIH PubChem and returns its CID, title, molecular formula, molecular weight, and IUPAC name for the best match.","exampleAgentPrompt":"Can you look up the PubChem compound data for caffeine — I need its CID, molecular formula, molecular weight, and IUPAC name?","exampleUseCases":[{"title":"Drug molecular weight verification","prompt":"What is the molecular formula and molecular weight of ibuprofen according to PubChem?"},{"title":"Chemical identifier resolution","prompt":"I need the PubChem CID and IUPAC name for acetaminophen — can you look that up for me?"},{"title":"Biochemistry research assistance","prompt":"Can you find the PubChem compound info for dopamine, including its molecular formula and molecular weight?"}],"resultDescription":"Returns the best-matching PubChem compound record for the given name, including: PubChem CID (integer identifier), compound title, molecular formula (e.g. C8H10N4O2), molecular weight (numeric, in g/mol), and IUPAC name. Safety and hazard data are not included. One compound per call.","failureModes":["Compound name not found in PubChem — returns no match or empty result","Ambiguous or misspelled compound name yields an unexpected best-match","Input name outside allowed character set or length (2–100 chars) triggers validation error","Network or upstream PubChem PUG REST API unavailability causes timeout or error response"],"whenToPreferThis":"Use this endpoint when you need quick, structured chemical identity data (CID, formula, weight, IUPAC name) for a single named compound from the authoritative NIH PubChem database. Prefer it over general web search when you need machine-readable chemical metadata. Note it does not return safety, hazard, or toxicity data — use a different source for those.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T00:34:16.494Z","isFirstParty":false,"canonicalSlug":"pubchem-compound-lookup-by-name-pug-rest-aa735436"}