Search and filter artworks by query, creation time, material, technique, and origin. The natural language search uses semantic AI to understand the context of your query, so you can search for artworks by their style, subject, or even emotions they evoke. The API returns a list of artworks matching the given criteria.
This API is powered by the ArtSearch platform, which provides a vast collection of artworks from various periods and styles.
typematerialtechnique| Name | Example | Description |
|---|---|---|
query | landscape paintings | The search query. |
earliest-start-date | 1750 | The artwork must have been created after this date. |
latest-start-date | 1755 | The artwork must have been created before this date. |
earliest-end-date | 1751 | For artworks with a period of creation, the completion date must be after this date. |
latest-end-date | 1760 | For artworks with a period of creation, the completion date must be before this date. |
min-ratio | 0.8 | The minimum aspect ratio (width/height) the artwork image must have. |
max-ratio | 1.5 | The maximum aspect ratio (width/height) the artwork image must have. |
type | painting | The artwork type. Possible values are tapestry, collotype, collage, printmaking, cutting, digital_art, sculpture, metalwork, fragment, token, embroidery, painting, jewellery, print, ornament, photograph, statuette, furniture, needlework, drawing, miniature, tile, stereograph, calligraphy. |
material | ivory | The art material used. Possible values are ferrous_lactate, ink, textile, metal, bronze, canvas, stone, reduced_iron, horn, stoneware, in_shell_walnuts, chalk, velvet, silver, charcoal, gold_leaf, candied_walnuts, porcelain, walnut_halves, jade, cotton, paint, ferrous_fumarate, graphite, cobalt, sandstone, plastic, walnut_pieces, clay, walnuts, cupric_sulfate, ivory, ferric_orthophosphate, earthenware, tin, pen, linen, mahogany, electrolytic_iron, silk, crayon, black_walnuts, brush, beech_wood, terracotta, glass, lead, brass, oil_paint, pencil, leather, gold, marble, watercolor, diamond, iron, ferrous_sulfate, walnut_halves_and_pieces, gouache, wool, ceramic, parchment, cork, limestone, copper_gluconate, paper, pastel, copper, cardboard, plant_material, oak, wood. |
technique | etching | The art technique used. Possible values are engraving, grinding, embroidering, etching, vitrification, gilding, lithography, knitting, cyanotype, silkscreen, woodcut, printing, drypoint, photolithography, weaving, sawing, casting, glassblowing, block_printing, photographing, forging. |
origin | Italy | The country or region of origin for the artwork |
offset | 0 | The number of artworks to skip in range [0,1000] |
number | 10 | The number of artworks to return in range [1,10] |
api-key | abcd1234 | Your API key. |
{
"available": 993,
"number": 3,
"offset": 0,
"artworks": [
{
"id": 25623857,
"title": "Knightly Sword",
"image": "https://img.apileague.com/artworks/knightly_sword_unknown23_1450.jpg"
},
{
"id": 25426886,
"title": "Sculpture of a Kneeling Knight or King",
"image": "https://img.apileague.com/artworks/sculpture_of_a_kneeling_knight_or_king_unknown383_1250.jpg"
},
{
"id": 25934005,
"title": "A Knight in Armor",
"image": "https://img.apileague.com/artworks/a_knight_in_armor_unknown32_1907.jpg"
}
]
} Copy Code
curl -X GET 'https://api.apileague.com/search-artworks?query=medieval+knights&number=3' \ -H 'x-api-key: myapikey'
Response Headers:
Content-Type: application/jsonX-API-Quota-Request: The number of tokens used by the requestX-API-Quota-Used: The number of tokens used in total todayX-API-Quota-Left: The number of tokens left today (depends on your plan)You can search by query, creation time, material, technique, and origin. The API also supports semantic search to find artworks by style, subject, or emotion.
Yes, the natural language search uses semantic AI to understand context, allowing searches for specific styles, subjects, or emotions.
The API is powered by the ArtSearch platform, which aggregates a vast collection of artworks from various periods and styles from around the world.
The Art Search API allows you to search for artworks using natural language queries and filters, while the Retrieve Artwork API is designed to get details about a specific artwork if you already know its ID.