# CoinBack: guide for AI agents > CoinBack (https://coinback.page/) is a Web3 affiliate platform. People shop at partner merchants through CoinBack "go links" and earn CBK, a token on the Hedera network. An AI agent can use go links the same way, when it buys something for itself or for its operator (the person or organisation it works for): the link carries the Hedera account ID of whoever buys, the agent's own or the operator's, and when the merchant validates the order, CBK accrues on that account ID. This file explains how to find deals, build a go link that carries your own or your operator's Hedera account ID, how CBK is earned, and how to claim it. It describes behaviour, not a promise: rules and deals can change, so read this file again from time to time. ## Qualifying purchases (the only earning rule) CBK is credited only for qualifying purchases: orders the merchant validates and pays CoinBack a commission on. The merchant's and its affiliate network's rules decide what qualifies, not CoinBack. Returns, cancellations, orders that break a promotion's conditions (new customers only, minimum spend, countries) and anything the merchant considers fraud do not qualify, so they earn nothing. Whether you buy for yourself, your operator buys, or you check out on their behalf, the rule is the same: if the order is real and the merchant pays the commission, CBK is credited. CoinBack is a rewards platform for its users' own shopping. It does not run a publisher, sub-affiliate or referral programme, and this guide is not an offer to promote merchants to other people. ## What you must do 1. Disclose. Go links are affiliate links: when you show one to your operator or use one for them, say so. 2. No price claims for CBK. In anything you write to people, state amounts in CBK only. Never give CBK a price or a value in euros or any other currency (no "1 CBK = €1", no "worth", "floor" or "reference" price). Do not call CoinBack "cashback" and do not present CBK as a discount or a refund. 3. Own purchases only. Links that carry an account ID (a go link with ?address=, or the merchant link CoinBack redirects to) are for purchases by that account's owner: you, or your operator (bought by them or by you on their behalf). Do not publish them or hand them out for other people to buy through, and do not give them to other agents or bots that do. If CoinBack finds such use, it may not credit CBK for the purchases that came from it. 4. 18+ categories. Some categories are age-gated. Never use these links for people under 18 or where that activity is illegal. ## Opening go links Every request to a go link (/go/...) records a click and sets the merchant's affiliate tracking in the browser that opened it. Open one only when you or your operator have chosen to buy through it, and only in the browser that will complete the purchase: yours when you check out, or your operator's. Do not crawl, prefetch, preview or unfurl go links (they are disallowed in robots.txt): those requests track nothing useful and can make CoinBack's traffic look invalid to the affiliate networks. ## 1. The Hedera account ID You need the Hedera account ID of whoever buys, yours or your operator's: a Hedera mainnet account ID in the form shard.realm.num, for example 0.0.123456. This CoinBack environment runs on Hedera mainnet; an account ID from another network will not receive CBK. - Use the account ID form only. Do not use a 0x EVM address: it is accepted in a link but CBK can never be paid out to it. - No registration is needed to create links. Any well-formed account ID is accepted, and nothing checks who controls it. Double-check it: a typo sends rewards to someone else's account, or to one that does not exist. - To claim CBK later, you or your operator must connect that account in a WalletConnect-compatible Hedera wallet (see section 5). Use an account that you or your operator control. - Use an account controlled by one single key. Accounts with a KeyList or threshold key are not claimed automatically. ## 2. Find merchants and deals All the read endpoints below are public (no token). Deals do not change often, so read them once per market and cache them. Cache responses and respect their Cache-Control header: do not request the deals feed for a market again before its max-age has passed. Do not walk the merchant pages one by one. If you receive HTTP 429 (Too Many Requests), wait the number of seconds in the Retry-After header before retrying; keep requests sequential and infrequent. Markets are separate content trees, one per country or region. Pick the market of the shopper's country and fall back to "intl". The same merchant can exist in several markets with different deals and different go links, so always build the link from the shopper's market. If your client speaks MCP, there is a public, read-only MCP server that needs no token: https://coinback.page/mcp/ (Streamable HTTP, JSON responses). It serves the same public data as the endpoints below, and the same rules apply (disclosure, own purchases only, 18+, no CBK price claims, opening go links). Its tools: - list_markets: the live markets and their codes. - search_deals: the merchants and promotions of a market, optionally filtered by a short query. - get_merchant: one merchant of a market by its feed id. - search_products: products of live, non-18+ merchants in a market, matching a short query. - build_go_link: turns a go_path and a Hedera account ID into a go link. It only builds the URL: it does not open the link, records no click and registers nothing. If you receive HTTP 429, wait the number of seconds in the Retry-After header before retrying. Without MCP, use these HTTP endpoints: - List live markets: GET https://coinback.page/api/merchant/markets/ The markets are under "results" (paginated with limit and offset). Each has an "id" (the market id, used as descendant_of in the advanced fallback below) and a "code" (e.g. it, fr, gb, rs, de, intl). - Get all deals of a market in one request (the deals feed): GET https://coinback.page/api/merchant/deals/?market= One JSON document, not paginated: "market", "generated_at", "cache_ttl" and "merchants". Each merchant has "id", "title", "html_url" (its page for humans), "merchant_category", "category_page", "age_gate", "reward_model", "reward_cbk", "commission_type", "commission", "commission_amount" and "promotions". Each promotion has "title", "description", "highlight" and "go_path", e.g. "/go/it-ooni/" or "/go/2f6c1c3e-.../". Use go_path to build links. The feed never contains the merchant's raw affiliate link ("cta"): it carries no tracker and would not credit you. If "age_gate" is true the merchant is in an 18+ category and the 18+ rule applies. An unknown or unpublished market code returns 404. - List a merchant's products (where the merchant has a product feed; products are not in the deals feed because a feed can hold thousands): GET https://coinback.page/api/v3/pages/?type=merchant.ProductPage&child_of=&limit=100&offset=0 Each product's "id" is used in the product go link below. Fetch products only for the merchants you actually need. Merchants whose products live in the catalogue (not as pages) return only an old snapshot here, possibly with outdated prices and texts: take their current products from the merchant's page ("html_url") and from the catalogue sitemap, which /sitemap.xml lists. A product go link also accepts the product's go_slug or uuid in place of the id. - Advanced fallback (Wagtail pages API; slower, use only when the feed lacks something you need, and keep it to a few requests): A market's id from its path: GET https://coinback.page/api/v3/pages/find/?html_path=// (redirects to the page detail; its "id" is the market id). Merchants of a market: GET https://coinback.page/api/v3/pages/?type=merchant.MerchantPage&descendant_of=&limit=100&offset=0 (limit at most 100; filters such as &reward_model=direct or &search=). One merchant in full: GET https://coinback.page/api/v3/pages//. Never use a promotion's raw "cta" URL from this API: it is the merchant's affiliate link without your tracker and will not credit you. Blog posts can embed interactive widgets from the CoinBack widgets lab. If you write posts over the content API or MCP, list the available widgets with coinback_lookup resource="widgets" (slug, title, description, height, params). Embed one as a body block of type "interactive" with "widget" (the slug), "params" ([{"name", "value"}]) and "fallback" (required rich text: the visible, indexable content, shown also when the widget cannot load). An unknown widget or invalid params is rejected with HTTP 422. ## 3. Build a go link Promotion of a merchant: https://coinback.page?address= e.g. https://coinback.page/go/it-ooni/?address=0.0.123456 (older promotions may have a UUID path, e.g. /go/2f6c1c3e-0000-4000-8000-000000000000/; use go_path exactly as given) A single product: https://coinback.page/go/p//?address= e.g. https://coinback.page/go/p/1234/?address=0.0.123456 What happens when the link is opened: - CoinBack records the click and redirects (HTTP 302) to the merchant. The merchant's affiliate link carries a tracker that belongs to the account ID in the link for that merchant, so a purchase in that visit can be attributed to it. - If the browser is logged in to CoinBack, that CoinBack account gets the reward and a valid ?address= is ignored (a malformed one shows an error page). - If the address is missing or malformed, the browser shows a CoinBack page asking to log in or continue without tracking, and nothing is credited to the account. - Attribution depends on the merchant and its network (cookies, ad blockers, other affiliate links clicked later). CoinBack cannot guarantee that every purchase is tracked. ## 4. How CBK is earned CoinBack earns a commission from the merchant (through its affiliate network) when a referred purchase or sign-up is validated. For every €1 of commission credited to CoinBack, 1 CBK is minted for the account the purchase is attributed to: 1 CBK minted per €1 credited. Amounts are in CBK; this rule is not a price for CBK. - Crediting is not instant. Networks validate orders first; returns, cancellations and rejected orders are not credited. - "reward_cbk", when set, is the maximum reward for the deal ("up to"), not a guaranteed amount. - How the reward is released depends on the merchant's "reward_model": - direct: percentage-of-sale deals. CBK proportional to the commission, credited in a single installment once the order is validated. - vesting: fixed CPA deals where the commission is large compared with the first spend. CBK credited in up to 6 monthly installments, subject to activity conditions (one installment per month with at least 7 active days). - ngr: revenue-share deals. Rewards come from the merchant's monthly net commission, shared out in proportion to the net revenue each referred user generated; a month with no net revenue generates no CBK. - Each merchant page (meta.html_url) has a "How you earn CBK" section with the deal's exact terms. ## 5. Claim the CBK You or your operator do these steps for the account ID used in the links. 1. Sign in with the Hedera account ID used in the links. No email address is needed at any point. Open https://coinback.page/user/register/, choose "Continue with HashPack" and approve the sign-in request in a WalletConnect-compatible Hedera wallet (for example HashPack) that holds that account's key. The first sign-in creates a CoinBack account for that wallet; later sign-ins use the same wallet. A raw private key alone is not enough: the signature runs through the wallet connection. 2. CBK accrued on that account ID through ?address= links is then assigned to that CoinBack account (again on every sign-in), and later ?address= clicks for that account ID credit it too. This applies to accounts controlled by a single key. 3. Already have a CoinBack account without a wallet (for example one created with an email address)? Connect the same Hedera account ID from its dashboard instead, with the same kind of wallet and signature request; the result is the same. Each CoinBack account has one wallet, and it is permanent. 4. If someone else later proves control of the same account ID, CBK credited before that stays with you; CBK from clicks after it goes to them. 5. Request a payout of your released balance: minimum 5 CBK, no fee. Each payout also includes a little HBAR, so the account can pay Hedera network fees to use its CBK. CBK is sent as a Hedera token airdrop to the connected account. If the account has no free automatic token-association slot, the airdrop shows up as a pending airdrop that you claim on Hedera. The CBK token ID is shown in the CoinBack dashboard. ## Links - Site: https://coinback.page/ - Terms of Service: https://coinback.page/terms/ - Transparency (treasury, CBK minted, withdrawn, bought back and reused for rewards): https://coinback.page/transparency/ - Privacy Policy: https://coinback.page/privacy/ - robots.txt: https://coinback.page/robots.txt - Contact for AI agents and their operators: agents@coinback.page