Public Data API
Free JSON endpoints for cost-of-living data, salary after-tax calculations, and currency conversion across 40 countries, 121 cities, and 30 currencies. No registration required. Just send a GET request.
Quick Start
JavaScript / Node.js
const res = await fetch(
"https://globalfinancecalculators.com/api/public/v1/cost-of-living?country=TH"
);
const data = await res.json();
console.log(data.data.budgets.sample);
// → 1285 (USD/month)Python
import requests
res = requests.get(
"https://globalfinancecalculators.com/api/public/v1/salary",
params={"country": "US", "gross": 100000}
)
data = res.json()
print(f"Net: {data['data']['netSalary']{'}'}")
# → Net: 74803cURL
curl "https://globalfinancecalculators.com/api/public/v1/currency?from=USD&to=EUR&amount=100"Response Format
{
"from": { "code": "USD", "amount": 100 },
"to": { "code": "EUR", "amount": 92.31 },
"rate": 0.923077,
"_attribution": "Data by Global Finance..."
}API Endpoints
All endpoints return JSON with CORS headers. Responses are cached for 1 hour. Every response includes an _attribution field — please include this credit when displaying the data.
Countries
List all 40 supported countries with basic metadata and cost indices.
| Name | Type | Required | Description |
|---|---|---|---|
| region | string | optional | Filter by region name (e.g., Asia, Europe, North America) |
Cost of Living
Cost-of-living indices, monthly costs, budget tiers, and PPP comparisons.
| Name | Type | Required | Description |
|---|---|---|---|
| country | string | optional | ISO 2-letter country code (e.g., US, TH, DE) |
| compare | string | optional | Two comma-separated codes (e.g., US,TH) |
| budget | number | optional | Monthly budget in USD for equivalence calc |
| from | string | optional | Source country for budget equivalence |
| to | string | optional | Target country for budget equivalence |
Salary After Tax
Net salary calculations with income tax and social security breakdowns.
| Name | Type | Required | Description |
|---|---|---|---|
| gross | number | required | Annual gross salary in local currency |
| country | string | optional | ISO 2-letter country code |
| compare | string | optional | Two comma-separated codes |
Currency Conversion
Exchange rates and conversions for 30 currencies with 870 pairs.
| Name | Type | Required | Description |
|---|---|---|---|
| from | string | optional | Source currency code (e.g., USD) |
| to | string | optional | Target currency code (e.g., EUR) |
| amount | number | optional | Amount to convert |
| list | boolean | optional | Set to true to list all supported currencies |
Attribution
The API is free to use. In return, please include visible attribution with a link back to our site when displaying the data:
Data by <a href="https://globalfinancecalculators.com">Global Finance Calculators</a>Frequently Asked Questions
Is there a rate limit on the API?
There is no hard rate limit for reasonable use. The API is served with 1-hour cache headers. If you need high-volume access, please contact us first.
Do I need an API key?
No. The API is completely free and open — no registration, no API key, no authentication. Just send a GET request.
Can I use this data commercially?
Yes, as long as you provide visible attribution: "Data by Global Finance Calculators — globalfinancecalculators.com" with a link back to our site.
How often is the data updated?
Tax brackets reflect 2025 rates reviewed May 2026. Cost-of-living indices use Numbeo 2026 rankings. Currency rates are from ECB/Google Finance May 2026 mid-market rates.
What countries are supported?
40 countries across North America, Europe, Asia-Pacific, Latin America, Middle East, and Africa. Use the /api/public/v1/countries endpoint to get the full list.
Ready to build?
Start using the API right now — no sign-up required. Just pick an endpoint and send a request.