{
  "openapi": "3.0.1",
  "info": {
    "title": "Public Domain Art Finder: Is This Painting Free to Use?",
    "description": "Is this artwork public domain? Get a reuse verdict for the EU, UK, Ireland, US, Japan and Mexico, the image licence, an attribution line and the full-size image link, from CC0 museum APIs (Met, Chicago, Cleveland, SMK) and Wikidata. Plus a reusable-art search. Not legal advice.",
    "version": "1.0",
    "x-build-id": "XUIJZ1pRfq65gAQdP"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/wooden_scanner_c1n~artwork-reuse-checker/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-wooden_scanner_c1n-artwork-reuse-checker",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for its completion, and returns Actor's dataset items in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    },
    "/acts/wooden_scanner_c1n~artwork-reuse-checker/runs": {
      "post": {
        "operationId": "runs-sync-wooden_scanner_c1n-artwork-reuse-checker",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor and returns information about the initiated run in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/runsResponseSchema"
                }
              }
            }
          }
        }
      }
    },
    "/acts/wooden_scanner_c1n~artwork-reuse-checker/run-sync": {
      "post": {
        "operationId": "run-sync-wooden_scanner_c1n-artwork-reuse-checker",
        "x-openai-isConsequential": false,
        "summary": "Executes an Actor, waits for completion, and returns the OUTPUT from Key-value store in response.",
        "tags": [
          "Run Actor"
        ],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/inputSchema"
              }
            }
          }
        },
        "parameters": [
          {
            "name": "token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Enter your Apify token here"
          }
        ],
        "responses": {
          "200": {
            "description": "OK"
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "inputSchema": {
        "type": "object",
        "properties": {
          "mode": {
            "title": "Mode",
            "enum": [
              "check",
              "search"
            ],
            "type": "string",
            "description": "'check' gives a reuse verdict for each artwork you list. 'search' finds openly licensed artworks matching a keyword across the museums (CC0 masterpiece finder).",
            "default": "check"
          },
          "artworks": {
            "title": "Artworks to check",
            "type": "array",
            "description": "One per line. Accepted: museum object URLs or IDs (Met: met:436535, Art Institute of Chicago: aic:27992, Cleveland: cma:1953.424, SMK Denmark: smk:KMS1), a Wikimedia Commons file URL or 'File:Name.jpg', a Wikidata artwork ID (Q12418), or free text like 'Mona Lisa by Leonardo da Vinci'. Max 500 per run.",
            "default": [
              "https://www.metmuseum.org/art/collection/search/436535",
              "aic:27992",
              "cma:1945.24",
              "smk:KMS1"
            ],
            "items": {
              "type": "string"
            }
          },
          "jurisdictions": {
            "title": "Regions to check",
            "type": "array",
            "description": "Where you plan to sell or publish. The verdict only says REUSE_OK when the work is public domain in every region listed.",
            "items": {
              "type": "string",
              "enum": [
                "EU",
                "UK",
                "IE",
                "US",
                "JP",
                "MX"
              ],
              "enumTitles": [
                "European Union",
                "United Kingdom",
                "Ireland",
                "United States",
                "Japan",
                "Mexico"
              ]
            },
            "default": [
              "EU",
              "UK",
              "IE",
              "US",
              "JP",
              "MX"
            ]
          },
          "crossCheckWikidata": {
            "title": "Cross-check artist death year on Wikidata",
            "type": "boolean",
            "description": "Fill in or verify the artist's death year from Wikidata when the museum links the artist. Disagreements lower the confidence and are listed in reasons.",
            "default": true
          },
          "includeAlternatives": {
            "title": "Show alternative matches for free-text queries",
            "type": "boolean",
            "description": "For 'Title by Artist' queries, list the next best candidates so you can confirm the right work.",
            "default": true
          },
          "searchQuery": {
            "title": "Search keyword (search mode)",
            "type": "string",
            "description": "Subject, title or artist, e.g. 'sunflowers', 'Hokusai', 'botanical'. Used only in search mode."
          },
          "museums": {
            "title": "Museums to search (search mode)",
            "type": "array",
            "description": "Which museum collections to search. Results are interleaved across them.",
            "items": {
              "type": "string",
              "enum": [
                "met",
                "aic",
                "cma",
                "smk"
              ],
              "enumTitles": [
                "The Met (New York)",
                "Art Institute of Chicago",
                "Cleveland Museum of Art",
                "SMK (Copenhagen)"
              ]
            },
            "default": [
              "met",
              "aic",
              "cma",
              "smk"
            ]
          },
          "onlyReusable": {
            "title": "Only openly licensed images (search mode)",
            "type": "boolean",
            "description": "Keep only works whose image the museum releases as CC0 or Public Domain Mark.",
            "default": true
          },
          "orientation": {
            "title": "Orientation (search mode)",
            "enum": [
              "any",
              "landscape",
              "portrait",
              "square"
            ],
            "type": "string",
            "description": "Keep only landscape, portrait or square works (from image pixels, or physical size for The Met).",
            "default": "any"
          },
          "minLongEdgePx": {
            "title": "Minimum long edge in pixels (search mode)",
            "minimum": 0,
            "maximum": 20000,
            "type": "integer",
            "description": "e.g. 4961 for A3 at 300 dpi, 7016 for A2. 0 = no filter. The Met does not publish pixel sizes, so Met results are left out when this is set.",
            "default": 0
          },
          "maxResults": {
            "title": "Max results (search mode)",
            "minimum": 1,
            "maximum": 200,
            "type": "integer",
            "description": "Results are interleaved across museums. You pay per result.",
            "default": 20
          }
        }
      },
      "runsResponseSchema": {
        "type": "object",
        "properties": {
          "data": {
            "type": "object",
            "properties": {
              "id": {
                "type": "string"
              },
              "actId": {
                "type": "string"
              },
              "userId": {
                "type": "string"
              },
              "startedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "finishedAt": {
                "type": "string",
                "format": "date-time",
                "example": "2025-01-08T00:00:00.000Z"
              },
              "status": {
                "type": "string",
                "example": "READY"
              },
              "meta": {
                "type": "object",
                "properties": {
                  "origin": {
                    "type": "string",
                    "example": "API"
                  },
                  "userAgent": {
                    "type": "string"
                  }
                }
              },
              "stats": {
                "type": "object",
                "properties": {
                  "inputBodyLen": {
                    "type": "integer",
                    "example": 2000
                  },
                  "rebootCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "restartCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "resurrectCount": {
                    "type": "integer",
                    "example": 0
                  },
                  "computeUnits": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "options": {
                "type": "object",
                "properties": {
                  "build": {
                    "type": "string",
                    "example": "latest"
                  },
                  "timeoutSecs": {
                    "type": "integer",
                    "example": 300
                  },
                  "memoryMbytes": {
                    "type": "integer",
                    "example": 1024
                  },
                  "diskMbytes": {
                    "type": "integer",
                    "example": 2048
                  }
                }
              },
              "buildId": {
                "type": "string"
              },
              "defaultKeyValueStoreId": {
                "type": "string"
              },
              "defaultDatasetId": {
                "type": "string"
              },
              "defaultRequestQueueId": {
                "type": "string"
              },
              "buildNumber": {
                "type": "string",
                "example": "1.0.0"
              },
              "containerUrl": {
                "type": "string"
              },
              "usage": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "integer",
                    "example": 1
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              },
              "usageTotalUsd": {
                "type": "number",
                "example": 0.00005
              },
              "usageUsd": {
                "type": "object",
                "properties": {
                  "ACTOR_COMPUTE_UNITS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATASET_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "KEY_VALUE_STORE_WRITES": {
                    "type": "number",
                    "example": 0.00005
                  },
                  "KEY_VALUE_STORE_LISTS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_READS": {
                    "type": "integer",
                    "example": 0
                  },
                  "REQUEST_QUEUE_WRITES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_INTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "DATA_TRANSFER_EXTERNAL_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_RESIDENTIAL_TRANSFER_GBYTES": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_SERPS": {
                    "type": "integer",
                    "example": 0
                  },
                  "PROXY_UNBLOCKER_UNITS": {
                    "type": "integer",
                    "example": 0
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}