Affiliate networks
GET /networks — affiliate networks where creative offers are live, ad count per network and filtering creatives by network.
GET /public/v1/networksThe list of affiliate networks where offers from our ad database are currently live. Free. The order is the same as in the network filter in the dashboard library.
curl -G https://app.mtwspy.com/public/v1/networks \
-H "Authorization: Bearer mtw_live_your_key" \
-d q=cashParameters
| Parameter | Values |
|---|---|
q | Part of the network name, case-insensitive |
has_ads | 1 — only networks that have ads in the database |
Response
{
"data": [
{
"id": 13,
"name": "Dr.Cash",
"url": "https://dr.cash",
"logo": "https://.../logo.png",
"ads_count": 18342,
"creatives_url": "https://app.mtwspy.com/public/v1/creatives?aff_network=13"
}
],
"meta": { "total": 1 }
}| Field | Description |
|---|---|
id | Network id — pass it in aff_network |
name | Name. Also works in aff_network |
url logo | Network website and logo, may be null |
ads_count | Number of ads whose offer is live in this network. Updated hourly; null — the count is temporarily unavailable |
creatives_url | This network's creatives via the API |
Creatives by affiliate network
The aff_network filter of creative search takes ids or names from
this list:
curl -G https://app.mtwspy.com/public/v1/creatives \
-H "Authorization: Bearer mtw_live_your_key" \
-d aff_network=Dr.Cash,13 -d geo=PL -d limit=20| Parameter | Values |
|---|---|
aff_network | Network ids or names, comma-separated — the offer is live in at least one of them. any — in any network |
aff_mode | any (default) or all — the offer is live in every listed network |
Every creative card has an aff_networks array — the networks where the offer is live now:
"aff_networks": [
{ "id": 13, "name": "Dr.Cash", "url": "https://dr.cash", "logo": "https://.../logo.png" }
]An empty array means the offer wasn't found in any network we know of.
Errors
code | HTTP | When |
|---|---|---|
invalid_parameter | 422 | Unknown name in aff_network, or invalid aff_mode |
rate_limited | 429 | Too many requests |