{
  "openapi": "3.0.1",
  "info": {
    "title": "Adobe Stock Search Metadata Scraper",
    "description": "Search Adobe Stock by keyword, search URL, contributor or asset ID. Get titles, keywords, contributors, dimensions, previews, generative-AI flag, downloads, views and rank, with an optional weekly change feed. No login or proxy.",
    "version": "0.1",
    "x-build-id": "Lje7lbG5L9SbZJQbj"
  },
  "servers": [
    {
      "url": "https://api.apify.com/v2"
    }
  ],
  "paths": {
    "/acts/automation-lab~adobe-stock-search-metadata/run-sync-get-dataset-items": {
      "post": {
        "operationId": "run-sync-get-dataset-items-automation-lab-adobe-stock-search-metadata",
        "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/automation-lab~adobe-stock-search-metadata/runs": {
      "post": {
        "operationId": "runs-sync-automation-lab-adobe-stock-search-metadata",
        "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/automation-lab~adobe-stock-search-metadata/run-sync": {
      "post": {
        "operationId": "run-sync-automation-lab-adobe-stock-search-metadata",
        "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": {
          "searchTerms": {
            "title": "Search keywords",
            "type": "array",
            "description": "Keywords to search on Adobe Stock, one search per line, as you would type them in the Adobe Stock search box. Each keyword is a separate search and gets up to 'Maximum results per search' assets. Adobe Stock's own relevance matching applies (it is not an exact-phrase filter). The asset type, AI content, sort, orientation and locale options below apply to every keyword.",
            "items": {
              "type": "string"
            }
          },
          "startUrls": {
            "title": "Adobe Stock URLs",
            "type": "array",
            "description": "Public stock.adobe.com URLs. Supported: search URLs (https://stock.adobe.com/search?k=cat, /search/images, /search/video, /search/templates, /search/3d-assets), contributor portfolio URLs (https://stock.adobe.com/contributor/206797724/alex) and single asset URLs that end in the asset ID. Filters written in a search URL (content type, generative AI, order, orientation) and a language prefix such as /de/ override the options below for that URL only; options the URL does not set fall back to the options below.",
            "items": {
              "type": "string"
            }
          },
          "creatorIds": {
            "title": "Contributor IDs or URLs",
            "type": "array",
            "description": "Adobe Stock contributor (creator) IDs or contributor URLs. Each contributor is one search over their public portfolio, filtered and sorted by the options below. Combine with 'Sort by: Most downloaded' to see a portfolio's best sellers.",
            "items": {
              "type": "string"
            }
          },
          "assetIds": {
            "title": "Asset IDs",
            "type": "array",
            "description": "Numeric Adobe Stock asset IDs (or asset URLs) to look up directly, for example to track the downloads and views of your own or competing assets each week. All IDs are fetched in one lookup; 'Maximum results per search' caps how many are returned. Asset type, AI, sort and orientation options do not apply to this lookup.",
            "items": {
              "type": "string"
            }
          },
          "assetTypes": {
            "title": "Asset types",
            "type": "array",
            "description": "Only return these asset types. Leave empty for all types. Applies to keyword, contributor and search-URL searches (a URL's own content-type filter takes precedence). Several types are combined with OR.",
            "items": {
              "type": "string",
              "enum": [
                "photo",
                "illustration",
                "vector",
                "video",
                "template",
                "3d"
              ],
              "enumTitles": [
                "Photos",
                "Illustrations",
                "Vectors",
                "Videos",
                "Templates",
                "3D assets"
              ]
            },
            "default": []
          },
          "aiContent": {
            "title": "Generative AI content",
            "enum": [
              "all",
              "exclude",
              "only"
            ],
            "type": "string",
            "description": "Include all assets, exclude assets Adobe Stock marks as created with generative AI, or return only those. Uses Adobe Stock's own generative-AI filter. Applies to every search; ignored for the asset-ID lookup.",
            "default": "all"
          },
          "sortBy": {
            "title": "Sort by",
            "enum": [
              "relevance",
              "creation",
              "featured",
              "nb_downloads",
              "undiscovered"
            ],
            "type": "string",
            "description": "Result order as offered by Adobe Stock: relevance, newest uploads, featured, most downloaded, or undiscovered (high quality with few downloads). The 'position' output field is the rank in this order.",
            "default": "relevance"
          },
          "orientation": {
            "title": "Orientation",
            "enum": [
              "all",
              "horizontal",
              "vertical",
              "square",
              "panoramic"
            ],
            "type": "string",
            "description": "Only return assets with this orientation (Adobe Stock's orientation filter). 'All' applies no filter.",
            "default": "all"
          },
          "locale": {
            "title": "Locale",
            "type": "string",
            "description": "Language and region code for keyword matching and for the language of titles, categories and keywords in the results, for example en_US, de_DE, fr_FR or ja_JP.",
            "default": "en_US"
          },
          "maxItems": {
            "title": "Maximum results per search",
            "minimum": 1,
            "maximum": 10000,
            "type": "integer",
            "description": "Maximum assets to return for each keyword, URL or contributor (and for the asset-ID lookup). Adobe Stock serves at most 10,000 results per search, so larger values are capped at 10,000. Duplicate assets within one search are removed; the same asset can appear again under a different search.",
            "default": 100
          },
          "trackChanges": {
            "title": "Track changes between runs",
            "type": "boolean",
            "description": "Compare each search with the previous run of the same search (same keyword/URL/contributor and same filters) and add changeStatus (new, changed, unchanged), changedFields, previousDownloads, downloadsDelta and previousPosition to every asset. The first run is the baseline and marks every asset as new. Snapshots are kept in a named key-value store in your Apify account; assets that disappeared are listed in the RUN_SUMMARY record.",
            "default": false
          },
          "changeFeedKey": {
            "title": "Change feed name",
            "type": "string",
            "description": "Optional name to keep separate change-tracking histories for the same searches (letters, digits, '-' and '_', up to 40 characters). Leave empty to use one shared history. Only used when 'Track changes between runs' is on."
          }
        }
      },
      "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
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}