curl --request GET \
--url https://venivididavinci.com/api/v1/random \
--header 'X-API-Key: <api-key>'import requests
url = "https://venivididavinci.com/api/v1/random"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://venivididavinci.com/api/v1/random', 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://venivididavinci.com/api/v1/random",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <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"
"net/http"
"io"
)
func main() {
url := "https://venivididavinci.com/api/v1/random"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://venivididavinci.com/api/v1/random")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://venivididavinci.com/api/v1/random")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"slug": "ambrosiana-drawings",
"index": 123,
"folios": [
"<string>"
],
"image": {
"thumbnail": "<string>",
"medium": "<string>",
"highRes": "https://codex.venivididavinci.com/codices/codex-arundel/highres/001_ff.-14v-1r.jpg"
},
"transcriptions": [
{
"folio": "<string>",
"hasText": true,
"texts": [
{
"title": "<string>",
"text": "<string>"
}
]
}
],
"enrichment": {
"title": "<string>",
"subjects": [
"geometry"
],
"summary": "<string>",
"kind": "leaf",
"source": "transcribed",
"items": [
{
"subject": "geometry",
"heading": "The balance a b c and the seat of equality",
"excerpt": "<string>",
"evidence": "text:2",
"region": "balance diagrams, upper right"
}
],
"english": [
{
"order": 123,
"textEN": "<string>",
"titleEN": "<string>"
}
],
"subtitle": "<string>"
},
"url": "<string>",
"attribution": "Reader's Edition — venivididavinci.com/codex/codex-flight-of-birds/6",
"label": "f. 3r",
"kind": "leaf"
}{
"error": {
"code": "not_found",
"message": "<string>"
}
}{
"error": {
"code": "rate_limited",
"message": "Anonymous limit is 60 requests/hour. Pass an X-API-Key header for more."
}
}Get a random page
One random enriched page, optionally constrained to a subject and/or a collection. Returns the same full record as GET /folios/{slug}/{index}. Ideal for “page of the day” features.
curl --request GET \
--url https://venivididavinci.com/api/v1/random \
--header 'X-API-Key: <api-key>'import requests
url = "https://venivididavinci.com/api/v1/random"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://venivididavinci.com/api/v1/random', 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://venivididavinci.com/api/v1/random",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <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"
"net/http"
"io"
)
func main() {
url := "https://venivididavinci.com/api/v1/random"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://venivididavinci.com/api/v1/random")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://venivididavinci.com/api/v1/random")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"slug": "ambrosiana-drawings",
"index": 123,
"folios": [
"<string>"
],
"image": {
"thumbnail": "<string>",
"medium": "<string>",
"highRes": "https://codex.venivididavinci.com/codices/codex-arundel/highres/001_ff.-14v-1r.jpg"
},
"transcriptions": [
{
"folio": "<string>",
"hasText": true,
"texts": [
{
"title": "<string>",
"text": "<string>"
}
]
}
],
"enrichment": {
"title": "<string>",
"subjects": [
"geometry"
],
"summary": "<string>",
"kind": "leaf",
"source": "transcribed",
"items": [
{
"subject": "geometry",
"heading": "The balance a b c and the seat of equality",
"excerpt": "<string>",
"evidence": "text:2",
"region": "balance diagrams, upper right"
}
],
"english": [
{
"order": 123,
"textEN": "<string>",
"titleEN": "<string>"
}
],
"subtitle": "<string>"
},
"url": "<string>",
"attribution": "Reader's Edition — venivididavinci.com/codex/codex-flight-of-birds/6",
"label": "f. 3r",
"kind": "leaf"
}{
"error": {
"code": "not_found",
"message": "<string>"
}
}{
"error": {
"code": "rate_limited",
"message": "Anonymous limit is 60 requests/hour. Pass an X-API-Key header for more."
}
}Authorizations
Optional — raises your rate limit. Patron keys get the highest tier.
Query Parameters
One of the 25 frozen subject terms.
geometry, arithmetic-and-proportion, physics-and-mechanics, hydraulics, anatomy, geology, astronomy, optics-and-light, botany, flight, machines-and-devices, weapons-and-fortification, architecture, civil-engineering, painting-and-perspective, figure-studies, sculpture-and-casting, horses-and-animals, landscape, cartography, ornament-and-heraldry, lists-and-accounts, language-and-latin, personal-notes, fables-and-prose One of the 28 enriched collections.
ambrosiana-drawings, codex-arundel, codex-atlanticus, codex-flight-of-birds, codex-forster-i, codex-forster-ii, codex-forster-iii, codex-madrid-i, codex-madrid-ii, codex-urbinas, paris-ashburnham-a, paris-ashburnham-b, paris-ms-a, paris-ms-b, paris-ms-c, paris-ms-d, paris-ms-e, paris-ms-f, paris-ms-g, paris-ms-h, paris-ms-i, paris-ms-k, paris-ms-l, paris-ms-m, turin-drawings, uffizi-drawings, usa-collection-drawings, venice-accademia-drawings Response
A random folio record.
The complete record for one manuscript page.
One of the 28 enriched collections.
ambrosiana-drawings, codex-arundel, codex-atlanticus, codex-flight-of-birds, codex-forster-i, codex-forster-ii, codex-forster-iii, codex-madrid-i, codex-madrid-ii, codex-urbinas, paris-ashburnham-a, paris-ashburnham-b, paris-ms-a, paris-ms-b, paris-ms-c, paris-ms-d, paris-ms-e, paris-ms-f, paris-ms-g, paris-ms-h, paris-ms-i, paris-ms-k, paris-ms-l, paris-ms-m, turin-drawings, uffizi-drawings, usa-collection-drawings, venice-accademia-drawings Canonical folios this image carries in reading order, encoded <number>|<side>, e.g. ["3|r"]; an Arundel opening carries two.
Public scan URLs in three sizes, served from the CDN.
Show child attributes
Show child attributes
Original e-Leo transcriptions on this image (empty when none survives).
Show child attributes
Show child attributes
Reader's Edition record; null for the few pages outside enrichment scope.
Show child attributes
Show child attributes
The page on venivididavinci.com — link here when you reproduce content.
Ready-made credit line.
"Reader's Edition — venivididavinci.com/codex/codex-flight-of-birds/6"
"f. 3r"
variant marks a spectral re-shoot (UV / transmitted light) of a sheet already in the set.
leaf, variant