Ratias Open Math API

Last updated: June 2026

Ratias provides a free, open-access formula database API for developers to integrate advanced mathematical and financial percentage logic into their own applications.


1. API Endpoint

Access our formula metadata database by making a GET request to the following endpoint:

GET https://www.ratias.com/api/formulas.json

2. Code Examples

JavaScript (Fetch API)

fetch('https://www.ratias.com/api/formulas.json')
  .then(response => response.json())
  .then(data => {
    console.log("API Version:", data.api_version);
    console.log("Formulas:", data.formulas);
  });

Python

import requests

url = "https://www.ratias.com/api/formulas.json"
response = requests.get(url)
data = response.json()

for formula in data['formulas']:
    print(f"ID: {formula['id']} | Formula: {formula['math_formula']}")

cURL

curl -X GET https://www.ratias.com/api/formulas.json

3. License and Attribution

The Ratias Open Math API is released under the MIT License and can be used for both commercial and non-commercial purposes. Linking back to Ratias as the data source is highly appreciated.