Fix number formatting, add configurable API location