Rat Genome Database REST API
mcw · Data
The RGD REST API provides programmatic access to information and annotation stored in the Rat Genome Database
Authentication
Sample Requests
Returns a list of gene types avialable in RGD
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/mcw.edu/1.1/lookup/geneTypes"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/mcw.edu/1.1/lookup/geneTypes",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/mcw.edu/1.1/lookup/geneTypes'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/mcw.edu/1.1/lookup/geneTypes"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/mcw.edu/1.1/lookup/geneTypes")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/mcw.edu/1.1/lookup/geneTypes";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Return a Map of species type keys available in RGD
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/mcw.edu/1.1/lookup/speciesTypeKeys"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/mcw.edu/1.1/lookup/speciesTypeKeys",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/mcw.edu/1.1/lookup/speciesTypeKeys'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/mcw.edu/1.1/lookup/speciesTypeKeys"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/mcw.edu/1.1/lookup/speciesTypeKeys")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/mcw.edu/1.1/lookup/speciesTypeKeys";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Return all active strains in RGD
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/mcw.edu/1.1/strains/all"
import requests
response = requests.get(
"https://api.apis.guru/v2/specs/mcw.edu/1.1/strains/all",
)
print(response.json())const url = 'https://api.apis.guru/v2/specs/mcw.edu/1.1/strains/all'; const response = await fetch(url); const data = await response.json(); console.log(data);
package main
import (
"fmt"
"io"
"net/http"
)
func main() {
targetURL := "https://api.apis.guru/v2/specs/mcw.edu/1.1/strains/all"
req, _ := http.NewRequest("GET", targetURL, nil)
client := &http.Client{}
resp, _ := client.Do(req)
defer resp.Body.Close()
body, _ := io.ReadAll(resp.Body)
fmt.Println(string(body))
}require "net/http"
require "json"
uri = URI("https://api.apis.guru/v2/specs/mcw.edu/1.1/strains/all")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Get.new(uri)
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://api.apis.guru/v2/specs/mcw.edu/1.1/strains/all";
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- See official documentation for authentication and setup.
What can you build with Rat Genome Database REST API?
Rat Genome Database REST API is a Data API. Developers commonly use data APIs for:
- enriching your app with third-party datasets
- building data pipelines and ETL workflows
- querying and searching large datasets
- powering research, analysis, and reporting tools
- syncing reference data into your own systems
No authentication required. This API is open — no signup or key needed. Ideal for quick prototypes and public-facing features. Rat Genome Database REST API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide