RevenueCat
Query RevenueCat metrics and search documentation.
Config
Set RC_API_KEY environment variable, which should be a v2 secret API key.
Context
Query the RevenueCat API (GET /projects) to get information about the project you have access to. Your RevenueCat API key allows access to a single project. Use the project ID in subsequent API calls.
API Access
{baseDir}/scripts/rc-api.sh <endpoint>
Example: {baseDir}/scripts/rc-api.sh /projects to list projects.
Local API Reference
Start with {baseDir}/references/api-v2.md for auth, pagination, and common patterns. Then load the domain file you need:
| Domain |
File |
Covers |
| Customers |
references/customers.md |
CRUD, attributes, aliases, entitlements, subscriptions, purchases, invoices, virtual currencies, actions |
| Subscriptions |
references/subscriptions.md |
List, get, transactions, cancel, refund, management URL |
| Products |
references/products.md |
CRUD, create in store, test prices |
| Offerings |
references/offerings.md |
Offerings, packages, package products |
| Entitlements |
references/entitlements.md |
CRUD, attach/detach products |
| Purchases |
references/purchases.md |
List, get, refund, entitlements |
| Projects |
references/projects.md |
Projects, apps, API keys, StoreKit config |
| Metrics |
references/metrics.md |
Overview metrics, charts, chart options |
| Paywalls |
references/paywalls.md |
Paywall creation |
| Integrations |
references/integrations.md |
Integrations CRUD |
| Virtual Currencies |
references/virtual-currencies.md |
Virtual currencies CRUD |
| Error Handling |
references/error-handling.md |
Error handling |
| Rate Limits |
references/rate-limits.md |
Rate limits |
Only load the reference file relevant to the current task — don't load them all.
Remote Documentation Search
The RevenueCat documentation is available at https://www.revenuecat.com/docs. Use https://www.revenuecat.com/docs/llms.txt and /sitemap.xml as a guide to the content that is available. Add .md to the end of a documentation URL to get the markdown version of the page.
1---2name: revenuecat3description: RevenueCat metrics, customer data, and documentation search. Use when querying subscription analytics, MRR, churn, customers, or RevenueCat docs.4---56# RevenueCat78Query RevenueCat metrics and search documentation.910## Config1112Set `RC_API_KEY` environment variable, which should be a v2 secret API key.1314## Context1516Query the RevenueCat API (`GET /projects`) to get information about the project you have access to. Your RevenueCat API key allows access to a single project. Use the project ID in subsequent API calls.1718## API Access1920```bash21{baseDir}/scripts/rc-api.sh <endpoint>22```2324Example: `{baseDir}/scripts/rc-api.sh /projects` to list projects.2526## Local API Reference2728Start with `{baseDir}/references/api-v2.md` for auth, pagination, and common patterns. Then load the domain file you need:2930| Domain | File | Covers |31| ------------------ | ---------------------------------- | -------------------------------------------------------------------------------------------------------- |32| Customers | `references/customers.md` | CRUD, attributes, aliases, entitlements, subscriptions, purchases, invoices, virtual currencies, actions |33| Subscriptions | `references/subscriptions.md` | List, get, transactions, cancel, refund, management URL |34| Products | `references/products.md` | CRUD, create in store, test prices |35| Offerings | `references/offerings.md` | Offerings, packages, package products |36| Entitlements | `references/entitlements.md` | CRUD, attach/detach products |37| Purchases | `references/purchases.md` | List, get, refund, entitlements |38| Projects | `references/projects.md` | Projects, apps, API keys, StoreKit config |39| Metrics | `references/metrics.md` | Overview metrics, charts, chart options |40| Paywalls | `references/paywalls.md` | Paywall creation |41| Integrations | `references/integrations.md` | Integrations CRUD |42| Virtual Currencies | `references/virtual-currencies.md` | Virtual currencies CRUD |43| Error Handling | `references/error-handling.md` | Error handling |44| Rate Limits | `references/rate-limits.md` | Rate limits |4546Only load the reference file relevant to the current task — don't load them all.4748## Remote Documentation Search4950The RevenueCat documentation is available at https://www.revenuecat.com/docs. Use https://www.revenuecat.com/docs/llms.txt and /sitemap.xml as a guide to the content that is available. Add .md to the end of a documentation URL to get the markdown version of the page.