Allele frequency search
Search HLA allele frequencies by allele, locus, country, region and population, etc.
View endpointThe Allele Frequency Net Database (AFND) API provides an access to a comprehensive, freely available repository of immune gene frequencies across worldwide populations. Through this API, users can query allele, haplotype, and genotype frequency data, enabling seamless integration of AFND resources into analytical pipelines, applications, and research workflows. The API is designed to support efficient data retrieval while promoting data sharing and collaboration within the scientific community.
Choose the type of information you want to retrieve.
Search HLA allele frequencies by allele, locus, country, region and population, etc.
View endpointSearch HLA haplotype frequencies by allele, locus, country, region and population, etc.
View endpointSearch for rare HLA alleles available in the database.
View endpointSearch KIR allele and gene frequency information.
View endpointSearch KIR genotype frequency data.
View endpointSearch MIC allele frequency data.
View endpointSearch Cytokine polymorphism frequency data.
View endpointhttps://www.allelefrequencies.net/api/hla/allele-frequencies/search
To add search criteria, append a ? to the end of the endpoint and add a parameter from the table below. Use & to add additional parameters.
| Parameter | Description | Value(s) | Example |
|---|---|---|---|
| allele | Allele name | A*01:01 | allele=A*01:01 |
| locus | Locus name | {A, B, C, DPA1, DPB1, ...} | locus=A |
| country | Country | {Albania, Algeria, American Samoa, ...} | country=Albania |
| geographicalRegion | Geographical region | {Asia, Australia, Europe, ...} | geographicalRegion=Europe |
| ethnicity | Ethnicity | {Amerindian, Black, Caucasian, ...} | ethnicity=Amerindian |
| populationStandard | Population standard | {goldOnly, goldAndSilver} | populationStandard=goldOnly |
| showFrequencies | Show only positives or negatives frequencies | {positives, negatives} | showFrequencies=positives |
| dataset | Source of data | {Literature, Proceedings of IHWs, Unpublished} | dataset=Literature |
| typeStudy | Type of study | {Anthropology, Blood Donor, Bone Marrow Registry, ...} | typeStudy=Anthropology Study |
| sortBy | Sort by | {allele, alleleFrequencyDesc, population, populationFrequencyDesc} | sortBy=alleleFrequencyDesc |
https://www.allelefrequencies.net/api/hla/allele-frequencies/search?allele=A*01:01
https://www.allelefrequencies.net/api/hla/allele-frequencies/search?allele=B*07&geographicalRegion=Europe
Click the Run button to test the endpoint and view the returned data in the Demo response section.
You can copy any example, modify its parameters to create your own query, and use it as a starting point for integrating the API into your application, script, or data analysis workflow.
Run an example to display the API response.