Binom API Guide: Automating Your Affiliate Campaigns in 2026

Binom API Guide

Binom API lets affiliates automate clicks, campaigns, offers, and reporting via simple HTTP requests with JSON responses, using an API key passed in the api-key header for v2 trackers. 

Developers can auto-pause poor zones, bulk edit campaigns, fetch stats, and build custom dashboards by combining the Click API and the main REST API endpoints.

If you run paid traffic at scale, automation is no longer optional. Binom v2 ships a documented API that turns your tracker into a programmable engine for affiliate campaign automation.

Why Binom's API Matters for Paid Media Buyers

Binom is a self-hosted ad tracker built for speed, with server-side click tracking and rich reporting. Its API exposes almost every action you can do in UI form. That means scripts can talk directly to your tracker.

Key gains include:

  • Real-time stat fetches in JSON for custom BI tools
  • Bulk edits across hundreds of campaigns without UI lag
  • Auto-pausing low-quality placements before budget burns

For media buyers, faster decisions equal higher ROI. Pulling stats every minute beats waiting on dashboards. Programmatic campaign control also kills repetitive clicks across rotations, offers, and zones.

Binom Logo

Binom API Secrets Every Media Buyer Needs

exclusive

Use Binom coupon code AFFMAVEN for 40% Off and unlock real-time tracking, automation, smarter optimization, and higher ROI fast.

SAVE UP TO 40%

AFFMAVEN

Getting Your API Key and First Request

Open Settings, then User, and copy your personal API key. A super-admin key unlocks full tracker access, so guard it like a payout postback. Tracker v2 expects keys in an api-key HTTP header rather than a GET parameter.

Visit https://your-tracker.com/api/doc to load Binom's interactive Swagger reference. Click Authorize, paste your key, then hit Try it out on any endpoint to fire test requests. Postman works too, and a public Postman collection is available for quick prototyping.

A starter cURL call to fetch a campaign link looks like:

Click API: Low-Level Click Control

The Click API is a flexible script that lives on your landing page in PHP form. Drop the snippet from Settings >> Click API, set CAMPAIGN_KEY, and Binom logs every visit without a tracker redirect. That removes a hop, so page load improves and bot filters get cleaner data.

