RatGTEx REST API (4.2.0)
Read-only API for RatGTEx release v4 (Rattus norvegicus, GRCr8). Gene IDs are rat gene symbols or annotation identifiers, matched exactly or unambiguously without regard to case. Variant IDs use chromosome:position with 1-based positions and must identify one biallelic record. Gene and exon coordinates are 1-based inclusive.
/genotypePhenotypes returns normalized RNA phenotype vectors and on-demand nominal associations for one gene, variant, tissue and modality. Tests use released modality-specific covariates. Missing genotypes are mean-imputed for inference while remaining null in the displayed genotype vector. Significance thresholds and permutation results are precomputed. /geneExpression provides expression-only queries, with expressionScale=tpm (default) or normalized. Displayed values have no additional covariate adjustment. maf is minor allele frequency; altAlleleFrequency is alternate allele frequency.
/metadata lists modalities, tissues, genotype datasets, endpoints and limits. List parameters are comma-separated; repeated parameters and empty identifiers are rejected. tissueId and tissueSiteDetailId are accepted query names; supply only one. Missing or nonfinite numeric values are JSON null. Malformed requests return 400, missing individual resources 404, unsupported variants 422, and unavailable release data or indexes 503.
Successful JSON responses support ETag/If-None-Match, gzip and a five-minute public cache, except for prediction subsets, which use no-store. Use release downloads for bulk data. Publish matching source files and indexes together and restart API workers after a release update.