{
  "openapi": "3.0.1",
  "info": {
    "title": "Adobe Stock Scraper",
    "description": "Adobe Stock scraper that pulls structured metadata from Adobe Stock search results.\nIt collects photos, illustrations, vectors, videos, templates, 3D, and audio. You can filter generative AI assets, sort by relevance, downloads, or newest, and titles,  keywords, download counts, and preview URLs.",
    "version": "0.0",
    "x-build-id": "l1Vcq9vb9930v98Rc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/kawsar~adobe-stock-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-kawsar-adobe-stock-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/kawsar~adobe-stock-scraper/runs": {
      "post": {
        "operationId": "runs-sync-kawsar-adobe-stock-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/kawsar~adobe-stock-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-kawsar-adobe-stock-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",
        "required": [
          "maxItems"
        ],
        "properties": {
          "maxItems": {
            "title": "Maximum items",
            "minimum": 0,
            "maximum": 1000,
            "type": "integer",
            "description": "Maximum number of unique assets to save. Use 0 to keep collecting until Adobe Stock runs out of results for this search. Hard cap per run is 1000 unless you set 0.",
            "default": 100
          },
          "query": {
            "title": "Search query",
            "type": "string",
            "description": "Keyword phrase to search on Adobe Stock, such as people working or mountain landscape. Leave empty for creator-only or broad searches."
          },
          "creatorId": {
            "title": "Creator ID",
            "type": "integer",
            "description": "Optional Adobe Stock creator ID. Use alone to pull that creator's portfolio, or combine with query to search inside the portfolio."
          },
          "assetType": {
            "title": "Asset type",
            "enum": [
              "all",
              "images",
              "videos",
              "templates",
              "3d",
              "photo",
              "illustration",
              "vector",
              "video",
              "template",
              "audio"
            ],
            "type": "string",
            "description": "Type of Adobe Stock asset to return. Grouped options: Images (photo+illustration+vector), Videos, Templates, 3D. Or pick a single subtype.",
            "default": "all"
          },
          "priceFilter": {
            "title": "Price / premium",
            "enum": [
              "all",
              "standard",
              "premium"
            ],
            "type": "string",
            "description": "Filter by Adobe Stock price tier. Standard = non-premium, Premium = premium only. Always sent to the API (fixes pagination).",
            "default": "all"
          },
          "orientation": {
            "title": "Orientation",
            "enum": [
              "all",
              "horizontal",
              "vertical",
              "square"
            ],
            "type": "string",
            "description": "Image/video orientation filter.",
            "default": "all"
          },
          "panoramic": {
            "title": "Panoramic only",
            "type": "boolean",
            "description": "When enabled, return only panoramic assets.",
            "default": false
          },
          "isolated": {
            "title": "Isolated (cutout) only",
            "type": "boolean",
            "description": "When enabled, return only isolated / cutout assets.",
            "default": false
          },
          "transparent": {
            "title": "Transparent background only",
            "type": "boolean",
            "description": "When enabled, return only assets with a transparent background.",
            "default": false
          },
          "copySpace": {
            "title": "Copy space",
            "type": "boolean",
            "description": "When enabled, return assets marked as having copy space.",
            "default": false
          },
          "aiFilter": {
            "title": "Generative AI filter",
            "enum": [
              "all",
              "only",
              "exclude"
            ],
            "type": "string",
            "description": "Filter generative AI (Firefly / gentech) assets: all, only AI, or exclude AI.",
            "default": "all"
          },
          "iconOption": {
            "title": "Icon option",
            "enum": [
              "all",
              "icon_sheet",
              "single_icon"
            ],
            "type": "string",
            "description": "Filter icon assets: all, icon sheets, or single icons.",
            "default": "all"
          },
          "minWidth": {
            "title": "Minimum width (px)",
            "minimum": 1,
            "type": "integer",
            "description": "Minimum asset width in pixels (maps to image_width N-)."
          },
          "minHeight": {
            "title": "Minimum height (px)",
            "minimum": 1,
            "type": "integer",
            "description": "Minimum asset height in pixels (maps to image_height N-)."
          },
          "minMegapixels": {
            "title": "Minimum megapixels",
            "minimum": 0,
            "type": "number",
            "description": "Optional minimum area in megapixels (maps to area_m_pixels N-)."
          },
          "colors": {
            "title": "Colors (hex)",
            "type": "string",
            "description": "Comma-separated hex colors without #, e.g. ff0000 or ff0000,00ff00."
          },
          "order": {
            "title": "Sort order",
            "enum": [
              "relevance",
              "downloads",
              "newest",
              "featured",
              "undiscovered"
            ],
            "type": "string",
            "description": "How to sort Adobe Stock search results.",
            "default": "relevance"
          },
          "timeoutSecs": {
            "title": "Actor timeout (seconds)",
            "minimum": 30,
            "maximum": 3600,
            "type": "integer",
            "description": "Overall run timeout in seconds.",
            "default": 300
          },
          "requestTimeoutSecs": {
            "title": "Request timeout (seconds)",
            "minimum": 5,
            "maximum": 120,
            "type": "integer",
            "description": "Per-request timeout when calling the Adobe Stock search API.",
            "default": 30
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Select proxies to use for requests. Helps avoid IP blocking and rate limits. Datacenter proxies are fastest; Residential proxies are harder to detect."
          }
        }
      },
      "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
                  }
                }
              },
              "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}