PPP
Open Source

Make your products affordable worldwide

Not everyone can pay Western prices. Use Purchasing Power Parity to automatically adjust your pricing so customers from every country can access your products.

How it works

Three simple concepts behind fair global pricing

What is PPP?

Purchasing Power Parity measures the relative cost of living between countries. A dollar buys different amounts of goods depending on where you are.

Why it matters

A $99 product is affordable in the US, but could cost a week's salary in some countries. PPP helps you price fairly for every market.

How to use it

Call the PPP API with a country code, get back a conversion factor, and multiply it by your base price. That's it.

$99 product adjusted by PPP

🇺🇸

United States

$99.00

Base price

🇩🇪

Germany

$80.19

19% discount

🇧🇷

Brazil

$40.59

59% discount

🇮🇳

India

$26.73

73% discount

Price Calculator

Enter your product price in USD and see what it should cost in different countries based on purchasing power parity.

$
USD

All Countries

Complete list of PPP conversion factors. A factor below 1 means the country has lower purchasing power than the US.

Simple API

One HTTP request. No API key required. Just pass a country code and get the PPP conversion factor.

GEThttps://ppp-api.fly.dev/?target={COUNTRY_CODE}

Replace COUNTRY_CODE with an ISO 3166-1 alpha-2 code (e.g., US, DE, BR)

Usage Example

JavaScript
// Fetch PPP data for Indonesia
const response = await fetch(
  "https://ppp-api.fly.dev/?target=ID"
);
const data = await response.json();

// data.pppConversionFactor = 0.23
// Adjust your price:
const adjustedPrice = 99 * data.pppConversionFactor;
// → $22.77

API Response

JSON
{
  "countryCodeIsoAlpha2": "ID",
  "countryCodeIsoAlpha3": "IDN",
  "currenciesCountry": {
    "IDR": {
      "symbol": "Rp",
      "name": "Indonesian rupiah"
    }
  },
  "currencyMain": {
    "exchangeRate": 15947.5,
    "name": "USD",
    "symbol": "$"
  },
  "ppp": 4917.56,
  "pppConversionFactor": 0.31
}