# ClickBank Scraper: Offers, Gravity & 90-Day History (`zaiq/clickbank-scraper`) Actor

Every ClickBank marketplace offer, or those matching keywords and filters: gravity, rank, $ per conversion, EPC, conversion and refund rates, category, languages and links, plus optional 90-day daily history and momentum for each offer. $0.02 per 1,000 offers.

- **URL**: https://apify.com/zaiq/clickbank-scraper.md
- **Developed by:** [Zaiq](https://apify.com/zaiq) (community)
- **Categories:** Marketing, E-commerce
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

from $0.02 / 1,000 offers

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

## ClickBank Scraper: every marketplace offer with gravity, EPC and 90-day history

Get **every offer in the ClickBank marketplace** (about 1,200), or only those matching your **keywords, categories and filters**, with **gravity, rank, average and initial $ per conversion, EPC, conversion rate, expected return rate, rebill, languages, product type, activation date** and links to the sales page, affiliate tools and a ready **hoplink template**. No login, no API key.

**What no other ClickBank listing gives you:** turn on history to add each offer's **own 90-day daily gravity, rank and $ per conversion**, its **refund and chargeback rates at day 1, 7, 14, 30, 60 and 90**, and **gravity and rank change over 7, 30 and 90 days** with a rising or falling flag, on the very first run. Spot the offers that are taking off before the rest of the market does.

**Tested:** the whole marketplace, 1,185 offers, came back in one run in 73 seconds. **$0.02 per 1,000 offers**, and $0.02 per 1,000 for history; searches with no offers cost nothing.

### What you get

| Field | What it holds |
|---|---|
| The offer | `vendor`, `title`, `description`, `category`, `subCategory`, `activatedAt`, `languages` |
| Ranking | `gravity` (as the marketplace shows it), `legacyGravity`, `rank` |
| Money | `avgConversionUsd`, `initialConversionUsd`, `futureRebillUsd`, `epcUsd`, `avgDollarsPerSale`, `totalRebillUsd`, `conversionRate` |
| Risk | `expectedReturnRate`, `returnRateSource`; with history `refundRateBySaleAge`, `chargebackRateBySaleAge`, `returnRateBySaleAge` |
| Type | `recurring`, `physical`, `upsell`, `dollarTrial`, `mobileEnabled`, `cpaAvailable`, `directTracking`, `extraHoplinks` |
| Momentum (with history) | `history` (daily gravity, rank, $ per conversion), `gravityChange7d/30d/90d`, `rankChange7d/30d/90d`, `trend` |
| Links | `salesPageUrl`, `affiliateToolsUrl`, `hoplinkTemplate`, `marketplaceUrl`, `imageUrl` |

### What people use it for

- **Offer research:** find high-gravity, high-EPC offers in your niche
- **Trend spotting:** offers whose gravity and rank are climbing this month
- **Risk checks:** refund and chargeback curves before you send traffic
- **Market tracking:** the whole marketplace daily, for your own dashboards
- **AI agents:** let a model pick offers by niche, EPC and momentum

### How to use it

1. Leave **searches** empty for the whole marketplace, or type keywords and pick categories and filters.
2. Turn on **Add 90-day history** for momentum and refund curves.
3. Click **Start** and export as JSON, CSV or Excel, or schedule it daily.

### Input

| Field | Example | Notes |
|---|---|---|
| Searches | `weight loss` | ClickBank's own search: phrases, AND, OR, NOT; empty = everything |
| Categories | `Health & Fitness` | As the marketplace names them |
| Sort by | `gravity` | Gravity, rank, popularity, $ per conversion, EPC, conversion rate |
| Offers per search | `200` | The whole marketplace is about 1,200 |
| Add 90-day history | `false` | Daily gravity, rank, $ per conversion, refund curves, momentum |

### Output

Each result is one row in the run's dataset (download it as JSON, CSV, Excel, XML or HTML, or read it through the API). An example row (values shortened):

```json
{
  "vendor": "EXAMPLEVND",
  "title": "Example Offer: Sleep Support Formula",
  "description": "Example offer description.",
  "salesPageUrl": "https://example.com",
  "category": "Health & Fitness",
  "subCategory": "Dietary Supplements",
  "gravity": 64.2,
  "legacyGravity": 51.8,
  "rank": 12,
  "avgConversionUsd": 118.4,
  "initialConversionUsd": 112.9,
  "futureRebillUsd": null,
  "epcUsd": 0.8123,
  "avgDollarsPerSale": 121.5,
  "initialDollarsPerSale": 115.2,
  "totalRebillUsd": 0,
  "conversionRate": 0.0071,
  "expectedReturnRate": 0.11,
  "returnRateSource": "90 Day Return Rate",
  "recurring": false,
  "physical": true,
  "upsell": true,
  "dollarTrial": false,
  "mobileEnabled": true,
  "cpaAvailable": false,
  "directTracking": "enabled",
  "extraHoplinks": false,
  "languages": [
    "en"
  ],
  "activatedAt": "2026-04-02",
  "affiliateToolsUrl": "https://example.com/affiliates",
  "imageUrl": null,
  "hoplinkTemplate": "https://hop.clickbank.net/?affiliate=YOURID&vendor=examplevnd",
  "marketplaceUrl": "https://accounts.clickbank.com/marketplace.htm#/examplevnd",
  "gravityChange30d": 18.7,
  "rankChange30d": 9,
  "trend": "rising",
  "historyDays": 91,
  "searchTerm": null,
  "searchRank": 1,
  "scrapedAt": "2026-11-20T07:45:00Z"
}
```

A record named `SUMMARY` in the run's key-value store lists every search with its offer count and the total ClickBank reports, inputs that were not understood, how many offers got history, how many were charged and the traffic used.

### Pricing

- **$0.00002 per offer** ($0.02 per 1,000 offers)
- **$0.00002 per offer with history** ($0.02 per 1,000 more)
- Searches with no offers and inputs that are not understood cost nothing
- Apify's start fee is $0.00005 per run

What typical jobs cost at the list price:

| Job | Cost |
|---|---|
| The whole marketplace (about 1,200 offers) | $0.024 |
| The whole marketplace with 90-day history | $0.048 |
| Daily whole-marketplace runs with history for a month | about $1.45 |

On Apify's Scale and Business plans the per-event prices are lower (Store discounts). Set **Maximum cost per run** and the Actor stops cleanly when it is reached: you never pay more than that.

### Tips

- gravity is the figure ClickBank's marketplace shows today; legacyGravity is the older score some tools still quote.
- avgConversionUsd is $ per conversion (what an affiliate earns per sale); epcUsd is $ per click.
- Run it daily with history to catch offers the day their gravity starts climbing.

### Use it through the API

**Python**

```python
from apify_client import ApifyClient

client = ApifyClient("<YOUR_APIFY_TOKEN>")
run = client.actor("zaiq/clickbank-scraper").call(run_input={"searches": ["weight loss"], "includeHistory": true, "maxResults": 100})
for row in client.dataset(run.default_dataset_id).iterate_items():
    print(row)
```

**JavaScript**

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

const client = new ApifyClient({ token: '<YOUR_APIFY_TOKEN>' });
const run = await client.actor('zaiq/clickbank-scraper').call({"searches": ["weight loss"], "includeHistory": true, "maxResults": 100});
const { items } = await client.dataset(run.defaultDatasetId).listItems();
```

**HTTP (one call, results back)**

```bash
curl -X POST 'https://api.apify.com/v2/acts/zaiq~clickbank-scraper/run-sync-get-dataset-items?token=<YOUR_APIFY_TOKEN>' \
  -H 'Content-Type: application/json' \
  -d '{"searches": ["weight loss"], "includeHistory": true, "maxResults": 100}'
```

### Integrations and schedules

- **Schedules:** run it every hour, day or week from the Apify Console (Schedules) and keep a history of results.
- **Make, Zapier, n8n, Google Sheets, Slack, Airtable:** connect it through Apify's integrations, or send each finished run to a **webhook**.
- **Datasets:** results stay in the run's dataset; export them or read them by API whenever you need them.

### Use it with AI agents (MCP)

Add Apify's MCP server with this Actor already pinned (`https://mcp.apify.com?tools=zaiq/clickbank-scraper`) to Claude, ChatGPT, Cursor, VS Code or any MCP client. The agent can find this Actor and run it for you: ask it for "ClickBank health offers with gravity over 50 whose gravity rose in the last 30 days, with their refund rates". AI agents can also pay for runs directly through Apify's agentic payments.

### Limits

- Offers as ClickBank's public marketplace shows them to a signed-out visitor.
- History covers up to the last 90 days ClickBank keeps for each offer; new offers have fewer days.
- ClickBank writes -1 when a figure is not available; those are returned as null.
- Seller contact details (support email, Skype, Telegram) are never returned.
- Public data only: you are responsible for how you use it under ClickBank's terms and the laws that apply to you.

### FAQ

**Do I need a ClickBank account?**

No. Nothing to log in to and no API key.

**What is the difference between gravity and legacyGravity?**

gravity is the score ClickBank's marketplace shows now; legacyGravity is the older gravity figure.

**What do the refund curves mean?**

The share of sales refunded or charged back by the time a sale is 1, 7, 14, 30, 60 and 90 days old, over ClickBank's last 120 days of sales.

**How do I get my affiliate link?**

Replace YOURID in hoplinkTemplate with your ClickBank nickname.

**I use another ClickBank scraper. Do I need to change my input?**

Usually not: keyword, category, subCategory, sortBy, sortDescending, maxResults, languages, minGravity, minConversionRate, activatedAfter and recurringOnly are understood too.

### Related Actors from Zaiq

- [shopify-products-scraper](https://apify.com/zaiq/shopify-products-scraper): products and prices from any Shopify store
- [google-shopping-scraper](https://apify.com/zaiq/google-shopping-scraper): Google Shopping offers and prices

### Support

Questions, a site that changed, or a field you need? Open an issue on this Actor's **Issues** tab: we answer there, usually within a day.

***

Also found as: clickbank scraper, clickbank marketplace scraper, clickbank gravity, clickbank api, clickbank offers, affiliate offer research.

# Actor input Schema

## `searches` (type: `array`):

Keywords, one search per line (ClickBank's own search: "weight loss" for a phrase, keto OR paleo, weight NOT loss). Leave empty for the whole marketplace.

## `categories` (type: `array`):

Optional. ClickBank categories as the marketplace names them, for example Health & Fitness or E-business & E-marketing.

## `subcategories` (type: `array`):

Optional. For example Dietary Supplements.

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

The marketplace's own sort orders.

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

The most offers for each search. The whole marketplace is about 1,200 offers.

## `includeHistory` (type: `boolean`):

Each offer's own daily gravity, rank and $ per conversion for up to 90 days, its refund and chargeback rates at day 1, 7, 14, 30, 60 and 90, and gravity and rank change over 7, 30 and 90 days.

## `minGravity` (type: `number`):

Gravity as the marketplace shows it.

## `maxGravity` (type: `number`):

Gravity as the marketplace shows it.

## `minAvgConversion` (type: `number`):

In US dollars.

## `minConversionRate` (type: `number`):

A fraction, for example 0.01 for 1%.

## `activatedAfter` (type: `string`):

Only offers that went live on or after this day.

## `languages` (type: `array`):

Only offers in these languages.

## `recurringOnly` (type: `boolean`):

Subscriptions and other rebilling offers.

## `physicalOnly` (type: `boolean`):

Shippable products.

## Actor input object example

```json
{
  "searches": [
    "weight loss"
  ],
  "sortBy": "gravity",
  "maxResults": 200,
  "includeHistory": false,
  "recurringOnly": false,
  "physicalOnly": false
}
```

# Actor output Schema

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

Dataset: the offers.

## `summary` (type: `string`):

What each search returned, and notes.

# 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 = {
    "searches": [
        "weight loss"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("zaiq/clickbank-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 = { "searches": ["weight loss"] }

# Run the Actor and wait for it to finish
run = client.actor("zaiq/clickbank-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 '{
  "searches": [
    "weight loss"
  ]
}' |
apify call zaiq/clickbank-scraper --silent --output-dataset

```

## MCP server setup

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