Search Assays
pubchem_search_assaysRetrieve PubChem bioassay IDs for a biological target. Search using gene symbol, protein name, NCBI Gene ID, or UniProt accession to get a page of assay IDs (AIDs).
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 (1-200). 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. "geneid" accepts NCBI Gene IDs. "proteinaccession" accepts UniProt accessions. | |
| targetQuery | Yes | Target identifier. Examples: "EGFR" (genesymbol), "Epidermal growth factor receptor" (proteinname), "1956" (geneid), "P00533" (proteinaccession). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cap | No | The maxResults cap that was applied. | |
| aids | Yes | PubChem Assay IDs. | |
| 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 | Yes | 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 | Yes | Target identifier type used: genesymbol, proteinname, geneid, or proteinaccession. | |
| totalFound | Yes | Total AIDs found for this target, across all pages. | |
| targetQuery | Yes | Target identifier searched. |