API Live Explorer

Pick any endpoint, hit Fetch, and see the live JSON response. Everything runs in your browser via fetch() — no server, no proxy.

It works because the API is CORS-enabled. The exact same code will run on your domain too — copy it straight from the snippets below.

Try It Live

// Response will appear here...

CORS Test — JavaScript

Paste this into the browser console on any domain to confirm CORS works:

fetch('https://calc-center.party/api/data/currency-symbols.json')
  .then(r => {
    console.log('CORS OK, status:', r.status);
    return r.json();
  })
  .then(data => console.log('Loaded', data.currencies.length, 'currencies'))
  .catch(err => console.error('CORS failed:', err));

CORS Test — curl

From a terminal, inspect the headers to verify Access-Control-Allow-Origin: *:

curl -I https://calc-center.party/api/data/bmi-categories.json

# Or fetch the full payload:
curl -s https://calc-center.party/api/data/bmi-categories.json | head -50

Caching & Versioning

Each JSON file includes a _meta block with version, source, and lastUpdated. The CDN sends a long-lived Cache-Control header, so callers can cache aggressively. When data updates we bump the version; check it on first load to invalidate stale client caches.

← Back to API overview