curl --request POST \
--url https://api.aisa.one/apis/v1/uniprot-org/proteins/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "CD52"
}
'import requests
url = "https://api.aisa.one/apis/v1/uniprot-org/proteins/search"
payload = { "query": "CD52" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: 'CD52'})
};
fetch('https://api.aisa.one/apis/v1/uniprot-org/proteins/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/uniprot-org/proteins/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => 'CD52'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/uniprot-org/proteins/search"
payload := strings.NewReader("{\n \"query\": \"CD52\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/uniprot-org/proteins/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"CD52\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/uniprot-org/proteins/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"CD52\"\n}"
response = http.request(request)
puts response.read_body{
"license": {
"attribution": "UniProt Consortium, UniProtKB release 2026_03 (https://www.uniprot.org), licensed under CC BY 4.0",
"name": "CC BY 4.0",
"url": "https://creativecommons.org/licenses/by/4.0/"
},
"limit": 3,
"next_cursor": null,
"observed_at_ms": 1792447175538,
"query": "CD52",
"release": "2026_03",
"release_date": "02-September-2026",
"results": [
{
"accession": "P31358",
"annotation_score": 5,
"entry_name": "CD52_HUMAN",
"gene_name": "CD52",
"gene_synonyms": [
"CDW52",
"HE5"
],
"length": 61,
"license": "CC BY 4.0",
"organism": {
"common_name": "Human",
"scientific_name": "Homo sapiens",
"taxon_id": 9606
},
"protein_existence": "1: Evidence at protein level",
"protein_name": "CAMPATH-1 antigen",
"protein_synonyms": [
"CDw52",
"Cambridge pathology 1 antigen",
"Epididymal secretory protein E5",
"Human epididymis-specific protein 5",
"He5",
"CD52"
],
"reviewed": true,
"source_url": "https://www.uniprot.org/uniprotkb/P31358/entry",
"subcellular_locations": [
"Cell membrane"
]
},
{
"accession": "Q96LC7",
"annotation_score": 5,
"entry_name": "SIG10_HUMAN",
"gene_name": "SIGLEC10",
"gene_synonyms": [
"SLG2"
],
"length": 697,
"license": "CC BY 4.0",
"organism": {
"common_name": "Human",
"scientific_name": "Homo sapiens",
"taxon_id": 9606
},
"protein_existence": "1: Evidence at protein level",
"protein_name": "Sialic acid-binding Ig-like lectin 10",
"protein_synonyms": [
"Siglec-10",
"Siglec-like protein 2"
],
"reviewed": true,
"source_url": "https://www.uniprot.org/uniprotkb/Q96LC7/entry",
"subcellular_locations": [
"Cell membrane",
"Secreted"
]
}
],
"source_url": "https://www.uniprot.org/uniprotkb?query=%28CD52%29+AND+taxonomy_id%3A9606+AND+reviewed%3Atrue",
"total_count": 2,
"uniprot_query": "(CD52) AND taxonomy_id:9606 AND reviewed:true"
}Search
Start here to find the UniProt accession of a protein or gene (“human CD52”, “insulin receptor”, gene_exact:TP53), then call get for its function, subcellular location with evidence, GO terms, diseases and cross-references. For a list of gene symbols, map_ids resolves them in one call.
curl --request POST \
--url https://api.aisa.one/apis/v1/uniprot-org/proteins/search \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "CD52"
}
'import requests
url = "https://api.aisa.one/apis/v1/uniprot-org/proteins/search"
payload = { "query": "CD52" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: 'CD52'})
};
fetch('https://api.aisa.one/apis/v1/uniprot-org/proteins/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/uniprot-org/proteins/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => 'CD52'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/uniprot-org/proteins/search"
payload := strings.NewReader("{\n \"query\": \"CD52\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/uniprot-org/proteins/search")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"CD52\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/uniprot-org/proteins/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"CD52\"\n}"
response = http.request(request)
puts response.read_body{
"license": {
"attribution": "UniProt Consortium, UniProtKB release 2026_03 (https://www.uniprot.org), licensed under CC BY 4.0",
"name": "CC BY 4.0",
"url": "https://creativecommons.org/licenses/by/4.0/"
},
"limit": 3,
"next_cursor": null,
"observed_at_ms": 1792447175538,
"query": "CD52",
"release": "2026_03",
"release_date": "02-September-2026",
"results": [
{
"accession": "P31358",
"annotation_score": 5,
"entry_name": "CD52_HUMAN",
"gene_name": "CD52",
"gene_synonyms": [
"CDW52",
"HE5"
],
"length": 61,
"license": "CC BY 4.0",
"organism": {
"common_name": "Human",
"scientific_name": "Homo sapiens",
"taxon_id": 9606
},
"protein_existence": "1: Evidence at protein level",
"protein_name": "CAMPATH-1 antigen",
"protein_synonyms": [
"CDw52",
"Cambridge pathology 1 antigen",
"Epididymal secretory protein E5",
"Human epididymis-specific protein 5",
"He5",
"CD52"
],
"reviewed": true,
"source_url": "https://www.uniprot.org/uniprotkb/P31358/entry",
"subcellular_locations": [
"Cell membrane"
]
},
{
"accession": "Q96LC7",
"annotation_score": 5,
"entry_name": "SIG10_HUMAN",
"gene_name": "SIGLEC10",
"gene_synonyms": [
"SLG2"
],
"length": 697,
"license": "CC BY 4.0",
"organism": {
"common_name": "Human",
"scientific_name": "Homo sapiens",
"taxon_id": 9606
},
"protein_existence": "1: Evidence at protein level",
"protein_name": "Sialic acid-binding Ig-like lectin 10",
"protein_synonyms": [
"Siglec-10",
"Siglec-like protein 2"
],
"reviewed": true,
"source_url": "https://www.uniprot.org/uniprotkb/Q96LC7/entry",
"subcellular_locations": [
"Cell membrane",
"Secreted"
]
}
],
"source_url": "https://www.uniprot.org/uniprotkb?query=%28CD52%29+AND+taxonomy_id%3A9606+AND+reviewed%3Atrue",
"total_count": 2,
"uniprot_query": "(CD52) AND taxonomy_id:9606 AND reviewed:true"
}Request contract
- Method and path: POST /apis/v1/uniprot-org/proteins/search
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/uniprot-org/proteins/search
{
"operationId": "uniprot-org.proteins.search",
"method": "POST",
"path": "/apis/v1/uniprot-org/proteins/search",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"limit": 3,
"organism": "9606",
"query": "CD52",
"reviewed": true
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"cursor": {
"description": "`next_cursor` from the previous page. Repeat the same query, organism, reviewed and limit with it.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"limit": {
"default": 10,
"description": "Results per page.\n\nProvider reference: minimum 1; maximum 100; default 10.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 100,
"min": 1
}
},
"organism": {
"description": "Restrict to an organism: an NCBI taxonomy ID (`9606` for human, `10090` mouse, `562` E. coli with all strains) or a name (`Homo sapiens`, `human`).",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"query": {
"description": "Free text or UniProt query syntax (uniprot.org/help/query-fields), e.g. `CD52`, `insulin receptor`, `gene_exact:TP53`, `protein_name:\"CAMPATH-1 antigen\"`, `cc_scl_term:SL-0039` (subcellular location term), `cc_disease:\"Li-Fraumeni syndrome\"`, `go:0005886`, `ec:2.7.11.1`, combined with AND/OR/NOT.",
"type": "string"
},
"reviewed": {
"description": "true: only reviewed Swiss-Prot entries (curated, the usual choice); false: only unreviewed TrEMBL entries. Omit for both.",
"type": "boolean",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"required": [
"query"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
Free text or UniProt query syntax (uniprot.org/help/query-fields), e.g. CD52, insulin receptor, gene_exact:TP53, protein_name:"CAMPATH-1 antigen", cc_scl_term:SL-0039 (subcellular location term), cc_disease:"Li-Fraumeni syndrome", go:0005886, ec:2.7.11.1, combined with AND/OR/NOT.
Response
Search UniProtKB, the UniProt protein knowledgebase, by free text (gene, protein or disease names) or UniProt query syntax, optionally restricted to an organism (NCBI taxonomy ID or name, including descendant strains) and to reviewed Swiss-Prot or unreviewed TrEMBL entries. Each result has the accession, entry name, review status, recommended protein name with its synonyms, gene name with synonyms, organism, length, annotation score, protein existence level and the curated subcellular location terms. Results come in UniProt's relevance order, total_count is the full hit count, and next_cursor pages onward. An empty result is a valid empty page.
The response contains the tool result directly.
The provider identifies results as the primary payload key.
| Documented field | Provider type | Description |
|---|---|---|
accession | string | Primary UniProtKB accession; pass it to get. |
annotation_score | number | UniProt annotation score, 1 (least) to 5 (best annotated). |
entry_name | string | UniProtKB entry name (mnemonic), e.g. CD52_HUMAN. |
gene_name | string | Primary gene name of the first gene; null for entries without a gene name. |
gene_synonyms | string[] | Gene name synonyms. |
length | number | Sequence length in amino acids. |
license | string | License of this record's data. |
organism | object | |
protein_existence | string | Protein existence level, e.g. 1: Evidence at protein level. |
protein_name | string | Recommended protein name, or the submitted name for entries without one. |
protein_synonyms | string[] | Every other protein name UniProt lists: short names, alternative names, CD antigen and INN names. |
reviewed | boolean | true for Swiss-Prot (manually reviewed), false for TrEMBL (unreviewed). |
source_url | string | The entry page on uniprot.org, for attribution and follow-up. |
subcellular_locations | string[] | Distinct curated subcellular location terms of the protein and its isoforms; get returns them with evidence. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.