# Civitai Scraper - AI Models, Downloads, LoRAs $0.35/1K (`om_kh/civitai-scraper`) Actor

Scrape Civitai AI image models by keyword, creator or tag: checkpoints, LoRAs, embeddings with downloads, likes, comments, tips, base model (SDXL, Flux, Pony), trigger words, file size, download link, licence and preview image. No login. $0.35 per 1,000 models.

- **URL**: https://apify.com/om_kh/civitai-scraper.md
- **Developed by:** [Khandji Omar](https://apify.com/om_kh) (community)
- **Categories:** AI, Developer tools, Social media
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.19 / 1,000 models

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?

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

## Civitai Scraper - AI Models, Downloads, LoRAs $0.35/1K

Get **Civitai AI image models** by keyword, creator or tag: checkpoints, LoRAs, embeddings, ControlNets... with **downloads, likes, comments and tips**, the **base model** (SDXL, Flux, Pony, SD 1.5, Illustrious...), **trigger words**, file size and format, the **download link**, the **licence** (commercial use, credit required) and a preview image. Up to 1,000 models per search, **$0.35 per 1,000 models**, no login.

- **Search like on civitai.com:** keywords, creators (every model they published) or tags, filtered by model type and base model, sorted by Highest Rated, Most Downloaded or Newest over all time, the year, month, week or day.
- **Market data:** downloads, likes, dislikes, comments and tips for each model, its number of versions and the latest version's date.
- **Ready to use:** trigger words, base model, file size and format, direct download link and licence of the latest version.
- **Only new models** for scheduled runs: track new LoRAs for a style or a base model every day.
- Safe-for-work models only.

### Free tier — 10 results free on every run

**The first 10 results of every run are free**, on every run you ever make — not a one-off trial. One guard: the free allowance never covers more than half of a run, so the offer stays sustainable.

### Price

| | Price |
|---|---|
| Model | **$0.35 per 1,000** ($0.00035 each) |

Set **Max cost per run** and the run stops before it spends more. Searches that fail are never charged.

No other Actor in Apify Store read Civitai on 2026-10-22.

### Measured, not promised

Run on Apify on 2026-10-22: keywords "portrait" and "anime style", creator Todokete, tag "photorealistic", LoRAs and checkpoints, 100 per search, sorted by downloads: **300 models from 192 creators in 14 seconds**, no error, platform cost $0.0013.

### Input example

```json
{
  "searchQueries": ["portrait", "anime style"],
  "tags": ["photorealistic"],
  "types": ["LORA", "Checkpoint"],
  "baseModels": ["SDXL 1.0", "Flux.1 D"],
  "sort": "Most Downloaded",
  "period": "Month",
  "maxModelsPerSearch": 200
}
```

### Output example

One real row from the run above:

```json
{
  "type": "model",
  "modelId": 2067704,
  "name": "Portrait Engine FLUX / FLUX 2 KLEIN / Z-Image, Detailed Skin - [LORA]",
  "url": "https://civitai.com/models/2067704",
  "modelType": "LORA",
  "creator": "The_Midnight_Lab",
  "tags": [
    "lora",
    "realistic",
    "photorealistic",
    "wan"
  ],
  "downloads": 23651,
  "thumbsUp": 704,
  "comments": 0,
  "baseModels": [
    "Flux.2 Klein 9B",
    "ZImageTurbo",
    "Flux.1 D"
  ],
  "latestVersion": "V 4.0_Flux_klein",
  "latestBaseModel": "Flux.2 Klein 9B",
  "triggerWords": [],
  "downloadUrl": "https://civitai.com/api/download/models/2998669",
  "fileSizeMb": 158,
  "fileFormat": "SafeTensor",
  "commercialUse": [
    "Image",
    "RentCivit"
  ],
  "creditRequired": true
}
```

#### Every field

| Field | What it holds |
|---|---|
| `modelId` | Civitai model ID |
| `name` | model name |
| `url` | model page |
| `modelType` | Checkpoint, LORA, TextualInversion... |
| `creator` | creator |
| `creatorUrl` | creator page |
| `tags` | tags |
| `downloads` | downloads |
| `thumbsUp` | likes |
| `thumbsDown` | dislikes |
| `comments` | comments |
| `tips` | tips received |
| `baseModels` | base models across versions (SDXL, Flux, Pony...) |
| `versions` | number of versions |
| `latestVersion` | latest version name |
| `latestVersionId` | latest version ID |
| `latestBaseModel` | base model of the latest version |
| `latestPublishedAt` | date of the latest version |
| `triggerWords` | trigger words |
| `downloadUrl` | download link of the latest file |
| `fileSizeMb` | file size (MB) |
| `fileFormat` | SafeTensor, PickleTensor... |
| `imageUrl` | preview image |
| `commercialUse` | commercial uses the licence allows |
| `creditRequired` | credit to the creator required |
| `allowDerivatives` | derivatives allowed |
| `description` | model description |
| `searchQuery` | your search |

### Compared with jungle_synthesizer/civitai-models-scraper

Read on the Store on 2026-10-23 (Civitai Scraper - AI Model Catalog, LORAs, Checkpoints & Stats). Where it does better, this section says so.

- **Built on the site's own data**, not a resold scraper: no second Actor between you and the source.
- **Free results on every run** and a hard cost cap (`maxTotalChargeUsd`).
- **Price:** $0.35 per 1,000 here, $0.4 there.

### Use cases

- **AI art and generator apps:** a ranked catalogue of models and LoRAs per base model, with trigger words and download links.
- **Market research:** which styles, base models and creators win downloads this week or month.
- **Creator outreach and sponsorship:** the most downloaded creators of a niche.
- **Licence checks:** commercial use and credit requirements before you ship a model.

### Why use it

1. **Try before you pay.** The first 10 results of every run are free.
2. **Pay only for data delivered.** Failed searches are never billed.
3. **Hard cost cap.** Set `maxTotalChargeUsd` and a run never costs more than you allow.
4. **Ready to use.** JSON, CSV or Excel, the Apify API, n8n, Make, Zapier, or as an MCP tool for AI agents.

### How to use it in 3 steps

1. Click **Try for free**; the form opens with a ready example in **Search keywords**.
2. Optional: add creators, tags, model types or base models; every field has a description.
3. Click **Start** and download the results as JSON, CSV or Excel, or read them from the API.

### FAQ

**Do I need a Civitai account or API key?** No. The Actor reads Civitai's public API.

**Does it return NSFW models?** No. Only safe-for-work models are requested, and preview images are safe-for-work.

**Does it download the model files?** No. It gives the direct download link and the file size; you download what you need.

**Can I call it from code?** Yes: Apify API, Python and JavaScript clients, Make, Zapier, n8n, or as an MCP tool.

# Actor input Schema

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

Words to search model names and tags, as on civitai.com/models.

## `creators` (type: `array`):

Civitai usernames: every model they published.

## `tags` (type: `array`):

Civitai tags (style, character, photorealistic, concept...).

## `types` (type: `array`):

Only these model types. Leave empty for all.

## `baseModels` (type: `array`):

Only models for these base models, exactly as Civitai writes them: SDXL 1.0, Flux.1 D, Pony, SD 1.5, Illustrious...

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

Civitai's own order.

## `period` (type: `string`):

Rank models by their rating or downloads over this period.

## `maxModelsPerSearch` (type: `integer`):

Up to 1,000 models for each keyword, creator or tag.

## `browseAll` (type: `boolean`):

With no keyword, creator or tag: the top models of the whole site for the sort, period and filters above.

## `includeDescription` (type: `boolean`):

The creator's description as plain text (up to 2,000 characters).

## `onlyNewModels` (type: `boolean`):

Each run delivers only models you have not received yet.

## `monitorId` (type: `string`):

With 'Only new models', keeps separate memories for separate schedules.

## `maxTotalChargeUsd` (type: `number`):

The run stops before it would cost more than this.

## Actor input object example

```json
{
  "searchQueries": [
    "portrait",
    "anime style"
  ],
  "sort": "Highest Rated",
  "period": "AllTime",
  "maxModelsPerSearch": 100,
  "browseAll": false,
  "includeDescription": true,
  "onlyNewModels": false
}
```

# Actor output Schema

## `report` (type: `string`):

A visual summary of delivery, charges, changes, and source issues.

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

Business-ready results in a sortable table. No JSON knowledge required.

## `csv` (type: `string`):

Results ready for spreadsheets, CRMs, and analytics tools.

## `excel` (type: `string`):

Results as an Excel workbook for non-technical teams.

## `runSummary` (type: `string`):

Machine-readable delivery, billing, and source diagnostics.

# 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 = {
    "searchQueries": [
        "portrait",
        "anime style"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("om_kh/civitai-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 = { "searchQueries": [
        "portrait",
        "anime style",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("om_kh/civitai-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 '{
  "searchQueries": [
    "portrait",
    "anime style"
  ]
}' |
apify call om_kh/civitai-scraper --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,om_kh/civitai-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/jjqtHLFWABrOq1IQv/builds/NmthqZSOkBmnLQOOW/openapi.json
