/zenodo/records/search
curl --request POST \
--url https://api.anysite.io/api/zenodo/records/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"q": "<string>",
"count": 5000,
"timeout": 300,
"subtype": "<string>",
"communities": "<string>",
"subject": "<string>",
"license": "<string>",
"file_type": "<string>",
"all_versions": false,
"sort": "bestmatch"
}
'import requests
url = "https://api.anysite.io/api/zenodo/records/search"
payload = {
"q": "<string>",
"count": 5000,
"timeout": 300,
"subtype": "<string>",
"communities": "<string>",
"subject": "<string>",
"license": "<string>",
"file_type": "<string>",
"all_versions": False,
"sort": "bestmatch"
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
q: '<string>',
count: 5000,
timeout: 300,
subtype: '<string>',
communities: '<string>',
subject: '<string>',
license: '<string>',
file_type: '<string>',
all_versions: false,
sort: 'bestmatch'
})
};
fetch('https://api.anysite.io/api/zenodo/records/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anysite.io/api/zenodo/records/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'q' => '<string>',
'count' => 5000,
'timeout' => 300,
'subtype' => '<string>',
'communities' => '<string>',
'subject' => '<string>',
'license' => '<string>',
'file_type' => '<string>',
'all_versions' => false,
'sort' => 'bestmatch'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/zenodo/records/search"
payload := strings.NewReader("{\n \"q\": \"<string>\",\n \"count\": 5000,\n \"timeout\": 300,\n \"subtype\": \"<string>\",\n \"communities\": \"<string>\",\n \"subject\": \"<string>\",\n \"license\": \"<string>\",\n \"file_type\": \"<string>\",\n \"all_versions\": false,\n \"sort\": \"bestmatch\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/zenodo/records/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"q\": \"<string>\",\n \"count\": 5000,\n \"timeout\": 300,\n \"subtype\": \"<string>\",\n \"communities\": \"<string>\",\n \"subject\": \"<string>\",\n \"license\": \"<string>\",\n \"file_type\": \"<string>\",\n \"all_versions\": false,\n \"sort\": \"bestmatch\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/zenodo/records/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"q\": \"<string>\",\n \"count\": 5000,\n \"timeout\": 300,\n \"subtype\": \"<string>\",\n \"communities\": \"<string>\",\n \"subject\": \"<string>\",\n \"license\": \"<string>\",\n \"file_type\": \"<string>\",\n \"all_versions\": false,\n \"sort\": \"bestmatch\"\n}"
response = http.request(request)
puts response.read_body[
{
"id": 123,
"url": "<string>",
"@type": "ZenodoRecord",
"doi": "<string>",
"doi_url": "<string>",
"concept_doi": "<string>",
"concept_recid": "<string>",
"swhid": "<string>",
"publication_date": "<string>",
"access_right": "<string>",
"version": "<string>",
"language": "<string>",
"license": "<string>",
"notes": "<string>",
"state": "<string>",
"status": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"resource_type": {
"@type": "ZenodoResourceType",
"type": "<string>",
"subtype": "<string>"
},
"creators": [],
"contributors": [],
"keywords": [],
"subjects": [],
"communities": [],
"grants": [],
"related_identifiers": [],
"references": [],
"dates": [],
"files": [],
"stats": {
"@type": "ZenodoStats",
"downloads": 123,
"unique_downloads": 123,
"views": 123,
"unique_views": 123,
"version_downloads": 123,
"version_unique_downloads": 123,
"version_views": 123,
"version_unique_views": 123
},
"is_latest_version": true,
"version_index": 123
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}/zenodo
/zenodo/records/search
Search Zenodo research records (datasets, software, publications, and more)
Price: 5 credits per 25 results
POST
/
api
/
zenodo
/
records
/
search
/zenodo/records/search
curl --request POST \
--url https://api.anysite.io/api/zenodo/records/search \
--header 'Content-Type: application/json' \
--header 'access-token: <api-key>' \
--data '
{
"q": "<string>",
"count": 5000,
"timeout": 300,
"subtype": "<string>",
"communities": "<string>",
"subject": "<string>",
"license": "<string>",
"file_type": "<string>",
"all_versions": false,
"sort": "bestmatch"
}
'import requests
url = "https://api.anysite.io/api/zenodo/records/search"
payload = {
"q": "<string>",
"count": 5000,
"timeout": 300,
"subtype": "<string>",
"communities": "<string>",
"subject": "<string>",
"license": "<string>",
"file_type": "<string>",
"all_versions": False,
"sort": "bestmatch"
}
headers = {
"access-token": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'access-token': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
q: '<string>',
count: 5000,
timeout: 300,
subtype: '<string>',
communities: '<string>',
subject: '<string>',
license: '<string>',
file_type: '<string>',
all_versions: false,
sort: 'bestmatch'
})
};
fetch('https://api.anysite.io/api/zenodo/records/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.anysite.io/api/zenodo/records/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'q' => '<string>',
'count' => 5000,
'timeout' => 300,
'subtype' => '<string>',
'communities' => '<string>',
'subject' => '<string>',
'license' => '<string>',
'file_type' => '<string>',
'all_versions' => false,
'sort' => 'bestmatch'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"access-token: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.anysite.io/api/zenodo/records/search"
payload := strings.NewReader("{\n \"q\": \"<string>\",\n \"count\": 5000,\n \"timeout\": 300,\n \"subtype\": \"<string>\",\n \"communities\": \"<string>\",\n \"subject\": \"<string>\",\n \"license\": \"<string>\",\n \"file_type\": \"<string>\",\n \"all_versions\": false,\n \"sort\": \"bestmatch\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("access-token", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.anysite.io/api/zenodo/records/search")
.header("access-token", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"q\": \"<string>\",\n \"count\": 5000,\n \"timeout\": 300,\n \"subtype\": \"<string>\",\n \"communities\": \"<string>\",\n \"subject\": \"<string>\",\n \"license\": \"<string>\",\n \"file_type\": \"<string>\",\n \"all_versions\": false,\n \"sort\": \"bestmatch\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.anysite.io/api/zenodo/records/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["access-token"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"q\": \"<string>\",\n \"count\": 5000,\n \"timeout\": 300,\n \"subtype\": \"<string>\",\n \"communities\": \"<string>\",\n \"subject\": \"<string>\",\n \"license\": \"<string>\",\n \"file_type\": \"<string>\",\n \"all_versions\": false,\n \"sort\": \"bestmatch\"\n}"
response = http.request(request)
puts response.read_body[
{
"id": 123,
"url": "<string>",
"@type": "ZenodoRecord",
"doi": "<string>",
"doi_url": "<string>",
"concept_doi": "<string>",
"concept_recid": "<string>",
"swhid": "<string>",
"publication_date": "<string>",
"access_right": "<string>",
"version": "<string>",
"language": "<string>",
"license": "<string>",
"notes": "<string>",
"state": "<string>",
"status": "<string>",
"created_at": "<string>",
"updated_at": "<string>",
"resource_type": {
"@type": "ZenodoResourceType",
"type": "<string>",
"subtype": "<string>"
},
"creators": [],
"contributors": [],
"keywords": [],
"subjects": [],
"communities": [],
"grants": [],
"related_identifiers": [],
"references": [],
"dates": [],
"files": [],
"stats": {
"@type": "ZenodoStats",
"downloads": 123,
"unique_downloads": 123,
"views": 123,
"unique_views": 123,
"version_downloads": 123,
"version_unique_downloads": 123,
"version_views": 123,
"version_unique_views": 123
},
"is_latest_version": true,
"version_index": 123
}
]{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Authorizations
API token from the dashboard
Headers
Body
application/json
Minimum string length:
1Required range:
1 <= x <= 10000Required range:
20 <= x <= 1500Available options:
publication, dataset, software, image, presentation, poster, video, model, lesson, other Available options:
open, restricted, embargoed, metadata-only, closed Available options:
bestmatch, mostrecent, mostviewed, version Response
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
⌘I