get_fasta
Retrieve raw FASTA sequences for one or more UniProtKB accessions, with silent handling of unknown accessions and strict validation for malformed entries.
Instructions
Return raw FASTA sequence(s) for one or more UniProtKB accessions.
A single accession uses the entry endpoint; a list uses the batch /accessions endpoint. Well-formed but unknown/obsolete accessions are dropped silently (a note reports the count discrepancy), but a malformed-format accession makes UniProt reject the whole request — so pass syntactically valid accessions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accessions | Yes | One accession (string) or several (list of strings), e.g. ['P38398', 'P04637']. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |