ClickBank Marketplace Fast API

Fast ClickBank affiliate marketplace API and MCP server with Gravity, EPC, and commission metrics.

Hosted MCP Server

npx add-mcp 'https://mcp.apify.com/?tools=abelfeed/clickbank-marketplace-fast-api'

Installs into Claude Code, Codex, Cursor and more

Documentation

ClickBank Marketplace API (Python SDK, CLI & MCP)

CI PyPI Python License: MIT Glama MCP Score

Open-source Python client, CLI (clickbank-fetch), and Model Context Protocol (MCP) manifest for querying ClickBank Marketplace offers (Gravity, BI Gravity, Net/Initial/Future EPC, Avg $/Sale, Rebill, Conversion Rate, and Return Rate).

Supported Sort Fields

rank · gravity · bi_gravity · popularity · average_epc · initial_epc · future_epc · net_epc · conversion_rate

Installation

pip install abelfeed-clickbank
export APIFY_TOKEN="your_apify_token"

Python Usage

from abelfeed_clickbank import ClickBankClient

client = ClickBankClient()
offers = client.fetch(
    sort_field="net_epc",
    sort_descending=True,
    rebill_only=True,
    min_gravity=10,
    max_results=50,
)
print(offers[0]["vendorId"], offers[0]["gravity"], offers[0]["netEPC"])

CLI Usage

clickbank-fetch --sort-field gravity --sort-descending --max-results 50

MCP Server (Claude Desktop / Cursor / VS Code)

Registered on the Official MCP Registry as io.github.abelfeed/clickbank-marketplace (see server.json):

{
  "mcpServers": {
    "abelfeed-clickbank": {
      "url": "https://mcp.apify.com/?tools=abelfeed/clickbank-marketplace-fast-api",
      "headers": {
        "Authorization": "Bearer YOUR_APIFY_TOKEN"
      }
    }
  }
}

Development & Testing

pip install -e . pytest
pytest -v

Hosted Backend & Security

This package is a thin MIT-licensed wrapper around the hosted Apify Actor abelfeed/clickbank-marketplace-fast-api. See SECURITY.md for vulnerability disclosure and OIDC Trusted Publishing details.

License

MIT - see LICENSE.