CJ Commission Detail API

GraphQL API serving near-real-time commission and transaction data. The publisherCommissions and advertiserCommissions queries return commission records filtered by posting, event or locking date range, action status, action type, advertiser or publisher ids, ad ids and website ids, with monetary amounts, line-item detail, situational commissioning detail and correction reasons. Responses carry count, maxCommissionId and payloadComplete, supporting an incremental sinceCommissionId watermark rather than page cursors. Read-only - the schema declares no mutations. Single endpoint POST https://commissions.api.cj.com/query with a Bearer personal access token.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/cj-affiliate-commission-detail-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.

Postman Collection

cj-affiliate.postman_collection.json Raw ↑
{
  "info": {
    "name": "CJ Affiliate APIs",
    "description": "CJ Affiliate (Commission Junction) developer APIs: modern GraphQL (Commission Detail at commissions.api.cj.com, Product Search at ads.api.cj.com) plus legacy REST (Link Search, Advertiser Lookup, Publisher Lookup). All authenticate with a personal access token (Bearer).",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      { "key": "token", "value": "{{personalAccessToken}}", "type": "string" }
    ]
  },
  "variable": [
    { "key": "personalAccessToken", "value": "" },
    { "key": "companyId", "value": "" },
    { "key": "websiteId", "value": "" }
  ],
  "item": [
    {
      "name": "GraphQL - Commission Detail",
      "item": [
        {
          "name": "publisherCommissions",
          "request": {
            "method": "POST",
            "header": [
              { "key": "Content-Type", "value": "application/json" }
            ],
            "url": { "raw": "https://commissions.api.cj.com/query", "protocol": "https", "host": ["commissions", "api", "cj", "com"], "path": ["query"] },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"query\": \"{ publisherCommissions(forPublishers: [\\\"1234567\\\"], sincePostingDate: \\\"2026-06-01T00:00:00Z\\\", beforePostingDate: \\\"2026-07-01T00:00:00Z\\\") { count payloadComplete records { actionTrackerName websiteName advertiserName orderId shopperId postingDate pubCommissionAmountUsd items { quantity perItemSaleAmountPubCurrency totalCommissionPubCurrency } } } }\"\n}",
              "options": { "raw": { "language": "json" } }
            },
            "description": "Near-real-time publisher commission / transaction records over a posting-date range."
          }
        },
        {
          "name": "advertiserCommissions",
          "request": {
            "method": "POST",
            "header": [
              { "key": "Content-Type", "value": "application/json" }
            ],
            "url": { "raw": "https://commissions.api.cj.com/query", "protocol": "https", "host": ["commissions", "api", "cj", "com"], "path": ["query"] },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"query\": \"{ advertiserCommissions(forAdvertisers: [\\\"7654321\\\"], sincePostingDate: \\\"2026-06-01T00:00:00Z\\\", beforePostingDate: \\\"2026-07-01T00:00:00Z\\\") { count records { actionTrackerName publisherName orderId postingDate advCommissionAmountUsd } } }\"\n}",
              "options": { "raw": { "language": "json" } }
            },
            "description": "Near-real-time advertiser commission records over a posting-date range."
          }
        }
      ]
    },
    {
      "name": "GraphQL - Product Search",
      "item": [
        {
          "name": "shoppingProductFeeds",
          "request": {
            "method": "POST",
            "header": [
              { "key": "Content-Type", "value": "application/json" }
            ],
            "url": { "raw": "https://ads.api.cj.com/query", "protocol": "https", "host": ["ads", "api", "cj", "com"], "path": ["query"] },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"query\": \"{ shoppingProductFeeds(companyId: \\\"{{companyId}}\\\", limit: 25) { totalCount resultList { advertiserId advertiserName feedName currency productCount lastUpdated } } }\"\n}",
              "options": { "raw": { "language": "json" } }
            },
            "description": "List every advertiser product feed in the network for cold discovery."
          }
        },
        {
          "name": "products",
          "request": {
            "method": "POST",
            "header": [
              { "key": "Content-Type", "value": "application/json" }
            ],
            "url": { "raw": "https://ads.api.cj.com/query", "protocol": "https", "host": ["ads", "api", "cj", "com"], "path": ["query"] },
            "body": {
              "mode": "raw",
              "raw": "{\n  \"query\": \"{ products(companyId: \\\"{{companyId}}\\\", keywords: [\\\"running shoes\\\"], limit: 25) { totalCount resultList { advertiserName title price { amount currency } link imageLink } } }\"\n}",
              "options": { "raw": { "language": "json" } }
            },
            "description": "Search products you can promote from advertisers you have joined."
          }
        }
      ]
    },
    {
      "name": "REST - Link Search",
      "item": [
        {
          "name": "Search links",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "https://link-search.api.cj.com/v2/link-search?website-id={{websiteId}}&advertiser-ids=joined&keywords=shoes",
              "protocol": "https",
              "host": ["link-search", "api", "cj", "com"],
              "path": ["v2", "link-search"],
              "query": [
                { "key": "website-id", "value": "{{websiteId}}" },
                { "key": "advertiser-ids", "value": "joined" },
                { "key": "keywords", "value": "shoes" }
              ]
            },
            "description": "Search advertiser links by keyword, category, link type, and promotion type."
          }
        }
      ]
    },
    {
      "name": "REST - Advertiser Lookup",
      "item": [
        {
          "name": "Find advertisers",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "https://advertiser-lookup.api.cj.com/v2/advertiser-lookup?requestor-cid=4567&advertiser-ids=joined",
              "protocol": "https",
              "host": ["advertiser-lookup", "api", "cj", "com"],
              "path": ["v2", "advertiser-lookup"],
              "query": [
                { "key": "requestor-cid", "value": "4567" },
                { "key": "advertiser-ids", "value": "joined" }
              ]
            },
            "description": "Find advertisers and program details by CID, name, URL, or relationship status."
          }
        }
      ]
    },
    {
      "name": "REST - Publisher Lookup",
      "item": [
        {
          "name": "Find publishers",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "https://publisher-lookup.api.cj.com/v2/joined-publisher-lookup?requestor-cid=4567&country=US",
              "protocol": "https",
              "host": ["publisher-lookup", "api", "cj", "com"],
              "path": ["v2", "joined-publisher-lookup"],
              "query": [
                { "key": "requestor-cid", "value": "4567" },
                { "key": "country", "value": "US" }
              ]
            },
            "description": "Advertisers search publishers within their program by country or relationship status."
          }
        }
      ]
    }
  ]
}