Dimensions API
app.dimensions.ai · Science
Comprehensive research intelligence platform covering publications, grants, patents, clinical trials, and policy documents. Free access for non-commercial use. Requires account registration.
Authentication
Sample Requests
Search publications using Dimensions Search Language (DSL).
Hover any highlighted part to learn what it does
| Content-Type | application/json |
| Authorization | JWT YOUR_TOKEN |
{
"dsl": "search publications in title_abstract_only for \"climate change\" return publications[id+title+year+citations_count] limit 5"
}
curl -X POST "https://app.dimensions.ai/api/dsl.json" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"dsl":"search publications in title_abstract_only for \"climate change\" return publications[id+title+year+citations_count] limit 5"}'import requests
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer YOUR_ACCESS_TOKEN"
}
data = {
"dsl": "search publications in title_abstract_only for \"climate change\" return publications[id+title+year+citations_count] limit 5"
}
response = requests.post(
"https://app.dimensions.ai/api/dsl.json",
headers=headers,
json=data,
)
print(response.json())const url = 'https://app.dimensions.ai/api/dsl.json';
const response = await fetch(url, {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer YOUR_ACCESS_TOKEN'
},
headers: { 'Content-Type': 'application/json' },
body: JSON.stringify({
"dsl": "search publications in title_abstract_only for \"climate change\" return publications[id+title+year+citations_count] limit 5"
}),
});
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"bytes"
"encoding/json"
)
func main() {
targetURL := "https://app.dimensions.ai/api/dsl.json"
jsonData, _ := json.Marshal({"dsl":"search publications in title_abstract_only for \"climate change\" return publications[id+title+year+citations_count] limit 5"})
req, _ := http.NewRequest("POST", targetURL, bytes.NewBuffer(jsonData))
req.Header.Set("Content-Type", "application/json")
req.Header.Set("Authorization", "Bearer YOUR_ACCESS_TOKEN")
req.Header.Set("Content-Type", "application/json")
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://app.dimensions.ai/api/dsl.json")
http = Net::HTTP.new(uri.host, uri.port)
http.use_ssl = uri.scheme == "https"
req = Net::HTTP::Post.new(uri)
req["Content-Type"] = "application/json"
req["Authorization"] = "Bearer YOUR_ACCESS_TOKEN"
req["Content-Type"] = "application/json"
req.body = "{\"dsl\":\"search publications in title_abstract_only for \\\"climate change\\\" return publications[id+title+year+citations_count] limit 5\"}"
res = http.request(req)
puts JSON.parse(res.body)<?php
$url = "https://app.dimensions.ai/api/dsl.json";
$opts = ["http" => [
"method" => "POST",
"header" => implode("\r\n", [
"Content-Type: application/json",
"Authorization: Bearer YOUR_ACCESS_TOKEN",
"Content-Type: application/json"
]),
"content" => json_encode({"dsl":"search publications in title_abstract_only for \"climate change\" return publications[id+title+year+citations_count] limit 5"}),
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Postman Setup Guide
- Register for a free account at app.dimensions.ai
- POST to https://app.dimensions.ai/api/auth.dsl with {"username":"...","password":"..."}
- Copy the JWT token from the response
- Set header: Authorization: JWT YOUR_TOKEN
- Use the Dimensions Search Language (DSL) to query publications, grants, patents
What can you build with Dimensions API?
Dimensions API is a Science API. Developers commonly use science APIs for:
- accessing research datasets and scientific literature
- powering academic and R&D applications
- running scientific calculations and simulations
- visualising experimental and observational data
- integrating with research and reference databases
Bearer token. Your app exchanges credentials for a short-lived token, then sends it as an Authorization header. Tokens expire, so your code needs to handle renewal. Dimensions API is free to use up to a usage limit, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide