US Unemployment Data Fetch API

API ID 8312

Access and analyze real-time US unemployment data effortlessly with our powerful API.

33% uptime 1,374 ms avg response

API Documentation

Endpoints

Request
This endpoint allows users to retrieve a list of all years with unemployment data available.
Endpoint ID: 14449
POST https://docs.zylalabs.com/api/8312/us+unemployment+data+fetch+api/14449/get+years+with+available+data
INPUT PARAMETERS

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

This endpoint does not require any input parameters.

API EXAMPLE RESPONSE
JSON
{
    "years": [
        1900,
        1901,
        1902,
        1903,
        1904,
        1905,
        1906,
        1907,
        1908,
        1909,
        1910,
        1911,
        1912,
        1913,
        1914,
        1915,
        1916,
        1917,
        1918,
        1919,
        1920,
        1921,
        1922,
        1923,
        1924,
        1925,
        1926,
        1927,
        1928,
        1929,
        1930,
        1931,
        1932,
        1933,
        1934,
        1935,
        1936,
        1937,
        1938,
        1939,
        1940,
        1941,
        1942,
        1943,
        1944,
        1945,
        1946,
        1947,
        1948,
        1949,
        1950,
        1951,
        1952,
        1953,
        1954,
        1955,
        1956,
        1957,
        1958,
        1959,
        1960,
        1961,
        1962,
        1963,
        1964,
        1965,
        1966,
        1967,
        1968,
        1969,
        1970,
        1971,
        1972,
        1973,
        1974,
        1975,
        1976,
        1977,
        1978,
        1979,
        1980,
        1981,
        1982,
        1983,
        1984,
        1985,
        1986,
        1987,
        1988,
        1989,
        1990,
        1991,
        1992,
        1993,
        1994,
        1995,
        1996,
        1997,
        1998,
        1999,
        2000,
        2001,
        2002,
        2003,
        2004,
        2005,
        2006,
        2007,
        2008,
        2009,
        2010,
        2011,
        2012,
        2013,
        2014,
        2015,
        2016,
        2017,
        2018,
        2019,
        2020,
        2021,
        2022
    ]
}
Get years with available data — CODE SNIPPETS

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 '{}'

Request
This endpoint provides users with the unemployment rate data for a specific year and month (Jan-Dec). To use it, you must indicate a year as a parameter. You can get them from the first endpoint.
Endpoint ID: 14454
POST https://docs.zylalabs.com/api/8312/us+unemployment+data+fetch+api/14454/get+unemployment+rate+by+year
INPUT PARAMETERS

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

year
API EXAMPLE RESPONSE
JSON
{
    "country": "U.S.",
    "year": 1940,
    "unemployment_rate": 14.6
}
Get unemployment rate by year — CODE SNIPPETS

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"}'

Request
This endpoint allows users to retrieve historical events or occurrences that influenced unemployment rates by year in the United States. To use it, you must indicate a year as a parameter. You can get them from the first endpoint.
Endpoint ID: 14457
POST https://docs.zylalabs.com/api/8312/us+unemployment+data+fetch+api/14457/get+notable+factor+or+event+by+year
INPUT PARAMETERS

Free test requests remaining: 3 of 3.


INPUT PARAMETERS

year
API EXAMPLE RESPONSE
JSON
{
    "country": "United States",
    "year": 2020,
    "unemployment_rate": 13.5,
    "event": "Pandemic and recession"
}
Get Notable Factor or Event by year — CODE SNIPPETS

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"}'

API Access Key & Authentication

After signing up, every developer is assigned a personal API access key, a unique combination of letters and digits provided to access to our API endpoint. To authenticate with the US Unemployment Data Fetch API simply include your bearer token in the Authorization header.

Headers
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.

(Save 2 months with annual billing 🎉)

🚀 Enterprise Plan

Starts at
$ 10,000/Year


  • Custom Volume
  • Custom Rate Limit
  • Specialized Customer Support
  • Real-Time API Monitoring

Overview

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.

US Unemployment Data Fetch API FAQs

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.

General FAQs

To obtain your API key, first sign in to your account and navigate to the API you want to use. From the API's Pricing section, choose a plan and complete the subscription process. Once subscribed, return to the API page and you will see your API Access Key displayed at the top of the documentation page. You can use this key to authenticate your requests.

