Prices and offer codes
get_pricing_offersRetrieve product prices and offer codes for one app per product and country, including price periods, trials, conversions, revenue and redemptions across the plan's history window.
Instructions
Product prices and offer codes for one app from the RevenueCat or Adapty webhook, over the plan's history window (9 months on Pro, up to 18 months on Studio; history.days and history.since give the exact window): per product and country, the price in force now (currency, local price, since when) and every fixed-price period with its trial starts, new paid subscriptions, trial conversions and revenue, plus each offer code with its first and last day and redemptions. A price change shows up as a new period, so before/after is read period by period. connected=false means neither webhook is connected.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"appId": "<appId>"
},
"name": "get_pricing_offers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| appId | Yes | app id from list_apps | |
| country | No | two-letter country code to narrow to one storefront | |
| product | No | store product id to narrow to one product |