WeCanTrack API

Tracking / API Key Intermediate HTTPS CORS
Varies by plan (check documentation)

Overview

WeCanTrack is an affiliate tracking API that automatically appends subids to affiliate links, letting you tie every click back to its source. It is ideal for marketers and developers who want granular attribution data across multiple affiliate networks. Getting started requires an API key and a basic understanding of affiliate link structures.

💡

Beginner Tip

Start by testing with a single affiliate link to verify your subid is appended correctly before rolling out to your entire link inventory. Check the docs for the exact parameter name expected by each network.

Available Data

track name and artist
album metadata
audio preview URLs
popularity score
genre classification
phone number validation

Example Response

JSON Response
{
  "name": "Bohemian Rhapsody",
  "artist": "Queen",
  "album": "A Night at the Opera",
  "duration_ms": 354000,
  "popularity": 92,
  "preview_url": "https://p.scdn.co/mp3-preview/..."
}

Field Reference

id Unique identifier for the conversion event.
click_id The subid that was appended to the original affiliate link at click time.
network Name of the affiliate network that reported the conversion.
commission Earned commission amount in the account currency.
status Current status of the conversion such as pending, confirmed, or declined.

Implementation Example

const url = "https://docs.wecantrack.com/";
// Replace headers or query params with the values required by this API.
const response = await fetch(url, {
  headers: {
  "X-API-Key": "YOUR_API_KEY"
  }
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
const data = await response.json();
console.log(data);

What Can You Build?

Note: These code examples are AI-generated and unverified. Always refer to the official API documentation for accurate usage.

Common Errors & Troubleshooting

401 Unauthorized Missing or invalid API key in the Authorization header.
Add the header Authorization: Bearer YOUR_API_KEY using the key from your WeCanTrack dashboard.
Subid not attributed The affiliate network does not support the subid parameter or the link was not processed through WeCanTrack.
Verify the network is connected in your WeCanTrack account and that links are routed through the WeCanTrack rewriter.
429 Too Many Requests Request rate exceeds your plan limit.
Add delays between requests or upgrade your plan; check the Retry-After header for the wait time.

Matrix Score Breakdown

🌐 Reachability 30/30
⚡ Speed 5/20
🔒 Security 15/15
🛠 Developer XP 17/20
✓ Reliability 10/15

Partially tested on Apr 5, 2026

Technical Specifications

Auth API Key
HTTPS REQUIRED
CORS YES
Category Tracking
Difficulty Intermediate
Verified: 2026-04-04

Similar APIs

View All →