# Depositphotos Stock Media Search & Portfolio Scraper (`crawlyth-forge/depositphotos-scraper`) Actor

Search Depositphotos photos, vectors, illustrations, videos and editorial assets, browse contributor portfolios, or fetch asset details. Returns full metadata, keywords, contributor profiles, dimensions, licenses and 450px+ previews.

- **URL**: https://apify.com/crawlyth-forge/depositphotos-scraper.md
- **Developed by:** [crawlyth forge](https://apify.com/crawlyth-forge) (community)
- **Categories:** Automation, E-commerce, Videos
- **Features:** Limited permissions
- **Stats:** 1 total users, 0 monthly users, 0.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.49 / 1,000 results

This Actor is paid per event and usage. You are charged both the fixed price for specific events and for Apify platform usage.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## Depositphotos Stock Media Search & Portfolio Scraper

Depositphotos is a royalty-free stock library of photos, vectors, illustrations, videos and editorial images. This actor searches the public library without an account, follows saved search URLs and contributor portfolios, and returns structured asset records with previews, keywords, contributor data, dimensions and license availability.

### Modes

| Mode | What it does |
|---|---|
| `search` | Keyword search across photos, vectors, illustrations, videos, editorial or all images. Runs one or many queries and pages until `maxItems`. |
| `searchUrl` | Paste a Depositphotos search, portfolio or asset URL. Search hashes (`sh`) and offsets are preserved, so filtered views work. |
| `portfolio` | Browse one or more contributor portfolios by username, numeric contributor ID or portfolio URL. |
| `detail` | Fetch exact assets by URL or numeric asset ID, including every keyword and the full description. |

### Filters and sorting

- **Media type:** photos, vectors, illustrations, videos, editorial, all images
- **Sort:** best match, newest, popular
- **Orientation:** horizontal, vertical, square, panoramic
- **People:** no people, 1, 2, 3, 4+; people-only
- **Colour:** a colour name such as `red`, a hex value such as `#ff0000`, or `black&white`
- **Editorial only** and **exclude AI-generated**
- **License type:** standard, extended or free, applied while paging
- **`includeKeywords`:** adds keywords and categories (one extra API call per 50 assets)
- **`maxItemsPerSource`:** optional cap per query, URL or contributor when mixing many sources in one run

### Output per asset

- `assetId`, `title`, `description`, `altText`, `filename`, `filenameTranslated`
- `assetType`, `mediaType`, `isIllustration`, `isEditorial`, `isAiGenerated`, `isFree`
- `width`, `height`, `megapixels`, `orientation`, `durationSeconds` for video
- `contributor` — ID, name, portfolio URL, avatar URL
- `keywords[]` and `categories[]`
- `thumbnailUrl`, `previewUrl` (450px), `previewUrlLarge` (950px, or 600px for video)
- `assetPageUrl`, `sourceUrl`, `uploadDate`, `uploadedAt`
- `license`, `licenseTypes[]`, `licenseMask`, `sizeMask`
- `ratingValue`, `ratingCount`, `views`
- Search context when applicable: `searchQuery`, `searchMediaType`, `searchSort`, `searchUrl`, `resultRank`, `portfolioContributorId`, `portfolioUrl`
- `recordType: "asset"` and `scrapedAt`

Empty values are omitted at every depth.

### Input reference

| Field | Type | Default | Used by |
|---|---|---|---|
| `mode` | string | `search` | all |
| `searchQueries` | array | `["mountain lake"]` | `search` |
| `searchQuery` | string | – | `search` |
| `searchUrls` | array | `[]` | `searchUrl` |
| `searchUrl` | string | – | `searchUrl` |
| `contributors` | array | `[]` | `portfolio` |
| `assetUrls` | array | `[]` | `detail` |
| `mediaType` | string | `photos` | `search`, `searchUrl`, `portfolio` |
| `sort` | string | `best_match` | `search`, `searchUrl`, `portfolio` |
| `orientation` | string | `any` | `search`, `searchUrl` |
| `color` | string | – | `search`, `searchUrl` |
| `peopleCount` | string | `any` | `search`, `searchUrl` |
| `peopleOnly` | boolean | `false` | `search`, `searchUrl` |
| `editorialOnly` | boolean | `false` | `search`, `searchUrl` |
| `excludeAi` | boolean | `false` | `search`, `searchUrl` |
| `licenseType` | string | `any` | `search`, `searchUrl`, `portfolio` |
| `includeKeywords` | boolean | `true` | all |
| `maxItems` | integer | `50` | all |
| `maxItemsPerSource` | integer | `0` | all |

### Input examples

Smallest run with output:

```json
{
  "mode": "search",
  "searchQueries": ["mountain lake"],
  "mediaType": "photos",
  "maxItems": 3,
  "includeKeywords": true
}
```

Filtered photo search:

```json
{
  "mode": "search",
  "searchQueries": ["business team", "office meeting"],
  "mediaType": "photos",
  "orientation": "horizontal",
  "peopleCount": "2",
  "excludeAi": true,
  "licenseType": "standard",
  "sort": "popular",
  "maxItems": 200
}
```

Editorial search with a saved URL:

```json
{
  "mode": "searchUrl",
  "searchUrls": ["https://depositphotos.com/photos/mountain-lake.html?sh=be72f73c644b59eb2a894cb557241bbf1d2d76df&offset=100"],
  "maxItems": 300
}
```

Contributor portfolio:

```json
{
  "mode": "portfolio",
  "contributors": ["TravellingLight", "1658575"],
  "mediaType": "photos",
  "sort": "newest",
  "maxItems": 100
}
```

Exact assets:

```json
{
  "mode": "detail",
  "assetUrls": [
    "https://depositphotos.com/photo/sunset-lake-matheson-224706362.html",
    "https://depositphotos.com/editorial/obersee-mountain-lake-germany-77577720.html",
    224706362
  ]
}
```

### How it works

The actor opens an anonymous Depositphotos web session, then uses the library's own JSON search and media endpoints. No user account, cookie, API key or proxy is required. Search results are paged in blocks of up to 100, and asset details are requested in batches of 50. Requests are retried on rate limits and temporary server errors; an expired anonymous session is refreshed automatically.

### Limits and notes

- **Price text is not exposed per asset.** Depositphotos prices depend on the viewer's country, plan and license choice, so the actor returns the real license availability (`standard`, `extended`, `free`) instead of inventing a number.
- **Keywords need the detail request.** Platform search responses do not include keywords; `includeKeywords` (default on) fetches them. Turning it off makes runs cheaper but omits `keywords` and `categories`; the search-level description still comes from the result row.
- **Illustrations and vectors overlap.** Depositphotos indexes many vector files as illustrations. The search type narrows the result set; `mediaType` and `isIllustration` describe what each asset actually is.
- **Pagination is capped by `maxItems`** (1–1000) and by the result count returned by Depositphotos. The search view itself can contain tens of millions of matches.
- **Mixed sources:** `searchUrls` accepts search, portfolio and asset URLs together. Set `maxItemsPerSource` when you want each URL to contribute before the global `maxItems` cap is reached.
- **Editorial content** is returned with the editorial flag; its license is limited to editorial use.
- **No download is performed.** The actor returns public preview URLs and the asset page URL; licensing happens on Depositphotos.

### Use cases

- Stock keyword and concept research before buying credits
- Contributor portfolio monitoring and catalog audits
- Building visual search indexes and moodboards from public previews
- Editorial image tracking for news and media teams
- Comparing license availability across collections

### FAQ

**Do I need a Depositphotos account?** No. Search, portfolios and asset details are public.

**Why are some assets missing keywords?** Keywords come from the detail request. If `includeKeywords` is off, or the asset is blocked in your country, they are omitted.

**Why is `priceText` absent?** Depositphotos has no single public price per asset; it varies by plan, country and license. The actor reports license availability instead.

**Can I export more than 1,000 assets?** Run the actor again with another query, URL or contributor, or raise `maxItems` up to the 1,000 cap.

**Are preview images usable?** Previews are watermarked comps for discovery and review. A Depositphotos license is required for production use.

# Actor input Schema

## `mode` (type: `string`):

What to fetch: keyword search, an existing search URL, contributor portfolios, or exact asset details.

## `searchQueries` (type: `array`):

One or more keyword queries (mode=search). Each query is paged until maxItems is reached.

## `searchQuery` (type: `string`):

Optional single query (mode=search). Combined with searchQueries and de-duplicated.

## `searchUrls` (type: `array`):

Depositphotos search, portfolio, or asset URLs (mode=searchUrl). Search URLs keep their sh hash, filters, and offset.

## `searchUrl` (type: `string`):

Optional single Depositphotos search, portfolio, or asset URL (mode=searchUrl).

## `contributors` (type: `array`):

Contributor usernames, numeric contributor IDs, or portfolio URLs (mode=portfolio).

## `assetUrls` (type: `array`):

Depositphotos asset URLs or numeric asset IDs (mode=detail).

## `mediaType` (type: `string`):

Asset collection to search. Editorial returns editorial photos; images covers photos, vectors, and PNGs.

## `sort` (type: `string`):

Result ordering.

## `orientation` (type: `string`):

Filter by image orientation.

## `color` (type: `string`):

Optional color filter. Use a colour name such as red, a hex value such as #ff0000, or black\&white.

## `peopleCount` (type: `string`):

Filter by the number of people in the asset. 0 excludes people.

## `peopleOnly` (type: `boolean`):

Only return assets containing people.

## `editorialOnly` (type: `boolean`):

Restrict any media type to editorial content.

## `excludeAi` (type: `boolean`):

Drop AI-generated assets.

## `licenseType` (type: `string`):

Keep only assets available under this license. Applied while paging, so maxItems is still reached when possible.

## `includeKeywords` (type: `boolean`):

Fetch the asset record for each result to add keywords, full description and categories. One extra API call per 50 assets.

## `maxItems` (type: `integer`):

Hard cap on emitted assets across all queries, URLs, contributors or IDs.

## `maxItemsPerSource` (type: `integer`):

Optional cap per query, URL or contributor. 0 means only the global maxItems cap applies.

## Actor input object example

```json
{
  "mode": "search",
  "searchQueries": [
    "mountain lake"
  ],
  "searchUrls": [],
  "contributors": [],
  "assetUrls": [],
  "mediaType": "photos",
  "sort": "best_match",
  "orientation": "any",
  "peopleCount": "any",
  "peopleOnly": false,
  "editorialOnly": false,
  "excludeAi": false,
  "licenseType": "any",
  "includeKeywords": true,
  "maxItems": 3,
  "maxItemsPerSource": 0
}
```

# Actor output Schema

## `assets` (type: `string`):

Dataset containing all scraped Depositphotos assets.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "mode": "search",
    "searchQueries": [
        "mountain lake"
    ],
    "searchUrls": [],
    "contributors": [],
    "assetUrls": [],
    "mediaType": "photos",
    "sort": "best_match",
    "orientation": "any",
    "peopleCount": "any",
    "peopleOnly": false,
    "editorialOnly": false,
    "excludeAi": false,
    "licenseType": "any",
    "includeKeywords": true,
    "maxItems": 3,
    "maxItemsPerSource": 0
};

