Skip to content
GET /v1/sequence

Amino-acid sequence + FASTA

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/uniprot-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/uniprot-api/v1/sequence" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/uniprot-api/v1/sequence", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/uniprot-api/v1/sequence");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/uniprot-api/v1/sequence",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "md5": "12E9C9E4E2835C302E8BA615115EDDA3",
        "mass": 11981,
        "crc64": "C2C3B23B85E520E5",
        "fasta": ">sp|P01308|INS_HUMAN Insulin OS=Homo sapiens OX=9606 GN=INS PE=1 SV=1\nMALWMRLLPLLALLALWGPDPAAAFVNQHLCGSHLVEALYLVCGERGFFYTPKTRREAED\nLQVGQVELGGGPGAGSLQPLALEGSLQKRGIVEQCCTSICSLYQLENYCN",
        "length": 110,
        "organism": "Homo sapiens",
        "sequence": "MALWMRLLPLLALLALWGPDPAAAFVNQHLCGSHLVEALYLVCGERGFFYTPKTRREAEDLQVGQVELGGGPGAGSLQPLALEGSLQKRGIVEQCCTSICSLYQLENYCN",
        "accession": "P01308",
        "entry_name": "INS_HUMAN",
        "protein_name": "Insulin"
    },
    "meta": {
        "timestamp": "2026-06-01T00:03:28.548Z",
        "request_id": "db305f81-086d-461a-b734-414e6d224ed7"
    },
    "status": "ok",
    "message": "Sequence retrieved",
    "success": true
}