Wealth Expression

Number Of Items Paid For

Given a wealth and type of item, returns the number of specified-items the specified-wealth could buy or pay for/off. Note — Item prices are approximate U.S. benchmark prices denominated in USD. A currency symbol supplied with a wealth value changes the currency label shown in the result; it does not convert or localize the item prices. Until localized item sets are introduced, use USD wealth values for the most meaningful purchasing-power results.

get/numberOfItems

Request

  • Base URL: https://api.wegtultrarich.org/v1
  • URL: https://api.wegtultrarich.org/v1/numberOfItems
  • 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.

typeOfItem'fancy_coffee' | 'quick_meal' | 'dinner_with_drinks' | 'iphone' | 'month_of_childcare' | 'rent_or_mortgage_payment' | 'year_of_low_minimum_wage_salary' | 'year_of_high_minimum_wage_salary' | 'student_loan_debt' | 'car' | 'year_of_salary_65k' | 'year_of_salary_100k' | 'luxury_car' | 'house' | 'yacht' | 'supercar' | 'island' | 'mansion' | 'estate_with_a_mega_mansion' | 'luxury_island' | 'superyacht' required

Type Of Item is the item to be bought or paid for/off (the crux of this expression): * fancy_coffee - $10 Fancy Coffee * quick_meal - $15 Quick Meal * dinner_with_drinks - $175 Dinner With Drinks * iphone - $1,400 iPhone * month_of_childcare - $1,750 Month Of Childcare * rent_or_mortgage_payment - $3,000 Rent Or Mortgage Payment * year_of_low_minimum_wage_salary - Year Of Low Minimum Wage Salary ($15,080) * year_of_high_minimum_wage_salary - Year Of High Minimum Wage Salary ($32,240) * student_loan_debt - $40K Student Loan Debt * car - $50K Car * year_of_salary_65k - Year Of $65,000 Salary * year_of_salary_100k - Year Of $100,000 Salary * luxury_car - $275K Luxury Car * house - $500K House * yacht - $800K Yacht * supercar - $4M Supercar * island - $30M Island * mansion - $75M Mansion * estate_with_a_mega_mansion - $200M Estate With A Mega-Mansion * luxury_island - $300M Luxury Island * superyacht - $600M Superyacht

Response

a JSON object with response data

statusstring required

Example response

{
  "status": "success",
  "data": {
    "value": 2000,
    "type": "houses",
    "phrase": "2,000 Houses",
    "sentence": "A person with a wealth of $1,000,000,000 could buy 2,000 houses all at once!",
    "scale": "That's approximately 1.3 times enough for every person in a village (typically between 1K–10K population)."
  }
}

Changes

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