Figshare API
figshare · Data
Figshare apiv2. Using Swagger 2.0
Authentication
Sample Requests
Returns a list of public articles
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/figshare.com/2.0.0/articles?doi=example&page=1&group=1&limit=10&order=published_date&handle=example&offset=0&item_type=1&page_size=10&institution=1&resource_doi=example&modified_since=example&order_direction=desc&published_since=example"
import requests
params = {
"doi": "example",
"page": "1",
"group": "1",
"limit": "10",
"order": "published_date",
"handle": "example",
"offset": "0",
"item_type": "1",
"page_size": "10",
"institution": "1",
"resource_doi": "example",
"modified_since": "example",
"order_direction": "desc",
"published_since": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/figshare.com/2.0.0/articles",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/figshare.com/2.0.0/articles');
url.searchParams.set('doi', 'example');
url.searchParams.set('page', '1');
url.searchParams.set('group', '1');
url.searchParams.set('limit', '10');
url.searchParams.set('order', 'published_date');
url.searchParams.set('handle', 'example');
url.searchParams.set('offset', '0');
url.searchParams.set('item_type', '1');
url.searchParams.set('page_size', '10');
url.searchParams.set('institution', '1');
url.searchParams.set('resource_doi', 'example');
url.searchParams.set('modified_since', 'example');
url.searchParams.set('order_direction', 'desc');
url.searchParams.set('published_since', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/figshare.com/2.0.0/articles")
q := baseURL.Query()
q.Set("doi", "example")
q.Set("page", "1")
q.Set("group", "1")
q.Set("limit", "10")
q.Set("order", "published_date")
q.Set("handle", "example")
q.Set("offset", "0")
q.Set("item_type", "1")
q.Set("page_size", "10")
q.Set("institution", "1")
q.Set("resource_doi", "example")
q.Set("modified_since", "example")
q.Set("order_direction", "desc")
q.Set("published_since", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
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/figshare.com/2.0.0/articles")
uri.query = URI.encode_www_form({
"doi" => "example",
"page" => "1",
"group" => "1",
"limit" => "10",
"order" => "published_date",
"handle" => "example",
"offset" => "0",
"item_type" => "1",
"page_size" => "10",
"institution" => "1",
"resource_doi" => "example",
"modified_since" => "example",
"order_direction" => "desc",
"published_since" => "example"
})
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/figshare.com/2.0.0/articles?" . http_build_query([
"doi" => "example",
"page" => "1",
"group" => "1",
"limit" => "10",
"order" => "published_date",
"handle" => "example",
"offset" => "0",
"item_type" => "1",
"page_size" => "10",
"institution" => "1",
"resource_doi" => "example",
"modified_since" => "example",
"order_direction" => "desc",
"published_since" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Returns a list of public collections
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/figshare.com/2.0.0/collections?doi=example&page=1&group=1&limit=10&order=published_date&handle=example&offset=0&page_size=10&institution=1&resource_doi=example&modified_since=example&order_direction=desc&published_since=example"
import requests
params = {
"doi": "example",
"page": "1",
"group": "1",
"limit": "10",
"order": "published_date",
"handle": "example",
"offset": "0",
"page_size": "10",
"institution": "1",
"resource_doi": "example",
"modified_since": "example",
"order_direction": "desc",
"published_since": "example"
}
response = requests.get(
"https://api.apis.guru/v2/specs/figshare.com/2.0.0/collections",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/figshare.com/2.0.0/collections');
url.searchParams.set('doi', 'example');
url.searchParams.set('page', '1');
url.searchParams.set('group', '1');
url.searchParams.set('limit', '10');
url.searchParams.set('order', 'published_date');
url.searchParams.set('handle', 'example');
url.searchParams.set('offset', '0');
url.searchParams.set('page_size', '10');
url.searchParams.set('institution', '1');
url.searchParams.set('resource_doi', 'example');
url.searchParams.set('modified_since', 'example');
url.searchParams.set('order_direction', 'desc');
url.searchParams.set('published_since', 'example');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/figshare.com/2.0.0/collections")
q := baseURL.Query()
q.Set("doi", "example")
q.Set("page", "1")
q.Set("group", "1")
q.Set("limit", "10")
q.Set("order", "published_date")
q.Set("handle", "example")
q.Set("offset", "0")
q.Set("page_size", "10")
q.Set("institution", "1")
q.Set("resource_doi", "example")
q.Set("modified_since", "example")
q.Set("order_direction", "desc")
q.Set("published_since", "example")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
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/figshare.com/2.0.0/collections")
uri.query = URI.encode_www_form({
"doi" => "example",
"page" => "1",
"group" => "1",
"limit" => "10",
"order" => "published_date",
"handle" => "example",
"offset" => "0",
"page_size" => "10",
"institution" => "1",
"resource_doi" => "example",
"modified_since" => "example",
"order_direction" => "desc",
"published_since" => "example"
})
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/figshare.com/2.0.0/collections?" . http_build_query([
"doi" => "example",
"page" => "1",
"group" => "1",
"limit" => "10",
"order" => "published_date",
"handle" => "example",
"offset" => "0",
"page_size" => "10",
"institution" => "1",
"resource_doi" => "example",
"modified_since" => "example",
"order_direction" => "desc",
"published_since" => "example"
]);
$opts = ["http" => [
"method" => "GET",
]];
$ctx = stream_context_create($opts);
$res = file_get_contents($url, false, $ctx);
print_r(json_decode($res, true));Returns the list of Item Types of the requested group. If no user is authenticated, returns the item types available for Figshare.
Hover any highlighted part to learn what it does
curl -X GET "https://api.apis.guru/v2/specs/figshare.com/2.0.0/item_types?group_id=0"
import requests
params = {
"group_id": "0"
}
response = requests.get(
"https://api.apis.guru/v2/specs/figshare.com/2.0.0/item_types",
params=params,
)
print(response.json())const url = new URL('https://api.apis.guru/v2/specs/figshare.com/2.0.0/item_types');
url.searchParams.set('group_id', '0');
const response = await fetch(url);
const data = await response.json();
console.log(data);package main
import (
"fmt"
"io"
"net/http"
"net/url"
)
func main() {
baseURL, _ := url.Parse("https://api.apis.guru/v2/specs/figshare.com/2.0.0/item_types")
q := baseURL.Query()
q.Set("group_id", "0")
baseURL.RawQuery = q.Encode()
targetURL := baseURL.String()
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/figshare.com/2.0.0/item_types")
uri.query = URI.encode_www_form({
"group_id" => "0"
})
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/figshare.com/2.0.0/item_types?" . http_build_query([
"group_id" => "0"
]);
$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 Figshare API?
Figshare 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. Figshare API is free to use, making it a low-risk choice to experiment with.
New to APIs? Read our beginner's guide