You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The solution intended here for a node with an adapter that queries the data every month and write data on-chain for the series (each series has a unique series_id) detailed here:
For instance, for the headline print for "All items, U.S. city average, all urban consumers, 1982-84=100, 1-month percent change, seasonally adjusted" (the quoted CPI by media), data can be retrieved through the following GET request:
All Series require the headline figure and the composition. Priority#1 to the headline figure ("seriesID": "CUSR0000SA0").
Requirements / Workflow
Requests for each series by date (month+year) should enable retieving the figure available
By default, a request should return the latest available month and figure
Additionally, the adapter could be enahnced by calculating the monthly and yoy increases/decreases for each series. by convention, the change %s are rounded to 1 decimal place.
Provide the US CPI data from BLS released every month: https://www.bls.gov/news.release/cpi.nr0.htm
Docs/Resources:
The solution intended here for a node with an adapter that queries the data every month and write data on-chain for the series (each series has a unique series_id) detailed here:
https://www.bls.gov/feed/bls_latest.rss
For instance, for the headline print for "All items, U.S. city average, all urban consumers, 1982-84=100, 1-month percent change, seasonally adjusted" (the quoted CPI by media), data can be retrieved through the following GET request:
GET https://api.bls.gov/publicAPI/v2/timeseries/data/CUSR0000SA0
the adapter should check if current month data is available add only the newly added monthly data when available.
The schedule of releases of the data is available here: https://www.bls.gov/schedule/news_release/cpi.htm
All Series require the headline figure and the composition. Priority#1 to the headline figure ("seriesID": "CUSR0000SA0").
Requirements / Workflow
Requests for each series by date (month+year) should enable retieving the figure available
By default, a request should return the latest available month and figure
Additionally, the adapter could be enahnced by calculating the monthly and yoy increases/decreases for each series. by convention, the change %s are rounded to 1 decimal place.
Endpoint(s)
GET https://api.bls.gov/publicAPI/v2/timeseries/data/CUSR0000SA0
API Credentials (Test)
Public API
The text was updated successfully, but these errors were encountered: