uniprot-protein
Installation
SKILL.md
UniProt Protein Database API
Access the Universal Protein Resource (UniProt) to search and retrieve protein entries, sequences, functional annotations, and cross-references. No authentication required.
API Endpoints
Base: https://rest.uniprot.org
GET /uniprotkb/search -- Search protein entries
# Search for human insulin proteins (reviewed/Swiss-Prot only)
curl -s "https://rest.uniprot.org/uniprotkb/search?query=insulin+AND+organism_id:9606+AND+reviewed:true&format=json&size=5"
# Search by gene name exact match
curl -s "https://rest.uniprot.org/uniprotkb/search?query=gene_exact:TP53+AND+organism_id:9606&format=json"
# Search by EC number (enzyme classification)
curl -s "https://rest.uniprot.org/uniprotkb/search?query=ec:2.7.11.1+AND+reviewed:true&format=json&size=10"