Skip to main content
POST
Map ids

Request contract

  • Method and path: POST /apis/v1/uniprot-org/proteins/map-ids
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/uniprot-org/proteins/map-ids
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
ids
string[]
required

Identifiers of one kind, e.g. ["TP53", "CD52"] or ["ENSG00000141510"].

from
string
default:gene

Kind of the identifiers: gene (gene symbols and synonyms), ensembl (ENSG/ENST/ENSP IDs), ncbi_gene (Entrez Gene IDs such as 7157), pdb (4-character PDB IDs), chembl (ChEMBL target IDs).

Provider reference: allowed values ["gene", "ensembl", "ncbi_gene", "pdb", "chembl"]; default "gene".

organism
string

Restrict to an organism: NCBI taxonomy ID (9606 human, 10090 mouse) or name. Strongly recommended for gene symbols.

reviewed_only
boolean

Only reviewed Swiss-Prot entries (default). false also returns unreviewed TrEMBL entries, which can be many per gene.

Response

Map up to 50 gene symbols, or Ensembl, NCBI Gene, PDB or ChEMBL identifiers, to UniProtKB accessions in one call. Gene symbols match primary gene names, gene synonyms (P53 finds TP53), ordered locus and ORF names, and matched_on says which; identifier sources match the entry's cross-references (Ensembl gene, transcript or protein IDs, with or without version). Reviewed Swiss-Prot entries only by default and listed first. Inputs without a match are listed in unmatched; when nothing matches the result is not_found.

The response contains the tool result directly.

The provider identifies mappings as the primary payload key.

These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.