FRED at https://api.stlouisfed.org/fred serves hundreds of thousands of economic time series. Add file_type=json; the default is XML.
Get a free key at fredaccount.stlouisfed.org and pass it as api_key. In the examples it's written {{FRED_API_KEY}}.
Full reference: https://fred.stlouisfed.org/docs/api/fred/
UNRATE is the US unemployment rate.
curl "https://api.stlouisfed.org/fred/series/observations?series_id=UNRATE&file_type=json&sort_order=desc&limit=5&api_key={{FRED_API_KEY}}"
curl "https://api.stlouisfed.org/fred/series/search?search_text=consumer+price+index&file_type=json&limit=5&api_key={{FRED_API_KEY}}"