Feedico

Affiliate marketing API

Affiliate API for publishers: one API for CJ, Awin, Impact and more

Feedico is an affiliate API that returns merchants, coupons, products and commission rates from seven affiliate networks in one JSON format, with tracked links ready to publish. Use it without any network accounts and earn 65% of the commission, or connect the networks you already work with and get your own data normalized. Coupon sites, cashback apps, browser extensions, comparison tools and AI agents use it instead of writing one client per network.

What is an affiliate API?

An affiliate API is a programmatic interface to affiliate marketing data: merchants and their programmes, commission rates, coupon codes, product feeds, tracking links, clicks and sales. Instead of logging in to each network dashboard and exporting CSV files, your software asks for this data over HTTPS and gets JSON back. In affiliate marketing, the API is what lets a coupon site, a cashback app or a browser extension stay up to date without manual work.

There are three kinds, and they solve different problems:

TypeBuilt forExamplesWhat it does
Affiliate network APIsPublishers on one networkCJ, Awin, Impact, Admitad, TradeTrackerYour programmes, links and transactions on that one network. Each has its own auth, fields and limits.
Affiliate program software APIsBrands running their own programmeTracking and payout platformsManage your affiliates, track referrals and pay commissions. Built for the merchant side, not publishers.
Unified publisher APIsCoupon sites, cashback apps, extensions, AI agentsFeedicoMerchants, coupons, products and commission data from many networks in one schema and one token.

Network APIs are the source, but every network differs: CJ uses GraphQL and XML, Awin REST with its own rate limits, Impact paginated REST, TradeTracker SOAP. A unified affiliate API absorbs those differences, so one integration covers all of them. Network-by-network notes: CJ vs Awin vs Impact API.

Two ways to use the Feedico affiliate API

No network accounts

Partner API

  • ✓ Whole catalogue under our network accounts: no approvals to wait for
  • ✓ Every merchant, coupon and product comes with a tracked link
  • ✓ Commission rates and your net share per merchant
  • ✓ Sub ids, click and sales reports, signed postbacks
  • ✓ Free; you earn 65% of the commission, paid via Payoneer
How the partner programme works →

Bring your own networks

Data API

  • ✓ Connect your own CJ, Awin, Impact, Admitad, TradeTracker or Partnerize account
  • ✓ Your programmes and coupons in one normalized schema
  • ✓ Commissions stay on your own network accounts
  • ✓ Scheduled sync, product feeds and webhooks on paid plans
  • ✓ Free plan, paid plans from $6.99 a month
Data API plans →

What the affiliate API returns

  • Merchants

    Store name, website, network, countries, active coupon count and a tracked link for every programme.

  • Commission rates

    Per merchant: gross rate range, your net share, fixed amounts, cookie length, approval rate, validation days and traffic rules (cashback, coupon sites, extensions), refreshed daily from the networks.

  • Coupons and deals

    Codes, titles, end dates and target countries, with a tracked link that opens the store.

  • Products

    Millions of products with price, sale price, brand, images and ship-to countries; each link opens that exact product page.

  • Clicks, sales and postbacks

    Your own user id on every link (sub), click and commission reports by API, and signed postbacks when a sale is tracked, approved, declined or paid.

Example: find a merchant and its commission rate

One call to the Partner API returns the merchant, a tracked link and the commission terms. Coupons and products work the same way. Full reference: partner.feedico.io/docs.

curl -sS -X POST "https://partner.feedico.io/api/catalog/merchants" \
  -H "Authorization: Bearer fdcp_your_token" \
  -H "Content-Type: application/json" \
  -d '{"q":"sports","countries":["FR"],"cashback":"allowed","pageSize":1}'
{
  "merchants": [
    {
      "goSlug": "12345",
      "name": "Example Sports FR",
      "provider": "admitad",
      "websiteUrl": "https://www.example-sports.fr",
      "couponCount": 6,
      "goUrl": "https://feedico.io/go/12345?p=6b303b82cc3ad98a",
      "commission": {
        "model": "percent",
        "rate": { "min": 4, "max": 8 },
        "partnerRate": { "min": 2.6, "max": 5.2 },
        "cookieDays": 30,
        "approvalRate": 82.5,
        "validationDays": 45,
        "policies": { "cashback": "allowed", "couponSites": "allowed" }
      },
      "cashbackAllowed": "yes"
    }
  ],
  "meta": { "total": 1, "limit": 1, "offset": 0, "hasMore": false }
}

