API & MCP
REST API and MCP serverfor AI agents.
Manage campaigns programmatically via the REST API, or connect Adset.Pro to Claude and ChatGPT via the MCP server.
# Get campaign stats
curl -X GET \
"https://api.adset.pro/v1/campaigns/123/stats" \
-H "Authorization: Bearer YOUR_KEY"
// Response
{
"clicks": 111528,
"installs": 50188,
"registrations": 16713,
"deposits": 4930,
"cr_click_dep": "4.42%"
}
REST API
Core endpoints
GET/api/v1/campaignsList all campaigns
POST/api/v1/campaignsCreate a campaign
GET/api/v1/campaigns/{id}/statsCampaign stats
GET/api/v1/clicksClick log with filtering
GET/api/v1/conversionsConversions by click_id
POST/api/v1/pwaCreate a PWA
GET/api/v1/push/groupsPush groups
POST/api/v1/push/sendSend a push notification
DELETE/api/v1/campaigns/{id}Delete a campaign
Authentication
Bearer token in the Authorization header. The API key is generated in account settings.
Rate Limits
1,000 requests/min on Starter, 5,000/min on Pro, 20,000/min on Business and Enterprise.
Versioning
Current version: v1. On changes a new API version is released; the old one is supported for 12 months.
MCP server
Connect Adset.Pro to Claude and ChatGPT
The Adset.Pro MCP server lets AI agents read campaign stats, create flows and send push notifications directly via Claude or ChatGPT.
get_campaignsGet a list of campaigns filtered by GEO, status, sourceget_funnel_statsClick→Install→Reg→Dep funnel for a periodcreate_campaignCreate a campaign with a set of stream setsget_top_geosTop GEOs by CR and ROI for a given periodanalyze_anomaliesDetect conversion anomalies across campaignssend_pushSend a push notification to an audience segment# Connect in Claude Desktop
# ~/.claude/claude_desktop_config.json
{
"mcpServers": {
"adsetpro": {
"command": "npx",
"args": ["adsetpro-mcp"],
"env": {
"ADSET_API_KEY": "your_key"
}
}
}
}
Start building with the API
An API key is available on all plans, including the free Starter.