Skip to main content
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.
The Toppie API provides public endpoints to manage and analyze agency accounts, campaigns, and financial activity across multiple retail partners.

Toppie API Reference

View the complete API documentation with all available endpoints

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 - Role-based permissions for data and capabilities

API Capabilities

The Toppie API provides comprehensive functionality through the following endpoints:
Upload, update, and manage product catalogs across retail partners. Keep inventory synchronized and ensure accurate product information for your campaigns.
Create, update, pause, and delete Sponsored Listings. Set the budget, product targets, and target ROAS. Banner campaigns can be read through the API and are managed in the Toppie UI.
Retrieve real-time performance data including impressions, clicks, conversions, ROAS metrics, and ad spend. Generate custom reports with specific date ranges and metric selections.
Track account balances, view transaction history, and manage billing programmatically. Implement custom budget allocation algorithms based on performance metrics.
Create and update support Sponsored Listings only. Banner campaigns are included in read responses and are managed 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 authentication using API keys with token-based authentication. This ensures secure access to your campaigns and data.

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

Copy and save your API key immediately—it will only be displayed once for security reasons

Using Your API Key

Include your API key in the Authorization header of each request:

Security Best Practices

Security Guidelines:
  • Never share API keys in code repositories or public channels
  • Rotate keys regularly for enhanced security
  • Use environment variables or secure vaults to store keys
  • Monitor API usage for any unusual activity
  • Implement proper access controls in your applications

Common Use Cases

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.

API Documentation

For complete API reference documentation including endpoint specifications, parameters, request/response examples, and error handling guidelines, visit the Toppie API Reference.