corrected API endpoint
fixed numeric output