partnerRate is your share of the commission; validationDays tells you how long a sale usually stays pending. Example values, shortened for readability.

Affiliate networks covered

CJ, Awin, Impact, Admitad, TradeTracker, TakeDeals and Takeads through the Partner API; Partnerize on the Data API with your own account. Each logo opens our notes on that network's own API. Logos belong to their owners.

Affiliate API quickstart: copy-paste requests & sample responses

Base URL: https://feedico.io. Sample JSON illustrates envelope shapes; your live IDs and fields will differ. Full field matrices live in openapi-customer.yaml. Prefer a marketplace sandbox? The same endpoints are listed on RapidAPI Hub.

1. Verify token - GET /api/v1/me

Confirms the Bearer token and returns identifiers for automation logs.

Terminal - token check
curl -sS -X GET \
  "https://feedico.io/api/v1/me" \
  -H "Authorization: Bearer fdco_YOUR_TOKEN_HERE"
Sample JSON - identity envelope
{
  "ok": true,
  "userId": "7",
  "email": "you@example.com"
}

2. List merchants - POST /api/v1/me/networks

Paginated affiliate merchant API results with optional provider and firmName filters.

Minimal page of firms
curl -sS -X POST \
  "https://feedico.io/api/v1/me/networks" \
  -H "Authorization: Bearer fdco_YOUR_TOKEN_HERE" \
  -H "Content-Type: application/json" \
  -d '{"page":1,"pageSize":50}'
Filtered - provider + name
curl -sS -X POST \
  "https://feedico.io/api/v1/me/networks" \
  -H "Authorization: Bearer fdco_YOUR_TOKEN_HERE" \
  -H "Content-Type: application/json" \
  -d '{"page":1,"pageSize":50,"provider":"cj_affiliate","firmName":"example"}'
Sample JSON - merchant page (truncated)
{
  "ok": true,
  "recordCount": 1284,
  "page": 1,
  "pageSize": 50,
  "availableProviders": ["cj_affiliate", "awin_affiliate", "impact_com"],
  "networks": [
    {
      "id": "9204412",
      "provider": "cj_affiliate",
      "displayName": "Example Merchant  -  Shoes",
      "externalMerchantKey": "cj-merchant-123",
      "merchantWebsiteUrl": "https://example.com",
      "status": "active",
      "couponCount": 14
    }
  ]
}

3. List coupons - POST /api/v1/me/coupons

Query coupons with the same pagination helpers as merchants. Details on the coupon API page.

Coupons with text filter
curl -sS -X POST \
  "https://feedico.io/api/v1/me/coupons" \
  -H "Authorization: Bearer fdco_YOUR_TOKEN_HERE" \
  -H "Content-Type: application/json" \
  -d '{"page":1,"pageSize":25,"firmName":"summer"}'
Sample JSON - coupon page (truncated)
{
  "ok": true,
  "recordCount": 88432,
  "page": 1,
  "pageSize": 25,
  "availableProviders": ["cj_affiliate", "awin_affiliate"],
  "coupons": [
    {
      "id": "2642194",
      "networkId": "9204412",
      "networkName": "Example Merchant  -  Shoes",
      "provider": "cj_affiliate",
      "code": "SAVE20",
      "title": "20% off regular-priced styles",
      "endsAt": "2026-06-01T23:59:59Z",
      "offerUrl": "https://example.com/promo"
    }
  ]
}

Affiliate API integration in five steps

  1. Create an account and verify your website, app, extension or bot (no website? choose the app / AI agent review).
  2. Create an API token in Settings and keep it on your server. Data API users connect their network credentials in the integrations dashboard first.
  3. Pull the catalogue: merchants, coupons and products, filtered by text, network or country, with stable paging. Cache it and refresh a few times a day.
  4. Publish the goUrl links as they are. Add sub= with your own user id if you credit users, and url= for a specific product page.
  5. Track results with the click and commission reports, or set a postback URL and receive signed events as sales are tracked and approved.

