Get yesterday's App Store downloads and proceeds from your AI agent every day

Every day at noon: yesterday's first-time App Store downloads and proceeds, by app and country, set against the same weekday last week.

Runs
Daily at 12:00
Posts
Stat tile

From your apps to your board

How the skill works: your agent reads download yesterday's summary report from App Store Connect; vendor number from What you tell it, daily at 12:00, and gives you first-time downloads and the report in the chat.

Reads

  • App Store ConnectDownload yesterday's summary report
  • What you tell itVendor number
reads
Your agentClaude Code, Codex, Cursor or GeminiDaily at 12:00
posts

You get

  • First-time downloadsA stat tile on your board, with its trend
  • The report in the chatEvery run, with or without Briefkin

What you get

  • First-time downloads yesterday, the change on the same weekday last week, and 14 days of history.
  • Proceeds yesterday in one currency, from paid downloads, in-app purchases and subscriptions.
  • By app: downloads, in-app and subscription units, and proceeds.
  • Top countries by downloads, with their change.
  • One line on the mover worth a look, for example "Germany up 64%, almost all Habit Log".

The card on the right is a sample. Yours shows your own numbers and updates in place every run.

What lands on your board

Acme AppsFirst-time downloads1,248-14% vs previous period, worsevs last report
Proceeds$2,416+9.0% vs previous period
In-app and subscriptions312+6.0% vs previous period
Refunds4
↑ Germany +64%↑ Brazil +12%↓ Japan -9%
An example with made-up numbers. Your agent posts your real ones.

What it does

For indie developers and small app teams who open Sales and Trends every morning to see how yesterday went. The daily sales report mixes first downloads, updates, redownloads and in-app purchases in one file, and proceeds come per unit in each storefront's payout currency, so the number you want takes a spreadsheet to find.

The agent downloads yesterday's summary report, keeps first-time downloads apart from updates, multiplies proceeds out, and compares the day with the same weekday last week. A feature in one country or a pricing mistake shows up the next day instead of at month end.

How it works

  1. 1Download yesterday's summary report

    Call GET https://api.appstoreconnect.apple.com/v1/salesReports with filter[reportType]=SALES, filter[reportSubType]=SUMMARY, filter[frequency]=DAILY, filter[reportDate]=<yesterday> and your filter[vendorNumber], with an ES256 JWT signed by your API key. The response is a gzip file of tab-separated rows. If the API answers that a newer report version exists, pass the filter[version] it names.

  2. 2

    2Sort the rows by product type

    Count Units as first-time downloads only where Product Type Identifier is 1, 1F, 1T, F1 or a bundle or custom app code (1-B, F1-B, 1E, 1EP, 1EU). Leave out updates (7, 7F, 7T, F7) and redownloads (3, 3F), and count in-app purchases and subscriptions (IA1, IA9, IAY and their Mac codes) on their own line. Negative units are refunds.

  3. 3

    3Work out proceeds

    Developer Proceeds is per unit, so each row is worth Units times Developer Proceeds in its Currency of Proceeds. Convert the currencies to one with that day's exchange rate and name the rate source on the card; free downloads add nothing.

  4. 4

    4Compare and post

    Save each day's totals to a small JSON file so the tile has 14 days of history, and compare with the same weekday last week, since app downloads swing by day of week. Name the app and the country behind the biggest change.

  5. Post it to the board

    With BRIEFKIN_TOKEN set, the agent sends the result as one card that updates in place every run. Without it, you get the report in the chat.

Install and run it

Pick your agent, where the data comes from and how to schedule it; the commands below follow.

