{
  "openapi": "3.0.1",
  "info": {
    "title": "Adobe Stock Scraper",
    "description": "Adobe Stock Scraper: Scrape Adobe Stock search results, contributor portfolios and asset IDs: title, keywords, contributor, size, category, downloads, AI flag, license prices and previews for photos, vectors, illustrations, videos, templates, 3D and audio.",
    "version": "0.1",
    "x-build-id": "xbaT6SU0sewdJJRQc"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automly~adobe-stock-scraper/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automly-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/automly~adobe-stock-scraper/runs": {
      "post": {
        "operationId": "runs-sync-automly-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/automly~adobe-stock-scraper/run-sync": {
      "post": {
        "operationId": "run-sync-automly-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",
        "properties": {
          "searchQueries": {
            "title": "Search words",
            "type": "array",
            "description": "What to search Adobe Stock for, one search per line, e.g. mountain lake, business meeting, christmas background. Each search uses the content type, sort order and filters below.",
            "items": {
              "type": "string"
            }
          },
          "contentType": {
            "title": "Content type",
            "enum": [
              "all",
              "images",
              "photos",
              "illustrations",
              "vectors",
              "videos",
              "templates",
              "3d",
              "audio"
            ],
            "type": "string",
            "description": "Which kind of assets to get, e.g. Vectors. All gives every kind the chosen filters apply to.",
            "default": "all"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "newest",
              "downloads",
              "featured",
              "undiscovered",
              "popular"
            ],
            "type": "string",
            "description": "The order Adobe Stock lists the results in, e.g. Newest.",
            "default": "relevance"
          },
          "maxItems": {
            "title": "Max results per search or contributor",
            "minimum": 0,
            "type": "integer",
            "description": "How many assets to save for each search and each contributor, e.g. 500. Set 0 for everything: up to 10,000 per search as Adobe Stock shows them, and more for broad searches, which are split into smaller ones automatically.",
            "default": 100
          },
          "orientation": {
            "title": "Orientation",
            "enum": [
              "all",
              "horizontal",
              "vertical",
              "square",
              "panoramic"
            ],
            "type": "string",
            "description": "Shape of the asset, e.g. Vertical. Applies to images, videos and templates.",
            "default": "all"
          },
          "priceLevel": {
            "title": "License level",
            "enum": [
              "all",
              "free",
              "standard",
              "premium"
            ],
            "type": "string",
            "description": "Free assets, standard ones (paid with plan credits) or premium ones, e.g. Free.",
            "default": "all"
          },
          "generativeAi": {
            "title": "Generative AI",
            "enum": [
              "all",
              "only",
              "exclude"
            ],
            "type": "string",
            "description": "Keep or leave out assets made with generative AI, e.g. Exclude AI-generated. Applies to images and videos.",
            "default": "all"
          },
          "people": {
            "title": "People",
            "enum": [
              "all",
              "with",
              "without"
            ],
            "type": "string",
            "description": "Assets that show people or none, e.g. Without people. Applies to images and videos.",
            "default": "all"
          },
          "usageRights": {
            "title": "Usage",
            "enum": [
              "all",
              "commercial",
              "editorial"
            ],
            "type": "string",
            "description": "Commercial or editorial-only assets, e.g. Commercial use. Applies to images.",
            "default": "all"
          },
          "color": {
            "title": "Color",
            "pattern": "^$|^#?([0-9a-fA-F]{3}|[0-9a-fA-F]{6})$",
            "type": "string",
            "description": "A main color as a hex code, e.g. #1e90ff. Applies to images and videos."
          },
          "transparentOnly": {
            "title": "Transparent background only",
            "type": "boolean",
            "description": "Only images and vectors with a transparent background.",
            "default": false
          },
          "isolatedOnly": {
            "title": "Isolated only",
            "type": "boolean",
            "description": "Only cut-out subjects on a plain background (images and videos).",
            "default": false
          },
          "copySpaceOnly": {
            "title": "Copy space only",
            "type": "boolean",
            "description": "Only images with empty space for your text.",
            "default": false
          },
          "contributors": {
            "title": "Contributors",
            "type": "array",
            "description": "Contributor IDs or portfolio links, one per line, e.g. 206104132 or https://stock.adobe.com/contributor/206104132/john-wijsman. Gets the contributor's assets (content type, license level, AI, orientation and transparency apply).",
            "items": {
              "type": "string"
            }
          },
          "portfolioQuery": {
            "title": "Search within portfolios",
            "type": "string",
            "description": "Optional words to search for inside each contributor's portfolio, e.g. lake."
          },
          "assetIds": {
            "title": "Asset IDs or links",
            "type": "array",
            "description": "Adobe Stock asset IDs or links, one per line, e.g. 180500644 or https://stock.adobe.com/images/trees-on-the-shore-of-a-blue-lake/180500644. Gets each asset's full record.",
            "items": {
              "type": "string"
            }
          },
          "proxyConfiguration": {
            "title": "Proxy configuration",
            "type": "object",
            "description": "Leave the default.",
            "default": {
              "useApifyProxy": true
            }
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}