{
  "openapi": "3.0.1",
  "info": {
    "title": "Artsper.com Artist, Artwork & Gallery Scraper",
    "description": "Artsper.com artworks for sale (the whole catalog in minutes) and sold, artist profiles with rollup stats, and galleries. Filter by category, country, EUR price and keyword; delta mode flags newly sold works.",
    "version": "0.1",
    "x-build-id": "Hqiqu7UXAtt5wQlOA"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/artsiom_k~artsper-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-artsiom_k-artsper-scraper",
        "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/artsiom_k~artsper-scraper/runs": {
      "post": {
        "operationId": "runs-sync-artsiom_k-artsper-scraper",
        "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/artsiom_k~artsper-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-artsiom_k-artsper-scraper",
        "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": {
          "entityType": {
            "title": "Entity type",
            "enum": [
              "artworks",
              "artists",
              "galleries"
            ],
            "type": "string",
            "description": "Scrape artworks, artist profiles or galleries. Each produces a different output shape (see the Output tab's views).",
            "default": "artworks"
          },
          "availability": {
            "title": "Availability (artworks)",
            "enum": [
              "forSale",
              "sold",
              "all"
            ],
            "type": "string",
            "description": "Which artworks to return.\n\n• For sale (fast): every artwork currently for sale, read from Artsper's own search index, 1,000 per request. The whole catalog (~205,000) takes a few minutes.\n\n• Sold (slow): sold artworks. Artsper shows them only on each artist's catalog page, read one page (60 works) every 2 seconds. Fast with an Artist URL list; across the whole site it means reading every artist's catalog, which takes many hours, so set Max results or use the Artist URL list.\n\n• All (slow): both of the above.\n\nTip: a scheduled For sale run in incremental mode also reports artworks that sold since the previous run (change_type \"changed\", availability_status \"SoldOut\").",
            "default": "forSale"
          },
          "categories": {
            "title": "Categories (artworks)",
            "type": "array",
            "description": "Only artworks in these categories. Leave empty for all.",
            "items": {
              "type": "string",
              "enum": [
                "painting",
                "print",
                "photography",
                "sculpture",
                "drawing",
                "design"
              ],
              "enumTitles": [
                "Painting",
                "Print",
                "Photography",
                "Sculpture",
                "Drawing",
                "Design"
              ]
            }
          },
          "countries": {
            "title": "Artwork location countries (artworks)",
            "type": "array",
            "description": "Two-letter country codes (e.g. FR, US, DE): only artworks Artsper lists in these countries. Applies to artworks from the search index; sold works read from artist catalogs can't be filtered by country.",
            "items": {
              "type": "string"
            }
          },
          "minPrice": {
            "title": "Minimum price in EUR (artworks)",
            "minimum": 0,
            "type": "integer",
            "description": "Only artworks priced at or above this, in euros."
          },
          "maxPrice": {
            "title": "Maximum price in EUR (artworks)",
            "minimum": 0,
            "type": "integer",
            "description": "Only artworks priced at or below this, in euros."
          },
          "keyword": {
            "title": "Keyword (artworks)",
            "type": "string",
            "description": "Artsper's own site search (title, artist, medium, ...). Applies to artworks from the search index; sold works read from artist catalogs can't be filtered by keyword."
          },
          "includeDetails": {
            "title": "Include detail-page fields (artworks)",
            "type": "boolean",
            "description": "Also open each artwork's page for condition, signature and authenticity (and, for sold works, medium, surface and dimensions). Much slower: one page per artwork, 12 at a time through the proxy below.",
            "default": false
          },
          "artistUrls": {
            "title": "Artist URL list",
            "type": "array",
            "description": "Paste specific Artsper artist URLs, one per line. With entityType \"artists\": scrape exactly these artists (checked against the artist sitemap first unless verifyArtistUrls is off). With entityType \"artworks\": only these artists' artworks; this is the fast way to get sold works. Each list gets its own tracking scope, so re-running it on a schedule gives real new/changed/delisted detection.",
            "items": {
              "type": "string"
            }
          },
          "verifyArtistUrls": {
            "title": "Verify artist URL list against sitemap (artists)",
            "type": "boolean",
            "description": "When artistUrls is set on an artists run, check each URL against the real artist sitemap before scraping (one full sitemap walk, roughly a minute) and skip any not found. Turn off to scrape the list as given.",
            "default": true
          },
          "startUrls": {
            "title": "Start URLs",
            "type": "array",
            "description": "Optional list of specific Artsper artist or artwork URLs, or a category/search catalog URL (e.g. https://www.artsper.com/fr/oeuvres-d-art-contemporain/peinture), scraped page by page instead of using the search index — use whichever kind matches entityType. Availability and the filters above are then ignored. A catalog URL is paginated to completion but is never treated as a full, delisting-aware scan; the unfiltered catalog also self-caps at 100 pages.",
            "items": {
              "type": "string"
            }
          },
          "maxItems": {
            "title": "Max results",
            "minimum": 1,
            "type": "integer",
            "description": "Stop after pushing this many dataset items. Defaults to 50 — a fast, cheap preview, and what keeps an unconfigured run within Apify's automated 5-minute QA check. Clear it (set to null) for everything: ~205,000 artworks for sale, the full artist directory, or every gallery.",
            "default": 50
          },
          "mode": {
            "title": "Incremental mode",
            "enum": [
              "auto",
              "full",
              "incremental"
            ],
            "type": "string",
            "description": "\"auto\" (recommended): full scan on the first run for a given entityType/filter set, incremental (new/changed only) afterwards. \"full\": always push every item and refresh the baseline. \"incremental\": always push only new/changed items. Delistings and sales are detected only by complete runs (Max results cleared, no startUrls).",
            "default": "auto"
          },
          "impersonate": {
            "title": "TLS impersonation target",
            "type": "string",
            "description": "curl_cffi browser TLS-impersonation target. Artsper.com's Cloudflare protection challenges plain (non-impersonated) requests, so this defaults to \"chrome\" internally — override only if that stops working."
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Proxy for artwork detail pages, used only with includeDetails, startUrls, or to check artworks that disappeared since the last run. The default, Apify Residential, sends every page through a different IP, so 12 pages are fetched at a time without hitting Artsper's rate limit. Proxy traffic is included in the price. Turn it off to fetch directly: slower (one page every 2 seconds), same results. The search index, artist catalogs and galleries are always fetched directly.",
            "default": {
              "useApifyProxy": true,
              "apifyProxyGroups": [
                "RESIDENTIAL"
              ]
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}