Skip to main content

asc-cli

A powerful command-line interface for Apple App Store Connect API.

License Python codecov

Overview

asc-cli brings App Store Connect to your terminal. Manage subscriptions, pricing, TestFlight, and more without leaving the command line.

# Configure pricing for all territories
asc subscriptions pricing set --product pro.monthly --price 2.99

# Add a free trial
asc subscriptions offers create --product pro.monthly --type free-trial --duration 14d

# List TestFlight builds
asc testflight builds list --app "My App"

# Submit for review
asc apps submit --app "My App" --version 1.0.0

Features

  • Subscriptions - Create, configure, and manage auto-renewable subscriptions
  • Pricing - Set prices across 175 territories with a single command
  • Introductory Offers - Configure free trials, pay-as-you-go, and pay-up-front offers
  • Promotional Offers - Manage promotional pricing campaigns
  • TestFlight - Manage builds, beta groups, and testers
  • App Management - Submit apps, manage versions, and more
  • Bulk Operations - Apply changes across multiple products/territories

Installation

Using pip

pip install asc-cli

Using Homebrew (coming soon)

brew install yooz-labs/tap/asc-cli

From source

git clone https://github.com/yooz-labs/asc-cli.git
cd asc-cli
pip install -e .

Quick Start

1. Get API Credentials

  1. Go to App Store Connect
  2. Navigate to Users and Access → Integrations → App Store Connect API
  3. Generate a new key with Admin or App Manager role
  4. Download the .p8 private key file
  5. Note the Key ID and Issuer ID

2. Configure Authentication

# Interactive setup
asc auth login

# Or set environment variables
export ASC_ISSUER_ID="your-issuer-id"
export ASC_KEY_ID="your-key-id"
export ASC_PRIVATE_KEY_PATH="~/.asc/AuthKey_XXXXX.p8"

3. Start Using

# List your apps
asc apps list

# Get subscription info
asc subscriptions list --app "My App"

# Set pricing
asc subscriptions pricing set --subscription "pro.monthly" --price 2.99

Command Reference

Authentication

asc auth login              # Interactive authentication setup
asc auth status             # Check authentication status
asc auth logout             # Remove stored credentials

Apps

asc apps list               # List all apps
asc apps info <bundle-id>   # Get app details
asc apps submit             # Submit for App Review

Subscriptions

asc subscriptions list                    # List subscription groups
asc subscriptions create                  # Create a new subscription
asc subscriptions delete <id>             # Delete a subscription
asc subscriptions pricing list            # List current pricing
asc subscriptions pricing set             # Set pricing
asc subscriptions offers list             # List introductory offers
asc subscriptions offers create           # Create an offer
asc subscriptions offers delete           # Delete an offer

TestFlight

asc testflight builds list                # List builds
asc testflight builds expire <id>         # Expire a build
asc testflight groups list                # List beta groups
asc testflight groups create              # Create a beta group
asc testflight testers list               # List testers
asc testflight testers add                # Add a tester
asc testflight testers remove             # Remove a tester

Bulk Operations

asc bulk pricing --file pricing.yaml      # Apply pricing from YAML
asc bulk offers --file offers.yaml        # Apply offers from YAML

Configuration Files

Pricing Configuration (pricing.yaml)

subscriptions:
  - product_id: com.example.app.pro.monthly
    base_price: 2.99
    currency: USD
    territories: all  # or list specific ones

  - product_id: com.example.app.pro.yearly
    base_price: 29.99
    currency: USD
    territories:
      - USA
      - GBR
      - DEU

Offers Configuration (offers.yaml)

introductory_offers:
  - product_id: com.example.app.pro.monthly
    type: free-trial
    duration: 14  # days
    territories: all

  - product_id: com.example.app.pro.monthly
    type: pay-as-you-go
    duration: 3  # months
    price: 1.99
    territories: all

Environment Variables

Variable Description
ASC_ISSUER_ID App Store Connect Issuer ID
ASC_KEY_ID API Key ID
ASC_PRIVATE_KEY_PATH Path to .p8 private key file
ASC_PRIVATE_KEY Private key contents (alternative to path)

Contributing

Contributions are welcome! Please read our Contributing Guide for details.

Legal

This tool is not affiliated with, endorsed by, or sponsored by Apple Inc. App Store Connect is a trademark of Apple Inc.

Users are responsible for complying with Apple's App Store Connect API Terms of Service.

Documentation

Full documentation available at docs.yooz.live/tools/asc-cli.

License

BSD 3-Clause License - see LICENSE for details.

Metadata

Release files for asc-cli 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for asc-cli 0.2.1
File Size Uploaded Provenance
asc_cli-0.2.1.tar.gz 154.5 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for asc-cli 0.2.1
File Interpreter ABI Platform
asc_cli-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 180.8 kB

Release files / asc_cli-0.2.1.tar.gz

Download URL asc_cli-0.2.1.tar.gz
Size 154.5 kB
Tags Source
SHA-256 checksum
How to use checksums
e6113c99158074ee6d1c986253d7449686904b0980f99fd803342ff00b573cc7
BLAKE2b-256 checksum
How to use checksums
fbdd71a92292d3038eec688836b3eb2e0eb91b6807a9225c6902e3538fd820f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 5, 2026.

Transparency log

Release files / asc_cli-0.2.1-py3-none-any.whl

Download URL asc_cli-0.2.1-py3-none-any.whl
Size 26.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d0b8880a8af33e7e5d10233d1905771f6350d87a437176a00f0e64e8eb7d73bf
BLAKE2b-256 checksum
How to use checksums
84c3b719d1f299141cbb600e9cfc709df3000d0bf3ba0a0c360e01221d26bb57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 5, 2026.

Transparency log

Security for asc-cli 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for asc_cli-0.2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Jan 5, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page