API doc

Artworks

GET /api/arts

Paginated list of artworks (20 per page), with filters on name, a tag, or a geolocated selection. Can also return a random selection.

ParameterDescription
lngResult language ("fr" or "en") (e.g.: fr)
offsetPagination offset (20 results per page) (e.g.: 20)
nameFilter on the artwork's or artist's name
tagFilter on a tag slug
randomPresence of the parameter = random order
geolocationPresence of the parameter = only return geolocated artworks
https://www.urarts.art/api/arts?lng=fr&offset=20

Artists

GET /api/artists

List of artists, with filters on name, gender, nationality, or a period (birth/death years).

ParameterDescription
lngResult language ("fr" or "en") (e.g.: fr)
genderFilter on the artist's gender
nameFilter on first or last name
nationalityCountry slug, or "world" for all countries
yearsPeriod, formatted "start,end" (e.g.: 1800,1900)
https://www.urarts.art/api/artists?lng=fr&gender=Femme

Collection

GET /api/collection

Main entry point for retrieving artworks in a specific context: an artist's or movement's full collection, famous artworks, a historical figure, a tag, or the featured talents' artworks.

ParameterDescription
lngResult language ("fr" or "en") (e.g.: fr)
typeCollection type: "artist", "movement", "famousart", "histocharacters", "tag" or "talentsart" (e.g.: artist)
slugArtist, movement, or tag slug (depending on type)
nameFilter on name (artworks or historical figures)
alonePresence of the parameter = return a single artwork only
idArtwork id (used with "alone")
aloneartistslugRestricts a movement or tag to a single artist
yearsHistorical period, formatted "start,end" (historical figures)
https://www.urarts.art/api/collection?lng=en&type=famousart