Use cases include:

  • Direct linking with pixel tracking for native and push traffic
  • Multi-campaign landers via sendBaseClick(‘campaign_key') calls
  • Server-side conversion stitching for iOS 14+ traffic

You can also include or require Click API as a separate PHP file, keeping landers clean. Pair Click API with server-to-server postbacks so conversions match clicks even when cookies fail.

Campaign Management Through API Calls

Binom's main API handles offers, landers, traffic sources, campaigns, and costs over HTTP GET or POST. Every create or delete request hits index.php with an action parameter and your API key. JSON returns make parsing trivial in Python, Node, or Bash.

Common automated actions:

ActionEndpoint TypeUse Case
Create offerPOST /api/offerSync new payouts from network
Update costGET save_update_costsPull spend from traffic sources
Edit campaignPOST /api/campaignBulk rotation swaps
Delete landerPOST action=deleteRetire dead creatives

A bulk campaign editing script can loop through 200 campaigns and swap an offer rotation in seconds. That same job by hand eats an afternoon.

Reporting Queries and Stat Pulls

Reporting is where Binom's API shines for data nerds. Multilevel reports group by ISP, IP range, OS, browser, and any custom token. Hit the stats endpoint with a date range, grouping, and campaign filter to receive structured JSON.

Smart automated reporting workflows pull data on a cron schedule. A 15-minute cron can:

  • Fetch yesterday's zone-level CTR and CR
  • Compare CR against a payout threshold
  • Push outliers to Slack or Telegram

Mariia Chernysh's open-source Bash scripts on GitHub show how to grab JSON or CSV exports from Binom for downstream BI. Plug those into Looker Studio or Metabase for custom affiliate dashboards without paid SaaS.

Auto-Pausing Bad Zones at Scale

Killing junk zones is the highest-ROI automation a media buyer can build. Binom doesn't auto-pause natively, so scripts fill that gap using API stat queries plus traffic source APIs.

Logic flow:

  • Pull zone stats from Binom every 30 minutes
  • Filter zones with spend > $10 and CR = 0
  • Send a blacklist call to PropellerAds, ExoClick, or RichAds
  • Mark the zone as paused in your internal log

Pair that with a conversion postback automation so each conversion updates Binom and feeds back to your source within seconds. Conversion-status relations let you fire different postbacks per status, perfect for split funnels.

Affiliate Network Integration Patterns

Binom ships preloaded templates for hundreds of networks, so postback setup is one click for popular CPA brands. For API-level sync, most networks expose offer feeds you can poll, then post into Binom as new offers.

A typical affiliate network integration workflow:

  • GET offers from network API (MaxBounty, Alfaleads, etc.)
  • Map payout, currency, and category fields
  • POST to Binom /api/offer with postback URL prefilled
  • Attach offer to campaign rotation via API

For Alfaleads-style networks, append &sub1={clickid} to the offer URL and accept conversions back through cnv_id={sub1}. ExoClick, PropellerAds, and RichAds all follow the same postback shape.

Building Custom Affiliate Dashboards

Native Binom UI is fast, yet most affiliates want a single pane across multiple trackers and networks. The API answers that need.

Stack ideas:

  • Backend: Node.js or Python pulling Binom JSON every 5 minutesbinom
  • Storage: Postgres or BigQuery for historical click data
  • Visualization: Grafana, Metabase, or Looker Studio
  • Alerts: Telegram bot triggered by ROI drops

Add columns for traffic source spend, network revenue, and tracker clicks. That gives a true profit reconciliation dashboard instead of guessing across tabs.

Bulk Operations and Time-Saving Scripts

When you operate 50+ campaigns, manual edits become a bottleneck. Binom API supports batch loops over creates, edits, and archives.

Power moves:

  • Clone a winning campaign across 10 GEOs in one script
  • Rotate banners on a Monday cron for ad fatigue
  • Sync cost data hourly from Facebook, Google, or TikTok via save_update_cost
  • Archive losing campaigns older than 14 days with zero conversions

The afflift community shared a Binom v2 API guide in 2024 covering exactly these patterns with sample payloads. Combine that with the official docs for a fast onramp.

Security, Rate Limits, and Best Practice

reat API keys like database passwords. Store them in environment variables, never in repo files. Use a non-admin user when possible to scope access.

Other safety tips:

  • Wrap calls in retries with exponential backoff for network blips
  • Log every POST that mutates campaigns for audit trails
  • Test scripts on a staging tracker before hitting production

Binom's self-hosted nature means rate limits depend on your VPS, not vendor caps. Beefier servers handle thousands of API hits per minute without breaking sweat.

Real-World Automation Stack Example

Here's a sample weekly stack that pays for itself fast:

DayAutomationToolAPI Endpoint
MonClone winners to new GEOsPython/api/campaign
TuePull source spendBash cronsave_update_costs
WedAuto-blacklist bad zonesNodestats + source API
ThuSync new offers from networkPython/api/offer
FriPush KPIs to SlackWebhookstats endpoint
SatArchive dead campaignsBashaction=delete
SunBackup tracker datarsyncfull DB dump

Each script is under 100 lines once you copy patterns from the Postman collection. Time saved per week often exceeds 15 hours for a solo affiliate.

Common Endpoints Cheat Sheet

Bookmark these for quick reference:

  • /api/v2/campaign — create, edit, delete campaigns
  • /api/v2/offer — offer CRUD with payout fields
  • /api/v2/landing — lander upload and edits
  • /api/v2/traffic_source — source templates and tokens
  • /api/v2/report — multilevel grouped stats
  • /api/v2/click — Click API for low-level data

Always confirm the path on your own /api/doc page since self-hosted versions vary slightly.

Final Notes for Technical Affiliates

Binom's API turns repetitive ops into background jobs, freeing brain time for creative testing and offer negotiation. 

Start small with a stat-pull script, then layer auto-blacklist logic, and finish with a full custom dashboard. Each layer compounds ROI because decisions land faster and waste shrinks.

Pair Binom's API with disciplined logging, version-controlled scripts, and clean postback hygiene, and your media buying turns into a data-driven operation worthy of any performance marketing engineer title.

Sharing is caring:-

Similar Posts