The Toppie API enables secure, programmatic access to Toppie’s unified retail media platform. Whether you’re automating campaign management, building custom dashboards, or integrating Toppie data into existing workflows, the API provides the foundation for scaling retail media operations beyond the UI.
Toppie API Reference
Endpoints, authentication, permissions, errors, and rate limits
Key Benefits
- Automate Campaign Operations - Build workflows to manage campaigns across retailers without manual intervention
- Custom Integrations - Connect Toppie data to BI tools and internal systems
- Secure Access Control - Each key is scoped to one account and can be deleted at any time
API Capabilities
The Toppie API provides comprehensive functionality through the following endpoints:Product Catalog
Product Catalog
List the products available to your account and use their ids as campaign targets. The catalog is read only through the API.
Campaign Lifecycle Operations
Campaign Lifecycle Operations
Create, update, pause, and delete Sponsored Listings. Set the budget, product targets, and target ROAS. Banner campaigns can be read and deleted through the API, and are created and updated in the Toppie UI.
Advanced Analytics and Reporting
Advanced Analytics and Reporting
Retrieve performance data including impressions, clicks, purchases, ROAS, and ad spend for the account, each campaign, and each product. Reports return a fixed set of metrics for the date range you choose.
Budgets and Account Activity
Budgets and Account Activity
Set and update campaign budgets, and read the account’s transaction history: daily ad spend and ad credit top-ups. The API has no endpoint for the account balance or for billing.
Create and update support Sponsored Listings only. Banner campaigns are included in read responses and can be deleted, but are created and updated in the Toppie UI.Requests take product target ids. Bids are managed automatically, and a bid amount in the request is ignored. Read the current bids with
GET /public/v1/toppie/campaigns/{campaign_id}/bids.Budget and target changes reach each marketplace asynchronously. Creating a campaign also provisions its marketplace campaigns in the background. The response returns the parent campaign, so bidCount and marketplace state can lag that response.Authentication
All Toppie API requests require a Toppie agency API key. These keys start withTAS_ and are created in the Toppie UI. Marketplace and Advanced API keys from Topsort Admin do not work on the Toppie API. See Toppie authentication to create and manage keys.
Getting Your API Key
1
Navigate to Settings
Access Settings in your Toppie dashboard navigation
2
Select API Integration
Choose API Integration from the left-hand navigation menu
3
Create New Key
Click the ”+ New API Key” button to generate a new key
4
Save Immediately
Using Your API Key
Include your API key in theAuthorization header of each request:
Security Best Practices
Common Use Cases
- Campaign Automation
- Reporting Integration
- Budget Optimization
Automate campaign creation, budget adjustments, and performance optimization based on predefined rules and triggers. Build workflows that respond to performance thresholds or market conditions.Example scenarios:
- Automatically pause campaigns when ROAS drops below target
- Create new campaigns based on product catalog updates
- Read the bids Toppie sets for each target. A bid amount in a create or update request is ignored.