The AMC API is how a data team runs Amazon Marketing Cloud without clicking through the console. You save AMC SQL as a workflow, execute it for a time window, and collect the results as files your pipeline loads into a warehouse. The console is fine for exploring. The API is what makes AMC repeatable across many brands, instances and reporting periods.
Each platform detail below names the Amazon page it comes from, and the sources list links to every one. Amazon changes endpoints, limits and data windows, so treat the numbers as a starting point and confirm them in the current AMC docs before you build.
This guide covers how the AMC API is organized, how authentication works, the lifecycle of a query, the privacy and concurrency rules that shape your design, and what it really costs to run. If you are new to AMC itself, start with our Amazon Marketing Cloud explainer and come back for the engineering side.
What the Amazon Marketing Cloud API is
Amazon now serves the AMC APIs through the Amazon Ads API. Amazon's AMC migration guide says the older instance-level APIs were retired on August 1, 2024, and that calls to them may return 410 errors. If an old script still points at those endpoints, it needs a migration before anything else.
The current AMC API groups its resources by job:
- Accounts and instances (
/amc/accounts,/amc/instances) to find which AMC instances your credentials can reach. - Workflows (
/amc/reporting/{instanceId}/workflows). Amazon describes a workflow as mapping one to one with a SQL query, so a workflow is a saved, named query. - Workflow executions (
/amc/reporting/{instanceId}/workflowExecutions) to run a workflow for a time window and track its status. - Download URLs (
.../workflowExecutions/{id}/downloadUrls) to fetch the result files. - Schedules (
/amc/reporting/{instanceId}/schedules) for recurring runs. - Data sources (
/amc/reporting/{instanceId}/dataSources) to list the tables and columns your instance has. - Audiences and advertiser data (
/amc/audiences/...,/amc/advertiserData/...) for building audiences and uploading first-party data.
Amazon's AMC migration guide also says an AWS account is not a mandatory requirement for AMC API access. Teams that want results delivered to S3 still connect a bucket, but it is optional.
Authentication and headers
The AMC API uses the same Login with Amazon OAuth flow as the rest of the Amazon Ads API. Amazon's AMC "make your first call" guide lists four headers on each call:
Authorization: Bearer {access_token}Amazon-Advertising-API-ClientId, your Ads API client IDAmazon-Advertising-API-AdvertiserId, which for AMC is the AMC account ID (or the manager account ID), not a profile IDAmazon-Advertising-API-MarketplaceId, a header that Amazon says is specific to AMC
The scope is advertising::campaign_management. Amazon's migration guide says audience and advertiser data upload features also need data provider access, which adds the advertising::audiences scope. If you already run Ads API pipelines, the token handling is the same. Our guide to getting Amazon Ads API access covers the app registration side.
One practical point: store the AMC account ID and marketplace with each instance in your config table. A wrong account ID is the most common reason a valid token still gets refused.
The lifecycle of an AMC query
Every automated AMC report follows the same path.
Create the workflow. You send a workflow ID and the SQL text. Keep the SQL in version control and deploy it to each instance from there, so every brand runs the same logic.
Execute it for a time window. An execution names the workflow and a timeWindowType. Amazon's AMC guide to executing workflows lists EXPLICIT (you pass a start and end), MOST_RECENT_DAY (the default), MOST_RECENT_WEEK, CURRENT_MONTH and PREVIOUS_MONTH. For warehouse loads, explicit windows are easier to reason about and to backfill.
Poll the status. Executions move through PENDING, RUNNING and then SUCCEEDED, FAILED or CANCELLED. Amazon's ad hoc workflow guide says executions often take at least 15 minutes, so poll with a long interval and never block a worker on one query. Run times vary with the query and the data volume.
Download the results. Results come back as CSV, either from a pre-signed download URL or written to a connected S3 bucket. Amazon's schedule guide says scheduled reports arrive in S3 approximately six to seven hours after the scheduled run time, so plan dashboard refreshes around that delay and check the guide for changes.
A minimal execution request looks like this:
{
"workflowId": "sp_dsp_overlap_daily",
"timeWindowType": "EXPLICIT",
"timeWindowStart": "2026-11-01T00:00:00",
"timeWindowEnd": "2026-11-08T00:00:00"
}
Data freshness and lookback
AMC is not real time. Amazon's AMC FAQ describes a data availability SLA of 48 hours, and Amazon's guide to executing workflows recommends date ranges that end 48 hours before the current date. A daily job should therefore query a window that is already outside that SLA, then re-run recent windows once the data settles.
Lookback has been growing. Amazon's unBoxed 2025 announcement says the AMC ad traffic lookback window expands from 13 months to 25 months, starting as an open beta in the US and Canada. The same announcement says other locales were to follow in early 2026. Check what your own instance shows before you promise a client a long backfill, because availability depends on locale and rollout.
Privacy rules that shape your SQL
AMC returns aggregates, never raw events. Amazon's AMC SQL limitations page says raw data cannot be exported, and each column carries an aggregation threshold.
- Low columns, such as campaign dimensions, need at least two distinct users per row, according to Amazon's aggregation threshold docs.
- Medium and High columns need at least one hundred distinct users per row in Amazon's rules, and High columns also block filters on literal values.
- Very high columns, such as
user_id, can never appear in the final output.
Rows that miss a threshold are filtered out by default. You can ask the API to keep them with null metrics and a flag column instead, using filteredMetricsDiscriminatorColumn. We recommend that for warehouse loads, because a missing row and a filtered row look the same in a dashboard unless you keep the flag.
Amazon's guide to executing workflows also says an execution is rejected when too many workflows have already run against the same data sources in the same or overlapping time windows. That rule matters for backfills: a loop that re-runs dozens of overlapping windows can lock itself out. Design backfills as non-overlapping windows and log every execution.
Concurrency, rate limits and retries
Amazon's AMC FAQ says 10 workflow executions can run in parallel per instance through the API, and 200 at the account level. Queued executions are not capped, but they wait. Amazon can change these limits, so read them from config rather than hard-coding them. An agency with many instances needs a scheduler that spreads work across instances instead of firing everything at once.
Request rate limits are not published as fixed numbers. Amazon's AMC FAQ says they differ by API and are subject to change, that going over them returns a 429 error, and that clients should use backoff with jitter rather than code to a specific limit. The same patterns we describe in ad platform API rate limits apply here.
For testing, Amazon's AMC sandbox guide describes sandbox instances that hold synthetic data only. Use them to validate SQL, schedules and parsing before a query ever touches a client's live instance.
From AMC results to a warehouse
The API gives you files. The value comes when those files sit next to the rest of your ad data. A typical design:
- A workflow registry table: workflow ID, SQL version, instances it runs on, schedule and owner.
- An execution log: instance, workflow, window, status, row count, filtered-row count and run time.
- A landing area in S3 or cloud storage, then a load into Snowflake, BigQuery, Redshift or Databricks.
- Models that join AMC output to Amazon Ads reporting, DSP data and other channels, with one agreed definition of each metric.
- Alerts for failed executions, empty results and row counts that drop sharply.
Our marketing data warehouse work usually hosts this layer, and Amazon Ads data pipelines feed the console metrics it is compared with.
What running AMC through the API costs
Amazon says AMC is available at no cost to eligible advertisers through the UI and the API. Paid Features are separate: Amazon sells some enhanced datasets as subscriptions, and the terms change, so check the Paid Features tab in your AMC console for current pricing.
For most teams, the real cost is engineering time, not fees:
- SQL development for each business question, written around the aggregation thresholds.
- Pipeline work: scheduling, polling, downloading, loading and modeling results.
- Maintenance when Amazon adds tables, renames fields or changes an endpoint.
- Operations: monitoring, retries and handling filtered rows across every instance.
Count instances, standing queries and audiences when you budget. Ten queries on one brand is a small job. The same ten queries across many brands needs a scheduler, a registry and an owner.
How we approach AMC API work
We build Amazon Marketing Cloud services as part of a wider ad data system: workflow libraries in version control, schedulers that respect the concurrency rules, and results landed in a warehouse the client owns. For Tinuiti, Amazon Marketing Cloud was integrated into the unified data layer for deeper audience insights.
If you are planning AMC automation and want a second opinion on the design, a free 30-minute call is a good place to start.
Frequently asked questions
Is the Amazon Marketing Cloud API free to use?
Amazon says AMC is available at no cost to eligible advertisers through the web interface and the API. Some enhanced datasets are sold as Paid Features subscriptions, with pricing shown in the AMC console. The larger cost for most teams is the engineering work: writing SQL, building the pipeline and maintaining queries when Amazon changes the schema.
Do I need an AWS account to use the AMC API?
No. Amazon's AMC migration guide states that an AWS account is not a mandatory requirement for AMC API access. You can download results from pre-signed URLs. An S3 bucket is only needed if you want results delivered there automatically.
Can I export user-level data from AMC through the API?
No. AMC returns aggregated results only, and columns such as user_id can never appear in the final output. Rows that fall below a column's aggregation threshold are filtered out, or returned with null metrics and a flag column if you ask for that.
How many AMC queries can run at the same time?
Amazon's AMC FAQ lists 10 parallel workflow executions per instance through the API and 200 at the account level. Extra executions queue rather than fail, so a scheduler that spreads work across instances keeps daily loads on time.
Should AMC results live in the same warehouse as other ad data?
Usually, yes. AMC answers questions such as path to purchase and channel overlap, and those answers are most useful next to Amazon Ads console metrics, DSP data and other channels. Keep an execution log beside the results so analysts can see the window, status and filtered rows behind every number.
Sources
- Amazon Ads: Amazon Marketing Cloud (no cost to eligible advertisers via UI and API)
- Amazon Ads API: AMC migration guide (instance-level APIs retired August 1, 2024, 410 errors; AWS account not mandatory)
- Amazon Ads API: AMC make your first call (required headers and scopes)
- Amazon Ads API: Execute an AMC workflow (timeWindowType values; date ranges ending 48 hours before today; overlapping-window rejections)
- Amazon Ads API: Ad hoc AMC workflows (executions often take at least 15 minutes)
- Amazon Ads API: Schedule an AMC workflow (results in S3 about 6 to 7 hours after the run)
- Amazon Ads API: Create an AMC workflow (filteredMetricsDiscriminatorColumn)
- Amazon Ads API: AMC aggregation thresholds (2 distinct users for Low, 100 for Medium and High)
- Amazon Ads API: AMC FAQs (48-hour data availability SLA; 10 parallel executions per instance, 200 per account)
- Amazon Ads API: AMC SQL limitations (raw data cannot be exported)
- Amazon Ads API: AMC sandbox (synthetic data instances)
- Amazon Ads: AMC ad traffic lookback expanded from 13 to 25 months (unBoxed 2025, US and Canada open beta)