apyhub
E-COMMERCE QUICK TOOLS

Global Pricing Recommendations API

What it does

Global Pricing Recommendations helps you generate country-specific subscription prices from a base price, base currency, and home country. Send the pricing inputs and get back a list of recommended prices for multiple markets.

Each recommendation includes a countryCode, countryName, recommendedPrice, and a justification explaining how the price was derived. The service also accepts billingFrequency (monthly, weekly, or annually) and an optional annualDiscountPercent for annual plans, so you can align recommendations with your billing model.

Use it when you need to localize SaaS pricing across regions without manually rebuilding a pricing table for every market. For example, you can generate localized price suggestions for launch planning, regional packaging, or market-entry analysis while keeping the response machine-readable for downstream workflows.

The output is structured for easy automation: loop through the returned recommendations array, present the suggested local price to your internal team, or feed it into pricing experiments and dashboards.

POST
Generate Global Pricing Recommendations
https://api.eu.apyverse.com/namastesumalya/generate-global-pricing-recommendations

QUICKSTART

GUIDE

Quickstart

Generate pricing recommendations for a subscription plan using your base price, currency, and home market.

curl -X POST "https://api.eu.apyverse.com/namastesumalya/generate-global-pricing-recommendations" \
  -H "apy-token: $APY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "basePrice": 29.99,
    "baseCurrency": "USD",
    "homeCountry": "USA"
  }'

What you'll get back

Returns a JSON object with a recommendations array. Each item is an object with countryCode, countryName, justification, and recommendedPrice fields for one market.

{
  "recommendations": [
    {
      "countryCode": "IN",
      "countryName": "India",
      "justification": "Adjusted from your base price using Purchasing Power Parity (PPP), local wage data, and currency conversion for a monthly billing cycle.",
      "recommendedPrice": "₹499"
    }
  ]
}
TRY ITLIVE · 100 ATOMS
Loading your default key…
The full key is used to call the gateway and stays in this tab — never sent to orbit or saved.
body*
Request body for generating global pricing recommendations.
Base subscription price in the home market.
ISO 3166-1 alpha-2 two-letter country code representing the home market (e.g., USA, IN, GB).
ISO 4217 currency code for the base price (e.g., USD, EUR, INR).
Billing cycle for the subscription. Defaults to monthly if not provided.
Discount percentage applied for annual billing plans. Must be between 0 and 100.

About this endpoint

What it does

Generates global pricing recommendations from a base subscription price, base currency, and home country. The response returns a list of country-specific pricing recommendations with the country code, country name, justification, and formatted recommended price.

Request Body

ParameterTypeMandatoryDescription
basePriceNumberYesBase subscription price in the home market.
homeCountryStringYesISO 3166-1 alpha-2 two-letter country code representing the home market (e.g., US, IN, GB).
baseCurrencyStringYesISO 4217 currency code for the base price (e.g., USD, EUR, INR).
billingFrequencyENUMNoBilling cycle for the subscription. Allowed values: monthly, weekly, annually. Default: monthly.
annualDiscountPercentNumberNoDiscount percentage applied for annual billing plans. Must be between 0 and 100.

Response

Returns a JSON object with a recommendations array field. Each item in the array is an object containing countryCode, countryName, justification, and recommendedPrice.

ParameterTypeMandatoryDescription
recommendationsObject ArrayNoList of pricing recommendations, one per country.
recommendations[].countryCodeStringNoISO 3166-1 alpha-2 two-letter country code.
recommendations[].countryNameStringNoFull name of the country.
recommendations[].justificationStringNoExplanation of how the recommended price was derived for this market.
recommendations[].recommendedPriceStringNoRecommended price formatted with the local currency symbol and amount.

Body

Name
Type
Description
bodyREQUIRED
object
Request body for generating global pricing recommendations.
▣ COMMON ERRORS

Errors any endpoint can return

400bad_request

Required parameter missing or malformed body.

401unauthorized

API key missing, revoked, or not authorized for this service.

429rate_limited

Your plan's per-second rate exceeded. Retry with exponential backoff.

503upstream_busy

Backend temporarily unavailable. Try again in a few seconds.