Summary
Hotmart API for creators and affiliates selling digital products: sales history and totals, buyers and participants, commissions and price breakdowns, subscriptions with their charges, products, offers, plans and coupons, Members Area (Club) students, modules and progress, and event tickets. Read-only; refunds and subscription changes are switched off. Client ID and secret.
Guided setup
Connect Hotmart to Claude, ChatGPT or Copilot in 2 minutes
Start a free trial on AnythingMCP Cloud, connect Hotmart in the guided setup, then add your MCP URL to your AI assistant. No code and no server to run.
No credit card · 7-day trial · Self-host alternative available
Try asking
Example prompts for Hotmart
Click any prompt to copy it. Paste into Claude, ChatGPT, Cursor, Gemini, Copilot or OpenClaw to run it against this connector.
Claude is AI and can make mistakes. Please double-check responses.
💡 No install? Use cloud.anythingmcp.com directly. Sign in, click Connectors → Hotmart, paste your credentials, mint an MCP API key and you're done. No Docker, no
git clone, no local server.
Hotmart
Hotmart API for creators and affiliates selling digital products: sales history and totals, buyers and participants, commissions and price breakdowns, subscriptions with their charges, products, offers, plans and coupons, Members Area (Club) students, modules and progress, and event tickets. Read-only; refunds and subscription changes are switched off. Client ID and secret.
Setup
Setting up takes about 3 minutes.
- Sign in to Hotmart and open Tools, Developer Credentials (Ferramentas, Credenciais de desenvolvedor).
- Click Create Credential and name it. Leave the sandbox box empty for real data; tick it only for a test credential, which cannot be changed to production later.
- Copy the Client ID into
HOTMART_CLIENT_IDand the Client Secret intoHOTMART_CLIENT_SECRET. The third value Hotmart shows, Basic, is just the two combined and is not needed. - Choose Production as environment, or Sandbox for a sandbox credential (fictional data).
The connector exchanges the credential at https://api-sec-vlc.hotmart.com/security/oauth/token for a token that lasts about 48 hours and renews it by itself.
Where to start: hotmart_list_products gives the product ids; hotmart_get_sales_summary totals a period; hotmart_list_sales lists the sales behind it. hotmart_get_user shows whose account this is.
Sales: hotmart_list_sales, hotmart_get_sales_summary, hotmart_list_sales_participants (buyer contact, affiliate), hotmart_list_sales_commissions and hotmart_list_sales_price_details share their filters. Two pitfalls: without transaction_status (or a transaction) only APPROVED and COMPLETE sales are returned, so refunds and chargebacks must be asked for by status; and dates are Unix timestamps in milliseconds, both in filters and in answers. hotmart_refund_sale is installed switched off.
Subscriptions: hotmart_list_subscriptions (filter by one or more statuses; DELAYED and OVERDUE are the late payers), hotmart_get_subscriptions_summary, hotmart_list_subscription_purchases (every charge of one subscriber code) and hotmart_list_subscription_transactions. hotmart_cancel_subscription and hotmart_reactivate_subscription are installed switched off; the reactivation never triggers an immediate charge.
Products: hotmart_list_products, hotmart_list_product_offers, hotmart_list_product_plans and hotmart_list_coupons. A product has a 7-digit id (used by sales, subscriptions and coupons) and a ucode UUID (used by offers and plans).
Members Area (Club): hotmart_list_club_students, hotmart_list_club_modules, hotmart_list_club_pages and hotmart_get_club_student_progress. The Club tools take the subdomain of the Members Area, the pages tool the product id.
Events: hotmart_get_event_info and hotmart_list_event_participants for products sold as tickets.
Paging: lists return items and page_info with next_page_token, prev_page_token, results_per_page and sometimes total_results. Pass next_page_token as page_token until it is no longer returned.
Reading answers: amounts are numbers with their own currency_code (a seller can be paid in several currencies: never add values across currencies). Some endpoints answer 200 with an empty body when there is nothing to return, which can also mean the credential cannot see that product or Club. Errors are JSON with error and error_description: invalid_token or unauthorized_client for the credential, invalid_parameter for a filter Hotmart does not accept.
Limits: 500 calls per minute; a 429 carries the RateLimit-Reset header. The connector creates no coupons, payment links or products.
Prerequisites: HOTMART_CLIENT_ID, HOTMART_CLIENT_SECRET, HOTMART_API_URL
Install the connector locally
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
Open http://localhost:3000/connectors/store, pick Hotmart and paste in the env vars listed under Prerequisites.
Available tools
| Tool | What it does |
|---|---|
hotmart_get_user | Read the Hotmart account the credential belongs to: id, name, email and address. A quick check that the credential works. Not available on… |
hotmart_list_products | List the products of the account: id (7 digits), name, ucode (UUID, needed for offers and plans), status, format (ONLINE_COURSE, EBOOK… |
hotmart_list_product_offers | List the offers of one product: code, name, description, price (value and currency_code), payment_mode and whether it is the main offer.… |
hotmart_list_product_plans | List the subscription plans of one product: code, name, description, value, periodicity (WEEKLY, MONTHLY, BIMONTHLY, QUARTERLY, BIANNUAL… |
hotmart_list_coupons | List the discount coupons of one product: id, coupon_code, discount, status, active, start_date in milliseconds and time_zone. An empty… |
hotmart_list_sales | List sales (sales history): per sale the product (id, name), buyer (name, email, ucode), producer, and under purchase the transaction… |
hotmart_get_sales_summary | Total the sales of a period: total_items (number of sales) and total_value per currency (currency_code and value). Same filters as the… |
hotmart_list_sales_participants | List who took part in each sale: per transaction the product and users with their role (PRODUCER, BUYER, COPRODUCER, AFFILIATE) and… |
hotmart_list_sales_commissions | List the commissions of each sale: per transaction the product, the exchange rate to the payout currency and commissions with each… |
hotmart_list_sales_price_details | Break down the price of each sale: per transaction the product, the base amount commissions are split from, the total the buyer paid, vat… |
hotmart_refund_sale | Refund a sale to the buyer. This returns the money, ends the access the purchase gave and cannot be undone; Hotmart only accepts it inside… |
hotmart_list_subscriptions | List subscriptions: subscriber_code, subscription_id, status, accession_date, end_accession_date, request_date, date_next_charge (all in… |
hotmart_get_subscriptions_summary | Summarise subscriptions: per subscription the subscriber_code, subscription_id, status, lifetime (how many charges were paid)… |
hotmart_list_subscription_purchases | List every charge of one subscription: transaction code, approved_date, payment_engine, status, price (value, currency_code), payment_type… |
hotmart_list_subscription_transactions | List the transactions of subscriptions and smart instalments in a period: subscription_id, subscriber_code, status, billing_type… |
hotmart_cancel_subscription | Cancel one subscription: no further charges are made and the subscriber keeps access until the paid period ends. Returns the subscription… |
hotmart_reactivate_subscription | Reactivate a cancelled or inactive subscription without charging the subscriber now: the billing date stays as it was and the next charge… |
hotmart_list_club_students | List the students of a Members Area (Club): user_id, name, email, role (STUDENT, FREE_STUDENT, OWNER, ADMIN, CONTENT_EDITOR, MODERATOR)… |
hotmart_list_club_modules | List the modules of a Members Area (Club): module_id, name, sequence, is_public (free module), is_extra, total_pages and the classes it… |
hotmart_list_club_pages | List the pages (lessons) of one module of a Members Area: page_id, name, page_order, type (CONTENT, ADVERTISEMENT, QUIZ, WEBINAR)… |
hotmart_get_club_student_progress | Read the lesson progress of one student in a Members Area: lessons with page_id, page_name, module_name, is_module_extra, is_completed… |
hotmart_get_event_info | Read an event sold as tickets: the product (id, name), start_event_date and end_event_date in milliseconds, and lots (ticket batches or… |
hotmart_list_event_participants | List the tickets and participants of an event: per ticket the buyer (name, email), the participant (name, email, document, phone), the… |
Example prompts
- "What were my Hotmart sales totals last month, per currency?"
- "List the refunded and chargeback sales of my course this quarter."
- "Which subscribers are DELAYED or OVERDUE right now?"
- "Show the commissions of the last 20 sales: how much went to affiliates and co-producers?"
- "How far are the students of my Members Area through module 3?"
Next steps
Was this guide helpful?