Wealth Expression

Height Of Stacked Money

Given a wealth and type of money, returns the height of a stack of the specified-wealth in the specified-type-of-money.

get/heightOfMoneyStack

Request

  • Base URL: https://api.wegtultrarich.org/v1
  • URL: https://api.wegtultrarich.org/v1/heightOfMoneyStack
  • Auth: none required

Query parameters

number required

a numeric amount with or without decimal places

OR
string required

a string with a local-formatted number (like 1,000,000) or shorthand (like 1M) with or without a URL-encoded currency symbol

Example:1000000000

Wealth is the amount of money to be described via this expression.

typeOfMoney'usd_1_coin' | 'usd_100_bill' | 'cad_1_coin' | 'cad_100_bill' | 'eur_1_coin' | 'eur_100_bill' | 'gbp_1_coin' | 'gbp_100_bill' | 'cny_1_coin' | 'cny_100_bill' | 'inr_1_coin' | 'inr_100_bill' | 'krw_1_coin' | 'krw_1000_bill' | 'rub_1_coin' | 'rub_100_bill' | 'try_1_coin' | 'try_100_bill' | 'chf_1_coin' | 'chf_100_bill' | 'brl_1_coin' | 'brl_100_bill' required

Type Of Money is the money to be stacked (the crux of this expression): * usd_1_coin - Dollar Coins (USD; 2 mm per coin); * usd_100_bill - Hundred-Dollar Bills (USD; 0.11 mm per bill); * cad_1_coin - Loonies (CAD; 1.95 mm per coin); * cad_100_bill - Hundred-Dollar Bills (CAD; 0.0875 mm per bill); * eur_1_coin - Euro Coins (EUR; 2.33 mm per coin); * eur_100_bill - Hundred-Euro Bills (EUR; 0.12 mm per bill); * gbp_1_coin - Pound Coins (GBP; 2.8 mm per coin); * gbp_100_bill - Hundred-Pound Bills (GBP; 0.0825 mm per bill); * cny_1_coin - Yuan Coins (CNY; 1.85 mm per coin); * cny_100_bill - Hundred-Yuan Bills (CNY; 0.1 mm per bill); * inr_1_coin - Rupee Coins (INR; 1.45 mm per coin); * inr_100_bill - Hundred-Rupee Bills (INR; 0.11 mm per bill); * krw_1_coin - Won Coins (KRW; 1.45 mm per coin); * krw_1000_bill - Thousand-Won Bills (KRW; 0.1 mm per bill); * rub_1_coin - Ruble Coins (RUB; 1.5 mm per coin); * rub_100_bill - Hundred-Ruble Bills (RUB; 0.1 mm per bill); * try_1_coin - Lira Coins (TRY; 2 mm per coin); * try_100_bill - Hundred-Lira Bills (TRY; 0.105 mm per bill); * chf_1_coin - Franc Coins (CHF; 1.55 mm per coin); * chf_100_bill - Hundred-Franc Bills (CHF; 0.11 mm per bill); * brl_1_coin - Real Coins (BRL; 1.95 mm per coin); or * brl_100_bill - Hundred-Real Bills (BRL; 0.105 mm per bill).

Response

a JSON object with response data

statusstring required

Example response

{
  "status": "success",
  "data": {
    "value": 2000000,
    "unit": "meters",
    "type": "dollar coins",
    "phrase": "1,243 Miles (2,000 km)",
    "sentence": "A person with a wealth of $1,000,000,000 would have a stack of dollar coins 1,243 miles (2,000 km) high!",
    "scale": "That's about 10 times the distance of a roundtrip to the edge of space (Kármán Line)."
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.