# 500px Scraper (`conduit/500px-scraper`) Actor

Extract high-quality images from 500px.com, the premier photography community. Get image metadata including titles, descriptions, multiple sizes, and direct links to photographer pages with automatic pagination support.

- **URL**: https://apify.com/conduit/500px-scraper.md
- **Developed by:** [Conduit](https://apify.com/conduit) (community)
- **Categories:** Developer tools, Automation, Other
- **Stats:** 8 total users, 0 monthly users, 96.7% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$0.15 / 1,000 results

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## 📸 500px Image Scraper

Extract high-quality images from **500px.com**, the premier photography community. Get image metadata including titles, descriptions, multiple sizes, and direct links to photographer pages with automatic pagination support.

***

### ✨ Why Use 500px Image Scraper?

- **⚡ Fast & Efficient** - Direct GraphQL API access delivers results in seconds
- **🎯 Reliable Data** - Extracts complete metadata including multiple image sizes
- **📈 Scalable** - Scrape from 1 to 1000 images with automatic pagination (100 per page)
- **🎨 High Quality** - Access both small (600px) and large (2048px) image versions
- **📊 Clean Output** - Structured JSON data ready for analysis, galleries, or integration

***

### 📥 Input Parameters

| Parameter | Type | Required | Default | Description |
|-----------|------|----------|---------|-------------|
| **searchQuery** | String | ❌ No | `"landscape photography"` | Search term to find images (e.g., "landscape photography", "wildlife", "portrait") |
| **sort** | String | ❌ No | `relevance` | Sort order: `relevance`, `pulse` (popular), or `newest` |
| **maxResults** | Integer | ❌ No | `100` | Maximum number of images to scrape (range: 1-1000) |
| **proxyConfiguration** | Object | ❌ No | `{ useApifyProxy: true }` | Proxy settings to avoid rate limiting |

> **Note:** 500px returns 100 results per page. The Actor automatically handles pagination to reach your desired maxResults.

***

### 📖 Usage Examples

#### Example 1: Basic Search

Search for "landscape photography" and get 100 results:

```json
{
  "searchQuery": "landscape photography",
  "sort": "relevance",
  "maxResults": 100
}
```

#### Example 2: Popular Images

Get the most popular wildlife photos:

```json
{
  "searchQuery": "wildlife",
  "sort": "pulse",
  "maxResults": 200
}
```

#### Example 3: Latest Uploads

Find the newest portrait photography:

```json
{
  "searchQuery": "portrait",
  "sort": "newest",
  "maxResults": 150
}
```

#### Example 4: Specific Theme

Collect images for a specific theme or project:

```json
{
  "searchQuery": "minimalist architecture",
  "sort": "relevance",
  "maxResults": 300
}
```

***

### 📤 Output Data

Each image result includes:

| Field | Type | Description |
|-------|------|-------------|
| **id** | String | Unique image identifier |
| **legacyId** | String | Legacy image ID for compatibility |
| **title** | String | Combined image name and description |
| **name** | String | Image name/title |
| **description** | String | Image description |
| **url** | String | Direct link to the image page on 500px |
| **imageUrlLarge** | String | Large image URL (max 2048px longest edge) |
| **imageUrlSmall** | String | Small image URL (max 600px longest edge) |
| **width** | Integer | Original image width in pixels |
| **height** | Integer | Original image height in pixels |
| **widthLarge** | Integer | Large version width |
| **heightLarge** | Integer | Large version height |
| **widthSmall** | Integer | Small version width |
| **heightSmall** | Integer | Small version height |

#### Sample Output

```json
{
  "id": "1234567890",
  "legacyId": "987654321",
  "title": "Sunset Over Mountains: A breathtaking view of golden hour in the Alps",
  "name": "Sunset Over Mountains",
  "description": "A breathtaking view of golden hour in the Alps",
  "url": "https://500px.com/photo/1234567890/sunset-over-mountains",
  "imageUrlLarge": "https://drscdn.500px.org/photo/1234567890/m=2048/v2?sig=...",
  "imageUrlSmall": "https://drscdn.500px.org/photo/1234567890/m=600/v2?sig=...",
  "width": 4000,
  "height": 3000,
  "widthLarge": 2048,
  "heightLarge": 1536,
  "widthSmall": 600,
  "heightSmall": 450
}
```

Data is delivered in clean JSON format, ready to download as **JSON**, **CSV**, **Excel**, or integrate via **API**.

***

### ❓ FAQ

**Q: How many images can I scrape?**\
A: You can scrape between 1 and 1000 images per run. For larger datasets, run the Actor multiple times with different search queries.

**Q: Do I need proxies?**\
A: No, but using Apify Proxy is highly recommended to avoid rate limiting from 500px.

**Q: Can I download the actual image files?**\
A: The Actor provides direct URLs to the images. You can use these URLs to download the files separately or integrate with another Actor for downloading.

**Q: Can I filter by photographer or category?**\
A: Currently, the Actor supports search queries and sorting. You can include photographer names in your search query (e.g., "landscape by photographer\_name").

# Actor input Schema

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

Search term to find images on 500px (e.g., 'landscape', 'portrait photography', 'wildlife')

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

How to sort the search results

## `maxResults` (type: `integer`):

Maximum number of images to scrape (100 per page, use multiples of 100 for best performance)

## `proxyConfiguration` (type: `object`):

Proxy settings for the scraper. Using proxies is recommended to avoid rate limiting.

## Actor input object example

```json
{
  "searchQuery": "landscape photography",
  "sort": "relevance",
  "maxResults": 200,
  "proxyConfiguration": {
    "useApifyProxy": true
  }
}
```

# Actor output Schema

## `images` (type: `string`):

Scraped images with metadata

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("conduit/500px-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 = {}

# Run the Actor and wait for it to finish
run = client.actor("conduit/500px-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 '{}' |
apify call conduit/500px-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,conduit/500px-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/aO9z9aLYco8bwrdnU/builds/9IiokPN94vX8W1FzE/openapi.json