// Run the Actor and wait for it to finish
const run = await client.actor("crawlyth-forge/depositphotos-scraper").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "mode": "search",
    "searchQueries": ["mountain lake"],
    "searchUrls": [],
    "contributors": [],
    "assetUrls": [],
    "mediaType": "photos",
    "sort": "best_match",
    "orientation": "any",
    "peopleCount": "any",
    "peopleOnly": False,
    "editorialOnly": False,
    "excludeAi": False,
    "licenseType": "any",
    "includeKeywords": True,
    "maxItems": 3,
    "maxItemsPerSource": 0,
}

# Run the Actor and wait for it to finish
run = client.actor("crawlyth-forge/depositphotos-scraper").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "mode": "search",
  "searchQueries": [
    "mountain lake"
  ],
  "searchUrls": [],
  "contributors": [],
  "assetUrls": [],
  "mediaType": "photos",
  "sort": "best_match",
  "orientation": "any",
  "peopleCount": "any",
  "peopleOnly": false,
  "editorialOnly": false,
  "excludeAi": false,
  "licenseType": "any",
  "includeKeywords": true,
  "maxItems": 3,
  "maxItemsPerSource": 0
}' |
apify call crawlyth-forge/depositphotos-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,crawlyth-forge/depositphotos-scraper"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/xrxGgOnAnwEohVdXd/builds/WUMzvfMNOCUb5S0gY/openapi.json
