Search Assays
pubchem_search_assaysSearch PubChem bioassays by gene symbol, protein name, NCBI Gene ID, or UniProt accession to get assay IDs (AIDs) for a biological target. Page results with offset for further exploration.
Instructions
Find PubChem bioassays associated with a biological target. Search by gene symbol (e.g. "EGFR"), protein name, NCBI Gene ID, or UniProt accession. Returns a page of assay IDs (AIDs) — page past maxResults with offset — which can be explored further with pubchem_get_summary.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Zero-based index of the first AID to return. Pass the nextOffset from a previous call to read the following page. Default: 0. | |
| maxResults | No | Max AIDs to return per page. The per-call cap is 200: a larger value (up to 1000) returns a page of 200 and is reported in cappedInputs. Popular targets may have thousands of assays; use offset to reach the ones past this page. Default: 50. | |
| targetType | Yes | Target identifier type. "genesymbol" and "proteinname" accept text names; a genesymbol matches the symbol case-insensitively across species, so a human symbol also returns assays on other species' orthologs. "geneid" accepts NCBI Gene IDs. "proteinaccession" accepts UniProt accessions. "geneid" and "proteinaccession" each pin one protein, but return overlapping, different assay sets for it, since PubChem records some assays under only one of the two identifiers; for a complete list for one protein, union both. | |
| targetQuery | Yes | Target identifier. Examples: "EGFR" (genesymbol), "Epidermal growth factor receptor" (proteinname), "1956" (geneid), "P00533" (proteinaccession; uppercased before lookup, except a PDB chain ID such as the "A" in "1ZHH_A", which is kept as given). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | The page size applied: maxResults, or the per-call cap when maxResults exceeds it. | |
| aids | No | PubChem Assay IDs. | |
| error | No | Present when the call failed. Absent on success. | |
| shown | No | AIDs returned on this page. | |
| notice | No | Recovery guidance when no assays matched, when the offset runs past the result set, or when further pages remain. Absent when this page is complete and non-empty. | |
| offset | No | Zero-based index of the first AID returned. | |
| truncated | No | True when matching AIDs remain past this page. | |
| nextOffset | No | Offset to pass on the next call to continue past this page. Omitted when no further AIDs match. | |
| targetType | No | Target identifier type used: genesymbol, proteinname, geneid, or proteinaccession. | |
| totalFound | No | Total AIDs found for this target, across all pages. | |
| targetQuery | No | Target identifier searched. | |
| cappedInputs | No | Inputs that asked for more than their per-call cap, with the value requested and the value served. An ID batch lists the IDs past the cap in unprocessed. Omitted when every input was within its cap. |