Supermetrics APIs give developers and technical teams programmatic access to your marketing data and your Supermetrics setup. Pick the tool that fits your task.
You can also use the MCP servers to connect to our APIs.
Availability
The APIs and the MCP servers need a Supermetrics subscription that includes the API. To get access, contact your Supermetrics account manager.
Want to chat with your data in Claude, ChatGPT, Gemini Enterprise, or Copilot with no setup? Use AI chats instead.
Our APIs
Data API | Platform API | |
|---|---|---|
What it does | Pulls marketing data from supported data sources | Controls your Supermetrics environment |
Use it to | Feed your own app, interface, AI model, or BI tool | Automate setup of users, connections, data transfers, and connectors |
MCP server available | Supermetrics MCP server | Supermetrics Platform MCP server |
Get started
Read how authentication works.
Run your first query, or watch the tutorial videos to learn more.
These tutorial videos help you get started:
Data API tutorials: Learn about API keys and service accounts, your first query, async and batch queries, date ranges and comparisons, output formats, data source and field discovery, and pulling data with the Supermetrics MCP server, CLI, and Python SDK
Platform API tutorials: Learn about logins and login links, Custom Fields and data blends with Claude Code, table groups, BigQuery and other data warehouse and data lake destinations, data transfers, backfills, and branded authentication
Feature highlights
Data API
Async queries: Run long queries and collect the results later.
Data pivoting: Turn field values into columns.
Date range comparison and relative dates: Compare periods and get data for moving dates.
Pagination and query settings: Page through large results and change query behavior.
Output formats: Get results as JSON, Records JSON, NDJSON, Parquet (preview), CSV, TSV, Qlik, or Tableau.
Use the Data API with the Supermetrics MCP server
With the Supermetrics MCP server, you can use one connection to all data sources in your account. You can view performance comparisons across platforms in one view in your AI tools. On top of that, you can set up campaign checks and alerts from your AI tools and make the necessary edits.
See Supermetrics MCP server guide for more details about the setup.
Platform API
Users, roles, workspaces, subscriptions, API keys, and usage reports
Data source logins and login links, including branded sign-in for your customers
Data transfers, backfills, destinations, and table groups for your data warehouse
Custom Fields, Data Blending, and account tags
Custom connectors with Connector Builder
Use the Platform API with the Supermetrics Platform MCP server
With the Supermetrics Platform MCP server, you can set up and run your data pipelines from your AI tools. It enables you to manage data warehouse transfers, backfills, and table groups. You can also set up and modify custom fields and data blends.
See Supermetrics Platform MCP guide for more details about the setup.
Work from your terminal or code
CLI: Get data, manage login links, and trigger data warehouse backfills from the command line
Python SDK: Do the same from Python scripts, notebooks, and apps, with synchronous and async clients