You can’t switch APIs during the free trial. If you subscribe to a different API, your trial will end and the new subscription will start as a paid plan.

The free trial lasts for 7 days and allows you to make up to 50 API requests.

No, the free trial is available only once, so we recommend using it on the API that interests you the most. Most of our APIs offer a free trial, but some may not include this option.

Yes. If the API offers a free trial, you will see a "Free 7-Day Trial" option in its Pricing section. The trial lasts for 7 days and allows up to 50 API requests, enabling you to evaluate the API before subscribing to a paid plan.

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.

Prices are listed in USD (United States Dollar), EUR (Euro), CAD (Canadian Dollar), AUD (Australian Dollar), and GBP (British Pound). We accept all major debit and credit cards. Our payment system uses the latest security technology and is powered by Stripe, one of the world's most reliable payment companies. If you have any trouble paying by card, just contact us at [email protected]

Additionally, if you already have an active subscription in any of these currencies (USD, EUR, CAD, AUD, GBP), that currency will remain for subsequent subscriptions. You can change the currency at any time as long as you don't have any active subscriptions.
The local currency shown on the pricing page is based on the country of your IP address and is provided for reference only. The actual prices are in USD (United States Dollar). When you make a payment, the charge will appear on your card statement in USD, even if you see the equivalent amount in your local currency on our website. This means you cannot pay directly with your local currency.
Occasionally, a bank may decline the charge due to its fraud protection settings. We suggest reaching out to your bank initially to check if they are blocking our charges. Also, you can access the Billing Portal and change the card associated to make the payment. If these does not work and you need further assistance, please contact our team at [email protected]
Prices are determined by a recurring monthly or yearly subscription, depending on the chosen plan.
API calls are deducted from your plan based on successful requests. Each plan comes with a specific number of calls that you can make per month. Only successful calls, indicated by a Status 200 response, will be counted against your total. This ensures that failed or incomplete requests do not impact your monthly quota.
Zyla API Hub works on a recurring monthly subscription system. Your billing cycle will start the day you purchase one of the paid plans, and it will renew the same day of the next month. So be aware to cancel your subscription beforehand if you want to avoid future charges.
To upgrade your current subscription plan, simply go to the pricing page of the API and select the plan you want to upgrade to. The upgrade will be instant, allowing you to immediately enjoy the features of the new plan. Please note that any remaining calls from your previous plan will not be carried over to the new plan, so be aware of this when upgrading. You will be charged the full amount of the new plan.
To check how many API calls you have left for the current month, refer to the 'X-Zyla-API-Calls-Monthly-Remaining' field in the response header. For example, if your plan allows 1,000 requests per month and you've used 100, this field in the response header will indicate 900 remaining calls.

You can monitor your API usage through the response headers included with every request:

x-zyla-api-calls-monthly-used: Shows the total number of API requests you have used during the current billing period.
x-zyla-api-calls-monthly-remaining: Shows the number of API requests you have remaining for the current billing period.

The 'X-Zyla-RateLimit-Reset' header shows the number of seconds until your rate limit resets. This tells you when your request count will start fresh. For example, if it displays 3,600, it means 3,600 seconds are left until the limit resets.

Yes, you can cancel your subscription at any time. Simply go to the Pricing section of the API you're subscribed to and click the "Unsubscribe" button.

Please note that upgrades, downgrades, and cancellations take effect immediately. Once your subscription is canceled, access to the service will end immediately, regardless of any remaining API calls in your quota.

After 7 days, you will be charged the full amount for the plan you were subscribed to during the trial. Therefore, it's important to cancel before the trial period ends. Refund requests for forgetting to cancel on time are not accepted.
When you subscribe to an API free trial, you can make up to 50 API calls. If you wish to make additional API calls beyond this limit, the API will prompt you to perform an "Start Your Paid Plan." You can find the "Start Your Paid Plan" button in your profile under Subscription -> Choose the API you are subscribed to -> Pricing tab.
You can contact us through our chat channel to receive immediate assistance. We are always online from 8 am to 5 pm (EST). If you reach us after that time, we will get back to you as soon as possible. Additionally, you can contact us via email at [email protected]

Please have a look at our Refund Policy: https://zylalabs.com/terms#refund