Art Search API

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.

Available type

  • 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

Available material

  • 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

Available technique

  • engraving
  • grinding
  • embroidering
  • etching
  • vitrification
  • gilding
  • lithography
  • knitting
  • cyanotype
  • silkscreen
  • woodcut
  • printing
  • drypoint
  • photolithography
  • weaving
  • sawing
  • casting
  • glassblowing
  • block_printing
  • photographing
  • forging
GET
https://api.apileague.com/search-artworks

Parameters

NameExampleDescription
query
s o q
landscape paintingsThe search query.
earliest-start-date
n o q
1750The artwork must have been created after this date.
latest-start-date
n o q
1755The artwork must have been created before this date.
earliest-end-date
n o q
1751For artworks with a period of creation, the completion date must be after this date.
latest-end-date
n o q
1760For artworks with a period of creation, the completion date must be before this date.
min-ratio
n o q
0.8The minimum aspect ratio (width/height) the artwork image must have.
max-ratio
n o q
1.5The maximum aspect ratio (width/height) the artwork image must have.
type
s o q
paintingThe 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
s o q
ivoryThe 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
s o q
etchingThe 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
s o q
ItalyThe country or region of origin for the artwork
offset
n o q
0The number of artworks to skip in range [0,1000]
number
n o q
10The number of artworks to return in range [1,10]
api-key
s r q
abcd1234Your API key.
Example Request and Response
GET
https://api.apileague.com/search-artworks?query=medieval+knights&number=3
{
    "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 Codecurl -X GET 'https://api.apileague.com/search-artworks?query=medieval+knights&number=3' \ -H 'x-api-key: myapikey'

Headers

Response Headers:

  • Content-Type: application/json
  • X-API-Quota-Request: The number of tokens used by the request
  • X-API-Quota-Used: The number of tokens used in total today
  • X-API-Quota-Left: The number of tokens left today (depends on your plan)

Frequently Asked Questions

What criteria can I use to search for artworks?

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.

Does the API support searching by image content or style?

Yes, the natural language search uses semantic AI to understand context, allowing searches for specific styles, subjects, or emotions.

Where does the artwork data come from?

The API is powered by the ArtSearch platform, which aggregates a vast collection of artworks from various periods and styles from around the world.

How is the Art Search API different from the Retrieve Artwork API?

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.

Questions? Need Help? Ask Away

Quotas

Calling this endpoint costs
3 tokens