Math & Statistics API

35+ math and statistics endpoints — safe expression evaluation, linear regression, correlation, normal distribution, t-test, moving averages, RSI, MACD, Bollinger Bands.

1 subscribers
35 endpoints
The in-depth APIMemo review for this API hasn't been published yet — the data below comes straight from the public marketplace listing.

Math & Statistics API endpoints

MethodEndpointDescription
Math - Basic
POST /api/math_combinations
/api/math_combinations
Calculate combinations nCr (n choose r)
POST /api/math_proportion
/api/math_proportion
Solve proportions a/b = c/d — provide 3 values, find the 4th
POST /api/math_lcm
/api/math_lcm
Least Common Multiple of two or more integers
POST /api/math_round
/api/math_round
Round a number to N decimal places with configurable mode
POST /api/math_factorial
/api/math_factorial
Calculate factorial of n (max 170 to avoid Infinity)
POST /api/math_prime_factors
/api/math_prime_factors
Prime factorization of a number
POST /api/math_percentage
/api/math_percentage
Calculate percentage from value+total, or value from percentage+total
POST /api/math_gcd
/api/math_gcd
Greatest Common Divisor of two or more integers (Euclidean algorithm)
POST /api/math_evaluate
/api/math_evaluate
Safely evaluate a math expression (no eval). Supports +,-,*,/,^,()
POST /api/math_fibonacci
/api/math_fibonacci
Calculate the Nth Fibonacci number (0-indexed, max 78)
POST /api/math_permutations
/api/math_permutations
Calculate permutations nPr
POST /api/math_prime_check
/api/math_prime_check
Check if a number is prime
Math - Statistics
POST /api/stat_mean
/api/stat_mean
Calculate arithmetic mean of an array
POST /api/stat_outlier_detect
/api/stat_outlier_detect
Detect outliers using the IQR method (below Q1-1.5*IQR or above Q3+1.5*IQR)
POST /api/stat_quartiles
/api/stat_quartiles
Calculate Q1, Q2 (median), Q3, and IQR
POST /api/stat_std_dev
/api/stat_std_dev
Calculate standard deviation (population and sample)
POST /api/stat_iqr
/api/stat_iqr
Calculate interquartile range
POST /api/stat_median
/api/stat_median
Calculate median of an array
POST /api/stat_percentile
/api/stat_percentile
Calculate a specific percentile value from an array
POST /api/stat_variance
/api/stat_variance
Calculate variance (population and sample)
POST /api/stat_mode
/api/stat_mode
Find mode(s) of an array
POST /api/stat_z_score
/api/stat_z_score
Calculate Z-score and corresponding percentile
Math - Correlation
POST /api/stat_spearman
/api/stat_spearman
Calculate Spearman rank correlation coefficient
POST /api/stat_correlation
/api/stat_correlation
Calculate Pearson correlation coefficient between two arrays
POST /api/stat_covariance
/api/stat_covariance
Calculate covariance between two arrays
POST /api/stat_linear_regression
/api/stat_linear_regression
Simple linear regression returning slope, intercept, R², and equation
Math - Distribution
POST /api/stat_t_test
/api/stat_t_test
Independent two-sample t-test
POST /api/stat_normal_pdf
/api/stat_normal_pdf
Normal distribution probability density function
POST /api/stat_chi_square
/api/stat_chi_square
Calculate chi-square test statistic from observed and expected frequencies
POST /api/stat_normal_cdf
/api/stat_normal_cdf
Normal distribution CDF using Abramowitz and Stegun approximation
Math - Financial Stats
POST /api/stat_rsi
/api/stat_rsi
Calculate Relative Strength Index
POST /api/stat_bollinger_bands
/api/stat_bollinger_bands
Calculate Bollinger Bands (SMA +/- N standard deviations)
POST /api/stat_macd
/api/stat_macd
Calculate MACD (Moving Average Convergence Divergence)
POST /api/stat_ema
/api/stat_ema
Calculate Exponential Moving Average
POST /api/stat_moving_average
/api/stat_moving_average
Calculate Simple Moving Average

Math & Statistics API pricing

PlanPriceRate limitQuotas
BASIC Free
  • Requests: 100 / monthly
PRO $9.99 / month
  • Requests: 5,000 / monthly (then $0.0100 each)
ULTRA Free
  • Requests: 50,000 / monthly (then $0.0100 each)
MEGA Free
  • Requests: 500,000 / monthly (then $0.0100 each)

More Data APIs

View all →
  • This is a VIN (Vehicle Identification Number) decoder that designed to work within North America, Asia and…

    DataFreemium139 subscribers
  • Currency Exchange is a live foreign exchange rate API that lets developers retrieve real-time conversion…

    ReviewedDataFreemium23k subscribers
  • Words API lets you retrieve information about English words, including definitions, synonyms, rhymes,…

    DataFreemium1.5k subscribers
  • Whois Lookup API in Json or Xml. Our infrastructure uses thousands of SOCKS proxies to avoid quota…

    DataFreemium3.8k subscribers
  • The Weatherbit Weather API gives developers access to current conditions, multi-day forecasts, minutely…

    ReviewedDataFreemium25k subscribers
  • GeoDB Cities is a RESTful API covering more than 800,000 towns, cities, counties, and islands worldwide,…

    ReviewedDataFreemium49.8k subscribers