API Documentation

Overview

The Affilitizer HTTP API gives you programmatic access to the full affiliate network and program database — the same data that powers the Affilitizer directory. Use it to search, filter, and integrate affiliate program data directly into your own tools, dashboards, or workflows.

API access requires a paid plan

API access is available on the Pro + API plan and the Enterprise plan. View plans & pricing →

Base URL

Every request goes to this host (HTTPS only):

https://api.affilitizer.com

Authorization

The API uses simple API-key based authentication. Every request must include an x-api-key HTTP header containing a valid key.

GET https://api.affilitizer.com/networks
x-api-key: your-api-key
// ...

Requests without a valid key are rejected with a 401 Unauthorized response. If the key is missing or unknown, the service returns a JSON body with:

{"error": true, "message": "Wrong API key"}

Endpoints

GET

/networks

Retrieve a paginated list of live affiliate networks. This endpoint returns only networks that are currently active/live. Results are sorted and paginated.

Request

GET https://api.affilitizer.com/networks?sort=updatedAt&page=1
x-api-key: your-api-key
Accept: application/json
Content-Type: application/json

Response

If authorized, the API responds with an array of network objects. Each object includes the following fields:

idInternal numeric identifier.
nameName of the affiliate network.
createdAtTimestamp when the network was created.
updatedAtTimestamp of the last update.
lastSyncTimestamp of the last successful data import.
urlURL of the network.
countProgramsActiveNumber of active programs within the network.
subIdLengthMaximum length of sub-identifier allowed by the network.

Example response (abbreviated)

[
  {
    "id": 1,
    "name": "AffNetwork A",
    "createdAt": "2023-01-05T12:34:56Z",
    "updatedAt": "2023-10-01T08:15:30Z",
    "lastSync": "2023-10-01T00:00:00Z",
    "url": "affnetwork-a.com",
    "countProgramsActive": 130,
    "subIdLength": 64
  },
  {
    "id": 2,
    "name": "AffNetwork B",
    ...
  }
]

Errors

401 Unauthorizedreturned when the x-api-key header is missing or invalid.
GET

/programs

Return a paginated list of active affiliate programs. It returns only programs that are currently active. You can optionally filter by primaryUrl.

Request

GET https://api.affilitizer.com/programs?sort=updatedAt&page=1&url=otto.de
x-api-key: your-api-key
Accept: application/json
Content-Type: application/json

Response

The response is an array of program objects containing the following fields:

idProgram identifier.
nameProgram name.
createdAtTimestamp of creation.
updatedAtTimestamp of the last update.
networkIdIdentifier of the associated network.
networkProgramIdProgram ID provided by the network.
dateStartedUnifiedUnified start date of the program.
dateClosedDate when the program closed (if any).
primaryUrlPrimary website of the program.
registerUrlURL where affiliates can register for the program.
statusBoolean flag indicating whether the program is active.

Example response

[
  {
    "id": 100,
    "name": "Online Shop Program",
    "createdAt": "2022-05-10T09:00:00Z",
    "updatedAt": "2023-09-20T14:23:45Z",
    "networkId": 1,
    "networkProgramId": "123456",
    "dateStartedUnified": "2020-01-01",
    "dateClosed": null,
    "primaryUrl": "otto.de",
    "registerUrl": "https://affiliates.otto.de/register",
    "status": true
  },
  ...
]

Errors

401 Unauthorizedreturned when the API key is missing or invalid.
POST

/programs-batch

Match multiple URLs at once by sending a list (array) of primary URLs. Returns the same program fields as GET /programs.

Request

POST /programs-batch?page=1&sort=createdAt HTTP/1.1
Host: api.affilitizer.com
Content-Type: application/json
x-api-key: your-api-key

{
  "urls": ["zalando.de", "nike.com"]
}

Response

The server checks the number of URLs before processing. If more than 100 URLs are supplied the request is rejected. When the list is empty, the filter is skipped and all active programs are returned (subject to pagination). The response format matches GET /programs — only programs whose primaryUrl appears in the request body are returned.

Example successful response

[
  {
    "id": 200,
    "name": "Zalando Affiliate Program",
    "createdAt": "2021-03-15T10:00:00Z",
    "updatedAt": "2023-09-10T12:00:00Z",
    "networkId": 5,
    "networkProgramId": "7890",
    "dateStartedUnified": "2021-02-01",
    "dateClosed": null,
    "primaryUrl": "zalando.de",
    "registerUrl": "https://zalando.de/affiliate/register",
    "status": true
  },
  ...
]

Errors

401 Unauthorizedmissing or invalid API key.
401 Too many URLsmore than 100 URLs submitted in the body.

Pagination

All list endpoints (/networks, /programs, and /programs-batch) support pagination. The page query parameter is 1-based and each page returns a maximum of 50 items. To iterate through all results, increment the page parameter until an empty array is returned. Sorting affects the order in which records are paginated.