This API exposes historical US unemployment rate data scraped from a trusted financial source. The API returns data in JSON format, structured as a list of objects, where each object represents a year. Each year object contains the year as an integer, the unemployment rate as a floating-point number, and a string describing a significant event or factor influencing the unemployment rate during that year. Developers can retrieve this data using simple HTTP GET requests to a specific endpoint. The endpoint will accept optional parameters to filter the data by a specific range of years. The data schema is consistent and well-defined, ensuring easy parsing and use. The API is designed to be robust and efficient, providing developers with reliable access to valuable financial data for economic modeling, forecasting, research, and data visualization. The API response will be structured in JSON, with the top-level element being a list of year objects. Each object in the list includes the fields: 'year' (integer), 'unemployment_rate' (float), and 'event' (string). Error handling will be implemented to ensure smooth operations and informative feedback to the developers. Developers can easily integrate this API into their applications using standard HTTP libraries and JSON parsers, allowing for programmatic access to the comprehensive dataset.
{
"years": [
2023,
2022,
2021,
2020,
2019,
2018,
2017,
2016,
2015,
2014,
2013,
2012,
2011,
2010,
2009,
2008,
2007,
2006,
2005,
2004,
2003,
2002,
2001,
2000,
1999,
1998,
1997,
1996,
1995,
1994,
1993,
1992,
1991,
1990,
1989,
1988,
1987,
1986,
1985,
1984,
1983,
1982,
1981,
1980,
1979,
1978,
1977,
1976,
1975,
1974,
1973,
1972,
1971,
1970,
1969,
1968,
1967,
1966,
1965,
1964,
1963,
1962,
1961,
1960,
1959,
1958,
1957,
1956,
1955,
1954,
1953,
1952,
1951,
1950,
1949,
1948,
1947,
1946,
1945,
1944,
1943,
1942,
1941,
1940
]
}
curl --location --request POST 'https://zylalabs.com/api/8312/us+unemployment+data+fetch+api/14449/get+years+with+available+data' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{}'
{
"country": "U.S.",
"year": 1940,
"unemployment_rate": 14.6
}
curl --location --request POST 'https://zylalabs.com/api/8312/us+unemployment+data+fetch+api/14454/get+unemployment+rate+by+year' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"year":"Required"}'
{
"country": "United States",
"year": 2020,
"unemployment_rate": 13.5,
"event": "Pandemic and recession"
}
curl --location --request POST 'https://zylalabs.com/api/8312/us+unemployment+data+fetch+api/14457/get+notable+factor+or+event+by+year' --header 'Authorization: Bearer YOUR_API_KEY' --header 'Content-Type: application/json' --data-raw '{"year":"Required"}'
| Header | Description |
|---|---|
Authorization
|
[Required] Should be Bearer access_key. See "Your API Access Key" above when you are subscribed. |
No long-term commitment. Upgrade, downgrade, or cancel anytime. Free Trial includes up to 50 requests.
The API provides historical US unemployment rate data, including the unemployment rate as a floating-point number, the year as an integer, and a string describing significant events or factors influencing the unemployment rate for each year.
The API returns data in JSON format, structured as a list of objects, where each object represents a year and contains fields for 'year', 'unemployment_rate', and 'event'.
Developers can use the API for economic modeling, forecasting unemployment trends, conducting research, and creating data visualizations to analyze the impact of various events on unemployment rates.
The API allows developers to filter the data by specifying a range of years using optional parameters in the HTTP GET request, enabling targeted data retrieval.
The API provides reliable access to comprehensive historical unemployment data, enabling developers to integrate valuable economic indicators into their applications seamlessly, facilitating informed decision-making and analysis.
The "get years with available data" endpoint returns a list of years for which unemployment data is available. The "get unemployment rate by year" endpoint returns the unemployment rate for a specified year, while the "get Notable Factor or Event by year" endpoint provides the unemployment rate along with a significant event that influenced it for that year.
Each endpoint's response includes key fields: for the years endpoint, it returns a list of years; for the unemployment rate endpoint, it includes 'country', 'year', and 'unemployment_rate'; and for the notable events endpoint, it includes 'country', 'year', 'unemployment_rate', and 'event'.
The response data is organized in JSON format. The years endpoint returns a JSON object with a 'years' array. The unemployment rate and notable events endpoints return JSON objects containing specific fields for each year, allowing for easy parsing and integration into applications.
The endpoints accept parameters such as 'year' for retrieving specific unemployment data or notable events. The "get years with available data" endpoint does not require parameters, while the other two endpoints require a year parameter to return relevant data.
Users can customize their requests by specifying a year in the "get unemployment rate by year" and "get Notable Factor or Event by year" endpoints. This allows users to retrieve data for specific years of interest, enhancing the relevance of the information obtained.
The data is sourced from a reputable financial website, ensuring reliability and accuracy. The API scrapes historical unemployment rate data, which is then structured and made accessible for developers to use in their applications.
Data accuracy is maintained through regular updates and quality checks performed on the source data. The API is designed to provide consistent and reliable information, allowing developers to trust the data for economic analysis and decision-making.
Typical use cases include economic research, trend analysis, forecasting unemployment rates, and creating visualizations to understand the impact of historical events on unemployment. Developers can leverage this data for applications in finance, economics, and social sciences.
Zyla API Hub is like a big store for APIs, where you can find thousands of them all in one place. We also offer dedicated support and real-time monitoring of all APIs. Once you sign up, you can pick and choose which APIs you want to use. Just remember, each API needs its own subscription. But if you subscribe to multiple ones, you'll use the same key for all of them, making things easier for you.
Service Level:
33%
Response Time:
6,060ms
Service Level:
33%
Response Time:
8,330ms
Service Level:
33%
Response Time:
1,452ms
Service Level:
33%
Response Time:
2,836ms
Service Level:
60%
Response Time:
8,084ms
Service Level:
100%
Response Time:
18ms
Service Level:
100%
Response Time:
0ms
Service Level:
100%
Response Time:
7,563ms
Service Level:
100%
Response Time:
16ms
Service Level:
100%
Response Time:
10,320ms
Service Level:
100%
Response Time:
1,169ms
Service Level:
100%
Response Time:
175ms
Service Level:
100%
Response Time:
871ms
Service Level:
67%
Response Time:
261ms
Service Level:
100%
Response Time:
426ms
Service Level:
100%
Response Time:
240ms
Service Level:
100%
Response Time:
755ms
Service Level:
100%
Response Time:
658ms
Service Level:
100%
Response Time:
980ms
Service Level:
100%
Response Time:
193ms