Agent
Data
Schedule
  1. Install the skill

    One command. It puts the SKILL.md in ~/.claude/skills and in ~/.agents/skills, which Codex, Cursor, Gemini CLI, Copilot CLI and OpenCode read too.

    shellcurl -fsSL https://briefkin.dev/skills/app-store-connect-daily-downloads-and-proceeds/install | sh
  2. Run it

    Ask Claude Code:

    promptRun the app-store-connect-daily-downloads-and-proceeds skill

    Or paste the prompt instead of installing:

    promptUsing the App Store Connect API (GET /v1/salesReports with reportType SALES, reportSubType SUMMARY, frequency DAILY, my vendor number and yesterday's date), unzip the tab-separated report and give me: first-time downloads (Product Type Identifier 1, 1F, 1T, F1 and the bundle and custom app codes, not updates 7/7F/7T/F7 or redownloads 3/3F), in-app purchase and subscription units, and proceeds (Units times Developer Proceeds, per Currency of Proceeds, converted to USD). Break it down by app and by the top 5 countries, and compare each number with the same weekday last week. End with the one change worth a look.
  3. Put it on a schedule

    Daily at 12:00, from cron on any machine where Claude Code is signed in:

    crontab0 12 * * * claude -p "Run the app-store-connect-daily-downloads-and-proceeds skill"

    Add it with crontab -e. A laptop asleep at that time runs it when it wakes if you use launchd or Task Scheduler instead; GitHub Actions works for the API route.

  4. Send it to your board

    Connect Briefkin once with curl -fsSL https://briefkin.dev/install | sh and every run lands on your board as a stat tile. How setup works

View the SKILL.mdRaw file
SKILL.md---
name: app-store-connect-daily-downloads-and-proceeds
description: "Every day at noon: yesterday's first-time App Store downloads and proceeds, by app and country, set against the same weekday last week. Use when the user asks for this, or when it runs on a schedule."
---

# App Store Connect daily downloads and proceeds

Every day at noon: yesterday's first-time App Store downloads and proceeds, by app and country, set against the same weekday last week.

For indie developers and small app teams who open Sales and Trends every morning to see how yesterday went. The daily sales report mixes first downloads, updates, redownloads and in-app purchases in one file, and proceeds come per unit in each storefront's payout currency, so the number you want takes a spreadsheet to find.

The agent downloads yesterday's summary report, keeps first-time downloads apart from updates, multiplies proceeds out, and compares the day with the same weekday last week. A feature in one country or a pricing mistake shows up the next day instead of at month end.

## Two ways to get the data

Use the API or MCP route when you have an MCP server, a CLI or an API token for the app. Otherwise, if you can drive a browser the user is signed in to (Claude in Chrome, a Playwright or Chrome DevTools MCP server), use the browser route. Say which one you used.

## Route A: API or MCP server

### What you need

- An App Store Connect Team API key (Users and Access > Integrations) with the Sales, Finance or Admin role: its Issuer ID, Key ID and `.p8` file. Sales reports refuse Individual keys.
- Your vendor number, shown on Payments and Financial Reports, and a way to sign the JWT: a short script with a JWT library, or an App Store Connect CLI or MCP server you already trust.

If something is missing, say what and stop; do not invent numbers.

### Steps

1. **Download yesterday's summary report** (App Store Connect): Call `GET https://api.appstoreconnect.apple.com/v1/salesReports` with `filter[reportType]=SALES`, `filter[reportSubType]=SUMMARY`, `filter[frequency]=DAILY`, `filter[reportDate]=<yesterday>` and your `filter[vendorNumber]`, with an ES256 JWT signed by your API key. The response is a gzip file of tab-separated rows. If the API answers that a newer report version exists, pass the `filter[version]` it names.
2. **Sort the rows by product type**: Count `Units` as first-time downloads only where `Product Type Identifier` is `1`, `1F`, `1T`, `F1` or a bundle or custom app code (`1-B`, `F1-B`, `1E`, `1EP`, `1EU`). Leave out updates (`7`, `7F`, `7T`, `F7`) and redownloads (`3`, `3F`), and count in-app purchases and subscriptions (`IA1`, `IA9`, `IAY` and their Mac codes) on their own line. Negative units are refunds.
3. **Work out proceeds**: `Developer Proceeds` is per unit, so each row is worth `Units` times `Developer Proceeds` in its `Currency of Proceeds`. Convert the currencies to one with that day's exchange rate and name the rate source on the card; free downloads add nothing.
4. **Compare and post**: Save each day's totals to a small JSON file so the tile has 14 days of history, and compare with the same weekday last week, since app downloads swing by day of week. Name the app and the country behind the biggest change.

## Route B: the browser

### What you need

- Signed in to App Store Connect with an account that has the Admin, Finance, or Sales role, or Access to Reports, on the team.
- The Sales and Trends view set to the currency you want the card in; the person sets it once.

If something is missing, say what and stop; do not invent numbers.

### Steps

Start at https://appstoreconnect.apple.com/trends. The user is signed in already; never type passwords or codes, and ask if a sign-in page appears.

1. **Open Sales and Trends for yesterday**: In App Store Connect open **Sales and Trends**, then the **Sales** tab. Set the date picker to yesterday (a single day) and the measure to **Units**. If you manage more than one team, pick the team first from the account menu in the top right.
2. **Keep only first-time downloads**: Open **Filters** and set **Transaction Type** to `First Time Download`, with **Product Type** left on apps. Group the table by **App** and note each app's units, then switch the grouping to **Territory** for the top five countries. Clear the transaction type filter and set Product Type to in-app purchases and subscriptions for the second unit count.
3. **Read proceeds**: Switch the measure to **Proceeds** with the same day and groupings. Sales and Trends shows proceeds in one currency already (the one chosen in the view settings), so no conversion is needed; note the currency on the card.
4. **Compare with the same weekday last week**: Change the date to seven days earlier and read the same numbers, or use the **Compare** control to show both days side by side. Work out the change per app and per country and name the biggest mover. The **Download** button above the table gives a CSV when there are more rows than the page shows.

Note: Yesterday's data appears in Sales and Trends the next day, generally by 8 a.m. Pacific Time; before that the day shows as empty. Proceeds here are an estimate in the view currency, so they will not match Apple's financial reports to the cent. The UI route works well for one or two apps; across many apps and countries the CSV download is quicker to read than paging the table.

## The report

- **First-time downloads** yesterday, the change on the same weekday last week, and 14 days of history.
- **Proceeds** yesterday in one currency, from paid downloads, in-app purchases and subscriptions.
- **By app**: downloads, in-app and subscription units, and proceeds.
- **Top countries** by downloads, with their change.
- One line on the mover worth a look, for example "Germany up 64%, almost all Habit Log".

## Post it to Briefkin

When `BRIEFKIN_TOKEN` is set, or `~/.config/briefkin/env` exists (the installer from https://briefkin.dev/docs writes it), also send the result to the user's Briefkin board as one card. Keep the `item_key` the same on every run so the card updates in place, use a new `event_id` per run, and put today's real numbers in place of the example ones. If the request fails, say so once and carry on.

```bash
[ -n "${BRIEFKIN_TOKEN:-}" ] || . ~/.config/briefkin/env
curl -sS -X POST "${BRIEFKIN_URL:-https://briefkin.dev}/v1/events" \
  -H "authorization: Bearer $BRIEFKIN_TOKEN" \
  -H "content-type: application/json" \
  -d @- <<'JSON'
{
  "v": 1,
  "event_id": "app-store-connect-daily-downloads-and-proceeds/<date of this run, e.g. 2026-10-16>",
  "item_key": "app-store-connect-daily-downloads-and-proceeds",
  "project": "Acme Apps",
  "source": "App Store Connect daily downloads and proceeds skill",
  "kind": "metric",
  "title": "Downloads up 11% on the same day last week",
  "metric": {
    "label": "First-time downloads",
    "value": 1248,
    "better": "higher",
    "period_start": "<start of the period, ISO 8601>",
    "period_end": "<end of the period, ISO 8601>"
  },
  "glance": [
    {
      "type": "Grid",
      "props": {
        "columns": 3
      },
      "children": [
        {
          "type": "Stat",
          "props": {
            "label": "Proceeds",
            "value": 2416,
            "prefix": "$",
            "delta": 9
          }
        },
        {
          "type": "Stat",
          "props": {
            "label": "In-app and subscriptions",
            "value": 312,
            "delta": 6
          }
        },
        {
          "type": "Stat",
          "props": {
            "label": "Refunds",
            "value": 4,
            "better": "lower"
          }
        }
      ]
    },
    {
      "type": "Badges",
      "props": {
        "items": [
          {
            "label": "↑ Germany +64%",
            "tone": "ok"
          },
          {
            "label": "↑ Brazil +12%",
            "tone": "ok"
          },
          {
            "label": "↓ Japan -9%",
            "tone": "bad"
          }
        ]
      }
    }
  ],
  "widget": [
    {
      "type": "Table",
      "props": {
        "columns": [
          "App",
          "Downloads",
          "In-app units",
          "Proceeds"
        ],
        "align": [
          "left",
          "right",
          "right",
          "right"
        ],
        "rows": [
          [
            "Habit Log",
            812,
            214,
            "$1,604"
          ],
          [
            "Focus Timer",
            391,
            98,
            "$812"
          ],
          [
            "Habit Log for Mac",
            45,
            0,
            "$0"
          ]
        ]
      }
    },
    {
      "type": "Table",
      "props": {
        "columns": [
          "Country",
          "Downloads",
          "vs same day last week"
        ],
        "align": [
          "left",
          "right",
          "right"
        ],
        "rows": [
          [
            "United States",
            418,
            "+6%"
          ],
          [
            "Germany",
            176,
            "+64%"
          ],
          [
            "United Kingdom",
            121,
            "+3%"
          ],
          [
            "Japan",
            88,
            "-9%"
          ],
          [
            "Brazil",
            74,
            "+12%"
          ]
        ]
      }
    },
    {
      "type": "Callout",
      "props": {
        "text": "Germany drove most of the rise: 176 downloads against 107 a week earlier, nearly all of them Habit Log.",
        "tone": "info"
      }
    }
  ],
  "size": "md"
}
JSON
```

Widgets come from the Briefkin catalog (https://briefkin.dev/v1/catalog). Without a token, just give the user the report.

Set `period_start` and `period_end` to the window the number covers: the tile names it from them ("Last 7 days", "Today", "This month"). For a count right now (open items, a balance), send `"period_label": ""` so no period shows; for another name, send it as `period_label` (at most 24 characters).

## Run it on a schedule

Suggested: Daily at 12:00 (`0 12 * * *`). From cron, with the agent signed in on that machine:

```bash
0 12 * * * claude -p "Run the app-store-connect-daily-downloads-and-proceeds skill"
# Codex: codex exec, Gemini CLI: gemini -p, Copilot CLI: copilot -p, OpenCode: opencode run
```

Or use the agent's own scheduler (Claude Code routines, Codex automations, Claude or ChatGPT scheduled tasks): https://briefkin.dev/skills/app-store-connect-daily-downloads-and-proceeds#schedule

Source: https://briefkin.dev/skills/app-store-connect-daily-downloads-and-proceeds

What your agent needs

  • An App Store Connect Team API key (Users and Access > Integrations) with the Sales, Finance or Admin role: its Issuer ID, Key ID and .p8 file. Sales reports refuse Individual keys.

  • Your vendor number, shown on Payments and Financial Reports, and a way to sign the JWT: a short script with a JWT library, or an App Store Connect CLI or MCP server you already trust.

Connecting App Store Connect

  1. MCP server. Apple doesn't publish one for App Store Connect. Community MCP servers exist and take the same API key, so check what they can change before you give one a key with a broad role.
  2. App Store Connect API with a team key. An Admin creates the key in App Store Connect under Users and Access > Integrations > App Store Connect API, picks its role, and downloads the .p8 private key, which can be downloaded only once. Individual keys can't read Sales and Finance, so sales reports need a team key. The skill reads ASC_ISSUER_ID, ASC_KEY_ID, ASC_PRIVATE_KEY_PATH and ASC_VENDOR_NUMBER, signs a short-lived ES256 JWT with them, and sends it as a Bearer token.

Give the key the narrowest role that covers the report: Sales for sales and trends, Customer Support for ratings and reviews. Avoid Admin and App Manager keys, which can change apps, pricing and users.

Questions

Why does the report fail early in the morning?

Apple publishes each daily Sales and Trends report the next day, generally by 8 a.m. Pacific Time, and the API has nothing for that date until then. Noon suits North America; in Europe or Asia, schedule the skill for the late afternoon or evening.

Why don't the proceeds match what Apple pays me?

Sales and Trends is for day-to-day tracking. Payments follow Apple's financial reports, which close by fiscal month and convert currencies when Apple pays. Reconcile money against those reports (GET /v1/financeReports), and treat this card as the daily trend.

Do I need Briefkin to use the App Store Connect daily downloads and proceeds skill?

No. The skill runs with your own agent and gives you the report in the chat. With a Briefkin token set, each run also posts it to your board as a stat tile, so you can glance at it instead of asking again.

Which agents can run it?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot CLI, OpenCode, Windsurf and Amp all read SKILL.md files. The install command puts it in ~/.claude/skills and ~/.agents/skills, where they look. ChatGPT, the Claude app and Grok take the prompt instead. Pick your agent under "Install and run it" and the commands change to match.

Can it work without an API or MCP server, from my browser?

Yes. Switch the data source to "Your browser" and the steps change to the App Store Connect pages themselves: the agent opens appstoreconnect.apple.com/trends in a browser you are signed in to and reads the numbers off the page. Claude Code, Codex, Cursor, Claude app and ChatGPT can drive a browser out of the box; Gemini CLI, Copilot CLI and OpenCode need a Playwright or Chrome DevTools MCP server first. It is slower than the API and needs you signed in, so it suits a report you run by hand or from a scheduler on your own computer.

Watch first-time downloads on your board, run after run

Skills are free to use with any agent. Briefkin is where their results land: one board for every report, number and question your agents send, with a ping when something needs you.

Free during the open beta. No card.