Metadata for Public Domain Artwork

A free API that provides structured metadata of selected public domain artworks and their artists.

No sign-in or credit card required. You can get started by generating a free public API key below.

The Cliff Walk at Pourville by Claude Money
The Cliff Walk at Pourville

Generate Your Key

Register your domain to generate a public API key.

hello

Environment Variables

.env
OA_API_PUBLISHABLE_KEY=some_key_here
OA_API_BASE_URL=https://openart.work/api/v1

Configuration

Get started with your first API call. For a comprehensive guide, please refer to the repo documentationExternal link arrow to GitHub .

Authentication

When making a call, include your api key in the request header as x-api-key:

use-artist.ts
const response = await fetch(
    `${import.meta.env.OA_API_BASE_URL}/artists?nationality=French`,
    {
      method: 'GET',
      headers: {
        'Content-Type': 'application/json',
        'x-api-key': import.meta.env.OA_API_PUBLISHABLE_KEY,
      },
    },
);

Rate Limiting

  • 200 requests per 15 minutes
  • After the first 75 requests, a delay of up to 3 seconds per request is applied

Image Licensing

All images served are from the public domain.