Skip to main content

ClickBank Marketplace API (Python SDK, CLI & MCP)

CI PyPI Python License: MIT

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.

Metadata

Release files for abelfeed-clickbank 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for abelfeed-clickbank 0.1.2
File Size Uploaded Provenance Actions
abelfeed_clickbank-0.1.2.tar.gz 5.5 kB With provenance Details for abelfeed_clickbank-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for abelfeed-clickbank 0.1.2
File Interpreter ABI Platform Actions
abelfeed_clickbank-0.1.2-py3-none-any.whl Python 3 none any Details for abelfeed_clickbank-0.1.2-py3-none-any.whl

Total release size: 11.0 kB

Release files / abelfeed_clickbank-0.1.2.tar.gz

Download URL abelfeed_clickbank-0.1.2.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
cb7e9f7133e4a7e1e73774f0064c9a33089b6fe24b3b8a1487ec4728662cff86
BLAKE2b-256 checksum
How to use checksums
2dc3a32b5399753bf0374d993f82c6a684553be54ee5f9d396423f652d32347a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Release files / abelfeed_clickbank-0.1.2-py3-none-any.whl

Download URL abelfeed_clickbank-0.1.2-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
2638280462df20d9e23b9b1626e7dcd9f24200e1ece0c231d7666969cdfc5ab3
BLAKE2b-256 checksum
How to use checksums
37db2c0a55e6977be1e3ad9ffccb47a30635c8946b718cca21a9b218f0fe9347
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

Security for abelfeed-clickbank 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for abelfeed_clickbank-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 30, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page