Budgeting a build-it-yourself alternative? Read the cost of integrating multiple affiliate networks.

What publishers build with it

One affiliate API vs one client per network

FeedicoNetwork APIs one by one
Integrations to buildOneOne per network (REST, GraphQL, SOAP, XML)
Network approvalsNot needed (Partner API)Apply to every network and programme
Commission ratesOne field, every networkDifferent place and format per network
Tracked linksReady on every rowBuild per network
User-level trackingsub + signed postbacksDifferent sub id parameter per network
Schema changesAbsorbed by FeedicoYour team fixes each break

Longer comparison: Feedico vs manual integrations.

Affiliate API FAQ

What is an affiliate API?
An affiliate API is a programmatic interface to affiliate marketing data: merchants (programmes), commission terms, coupons, products, tracking links, clicks and sales, returned as JSON instead of dashboards and CSV exports. Networks such as CJ, Awin and Impact each have their own affiliate API; a unified affiliate API such as Feedico combines several networks behind one schema and one token.
What is API in affiliate marketing?
In affiliate marketing, an API lets software do what you would otherwise do by hand in a network dashboard: find merchants, read commission rates, pull promo codes and product feeds, create tracking links and download sales. Publishers use it to keep coupon sites, cashback apps, browser extensions and comparison tools up to date automatically.
What is the difference between an affiliate API and an affiliate network API?
An affiliate network API is one network's own interface (for example the CJ or Awin API) and only covers that network. “Affiliate API” is the broader term; a unified affiliate API like Feedico normalizes several network APIs into one contract, so one integration covers CJ, Awin, Impact, Admitad, TradeTracker, TakeDeals and Takeads.
Can I get commission rates through the API?
Yes. Every merchant and coupon in the Partner API carries a commission object with the gross rate range, your net share (65% of the commission by default), fixed amounts where the programme pays per sale or lead, cookie length, approval rate, validation and payment days, and the programme's traffic rules. Values the network does not publish are null; nothing is estimated.
Do I need my own affiliate network accounts?
No, not with the Partner API: you get tracked links for the whole catalogue under Feedico's network accounts and earn 65% of the commission, paid via Payoneer. If you already have approved network accounts, the Data API connects your own credentials and returns your data in the same normalized format.
Can I track my own users and sales?
Yes. Add sub=<your user id> to any link; it is stored with the click and returned in the click and commission reports. Signed HMAC postbacks notify your server when a commission is tracked, approved, declined or paid, which is what cashback and loyalty apps need to credit members.
Is there an affiliate payouts API?
Payout APIs for running your own affiliate programme (paying your affiliates) belong to affiliate program software. Feedico is publisher-side: the reports API and postbacks give you the commissions you earned, per sale and per user, and Feedico pays your share to you.
How does affiliate API integration work?
Create an account, verify your site or app, create an API token, then call the catalogue endpoints (merchants, coupons, products) from your server and show the returned goUrl links. Add sub ids and a postback URL if you credit users. Data API users connect their network credentials in the dashboard first.
Which affiliate networks are covered?
CJ Affiliate, Awin, Impact, Admitad, TradeTracker, TakeDeals and Takeads through the Partner API, plus Partnerize on the Data API when you connect your own account.
Can I filter by country, for example France?
Yes. Merchants, coupons and products accept countries=FR (or several ISO codes); results include offers targeted at those countries plus worldwide ones.
How much does the affiliate API cost?
The Partner API is free: you earn a 65% revenue share instead of paying. The Data API has a free plan (1,000 requests a month) and paid plans from $6.99 a month; see pricing.

Affiliate disclosure: some links on Feedico are affiliate links. We may earn a commission when you buy through them, at no extra cost to you. Publishers still need programme approval and compliant use at each affiliate network. Feedico provides the integration layer, not a substitute for network terms.

Related pages