# Openclipart Line Art Scraper (`parseforge/openclipart-line-art-scraper`) Actor

Scrapes Openclipart clipart by search query and returns each item with its title, artist, tags, download counts, SVG and PNG URLs, and license in a flat row.

- **URL**: https://apify.com/parseforge/openclipart-line-art-scraper.md
- **Developed by:** [ParseForge](https://apify.com/parseforge) (community)
- **Categories:** AI, Education, Other
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $3.62 / 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.
Since this Actor supports Apify Store discounts, the price gets lower the higher subscription plan you have.

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

[![ParseForge](https://raw.githubusercontent.com/ParseForge/apify-assets/main/banner.jpg)](https://apify.com/parseforge?fpr=vmoqkp)

### Openclipart Line Art Scraper

**Scrape line art and coloring pages from Openclipart by search query, up to a million items per run.** Every clipart comes with its SVG and PNG download links, artist, tags, download counts, and license. Export to CSV, JSON, Excel, or XML.

Openclipart hosts over 180,000 public-domain clipart images, but there is no official API to download them in bulk. This Openclipart scraper reads the public search pages and detail pages directly, so you can collect line art, coloring pages, and SVGs by any search term. It returns each clipart in one flat row with its metadata and direct download URLs.

| Who uses it | What they scrape Openclipart for |
|---|---|
| Graphic designers | Build a personal library of public-domain line art and SVGs for client projects. |
| Educators | Gather coloring pages and simple illustrations for classroom worksheets and activities. |
| Dataset curators | Create a labeled dataset of line art images for machine learning or generative AI training. |
| Content creators | Source royalty-free clipart for videos, blog posts, and social media graphics. |

### What it does

This Actor collects Openclipart clipart by search query and returns each one as a flat row with its title, artist, tags, download counts, SVG and PNG URLs, and license.

- 🔍 **Search-driven collection:** provide a search query like 'line art' or 'coloring' and the Actor fetches every matching clipart.
- 📊 **Sort control:** order results by downloads, date, favorites, or comments to prioritize the most popular or newest items.
- 🔗 **Direct download links:** each row includes the raw SVG URL, PNG URL, and a lossless format URL where available.
- 📋 **Full metadata:** title, artist, tags, description, category, upload date, dimensions, file size, and license are all included.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

### What you can do with Openclipart data

**🎨 Build a coloring book collection.**

An illustrator searches for 'coloring page' and downloads the top 500 results by favorites to compile a printable coloring book.

**🤖 Train a line art generation model.**

A machine learning engineer scrapes 50,000 line art SVGs with their tags and descriptions to create a text-to-SVG training dataset.

**📚 Source illustrations for educational materials.**

A teacher searches for 'animal line art' and collects simple, clear clipart to use in science worksheets and flashcards.

**🖼️ Populate a design asset library.**

A design agency scrapes the most downloaded clipart under 'business' and 'technology' to build an internal, searchable asset repository.

### Why choose this scraper

| | What you get |
|---|---|
| **No API key required** | Scrapes the public HTML pages, so you never need to register an application or manage tokens. |
| **Fixed flat schema** | Every clipart returns the same fields, whether it has 2 tags or 20, making it ready for databases and spreadsheets. |
| **Bulk export ready** | Download results as CSV, JSON, Excel, or XML for direct use in your tools and pipelines. |

### What a Openclipart record looks like

Every record returns as one flat JSON row. Here is a real one from a run:

```json
{
 "imageUrl": "/image/800px/355419",
 "title": "Pencil 33 - Line Art Remix",
 "detailUrl": "https://openclipart.org/detail/355419/pencil-33-line-art-remix",
 "imageId": "355419",
 "thumbnailUrl": "/image/800px/355419",
 "scrapedAt": "2026-09-04T07:31:36.896Z",
 "artist": "j4p4n",
 "description": "Pencil 33 - Line Art Remix by @"
}
```

Every value above comes from a real run. A field a record does not have comes back as `null`.

### Configure the run

Drive the Actor with a search query and a sort order, and set a maximum number of items so only the top matches reach your dataset. The Input tab lists every parameter.

A first run with the defaults:

```json
{
 "searchQuery": "line art",
 "maxItems": 10
}
```

A larger pull:

```json
{
 "searchQuery": "line art",
 "maxItems": 200
}
```

### Free users

Free-plan runs return up to 10 results as a preview. [Upgrade your Apify plan](https://console.apify.com/sign-up?fpr=vmoqkp) to collect up to 1,000,000 results per run.

### Run it

1. [Create a free Apify account with $5 in credit](https://console.apify.com/sign-up?fpr=vmoqkp).
2. Open the [Openclipart Line Art Scraper](https://apify.com/parseforge/openclipart-line-art-scraper?fpr=vmoqkp).
3. Set your inputs and any filters, then click **Start**.
4. Export the results as CSV, Excel, JSON, or XML from the **Dataset** tab.

Run it programmatically through the [Apify API](https://docs.apify.com/api/v2) (`run-sync-get-dataset-items`) or the [ApifyClient](https://docs.apify.com/api/client/js) for JavaScript and Python.

### Use with AI agents (MCP)

Give an AI agent live access to Openclipart through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:

```bash
claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/openclipart-line-art-scraper"
```

Then prompt it in plain language to run the scraper and read back the results.

### Troubleshooting

**Why am I getting no results?**

Check your search query spelling. Try a simpler term like 'line art' or 'flower'. Also confirm that your max items is set to a number greater than 0.

**The run stopped before reaching my max items limit.**

Openclipart may have fewer results for your query than your max items value. Try a broader search term or a different sort order to see if more items appear.

**Some download URLs are empty in the output.**

A small number of older clipart entries may be missing certain file formats. The Actor returns whatever URLs are present on the detail page; empty fields mean the format was not provided by the site.

**The run is taking a long time.**

Large max items values mean the Actor must visit many detail pages. Each one is fetched politely with a delay. Reduce max items or run the Actor with a more specific search query to speed it up.

### FAQ

| Question | Answer |
|---|---|
| Can I download the actual SVG and PNG files, or the metadata? | The Actor returns the direct download URLs for the SVG, PNG, and lossless formats. You can use those URLs to download the files with a separate HTTP request or a download tool. |
| Is there a limit on how many clipart items I can scrape? | Free Apify users are limited to 10 items as a preview. Paid users can set the max items up to 1,000,000, limited only by what Openclipart returns for the search query. |
| What license do these clipart images use? | All clipart on Openclipart is released into the public domain using the Creative Commons Zero (CC0) license. The Actor includes the license field in every row so you can verify it. |
| Can I scrape all clipart on the site, not a search query? | The Actor is driven by a search query. To collect everything, you can run it with a broad term like 'a' or 'the' and sort by date, but a single search may not exhaustively cover all 180,000 items. |
| Does this Actor handle pagination automatically? | Yes. It follows the search result pages one by one until it reaches your max items limit or the site runs out of results for that query. |
| What output formats are supported? | You can export your dataset in CSV, JSON, Excel, or XML directly from the Apify platform. |
| Do I need to worry about getting blocked? | Openclipart is a static, server-rendered site with no detected anti-bot measures. The Actor makes polite, sequential requests, so blocking is unlikely. |
| Can I filter by artist or tag within the Actor? | The Actor collects all results for your search query. You can filter by artist or tag after the run by processing the exported dataset in your own spreadsheet or script. |

### Related actors

Browse the full [ParseForge collection](https://apify.com/parseforge?fpr=vmoqkp) for more scrapers.

🆘 **Need help?** Email parseforge@protonmail.com with your run ID, your input, and what you expected.

### Pricing

This Actor uses **pay-per-result** pricing: **$0.004 per result** collected. You are billed only for the results you receive, so a run that returns nothing costs nothing.

⚠️ **Disclaimer.** This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Openclipart. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.

# Actor input Schema

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

The search term to find clipart on Openclipart.org. For example, 'line art' or 'coloring'.

## `sortBy` (type: `string`):

How to sort the search results returned by Openclipart.

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

Free users: Limited to 10 items (preview). Paid users: Optional, max 1,000,000

## Actor input object example

```json
{
  "searchQuery": "line art",
  "sortBy": "downloads",
  "maxItems": 10
}
```

# Actor output Schema

## `results` (type: `string`):

Complete dataset of all scraped records.

# 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 = {
    "searchQuery": "line art",
    "maxItems": 10
};

// Run the Actor and wait for it to finish
const run = await client.actor("parseforge/openclipart-line-art-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 = {
    "searchQuery": "line art",
    "maxItems": 10,
}

# Run the Actor and wait for it to finish
run = client.actor("parseforge/openclipart-line-art-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 '{
  "searchQuery": "line art",
  "maxItems": 10
}' |
apify call parseforge/openclipart-line-art-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,parseforge/openclipart-line-art-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/41HA9ofi8ENyBKTvS/builds/sTSnqUajIRujQ1W8n/openapi.json
