JSON Job Example: BLS

Overview

Download statistics from the Bureau of Labor Statistics service.

File

URI

Example: http://api.bls.gov/publicAPI/v2/timeseries/data/

POST request headers:

Content-Type:application/json

POST request payload:

{
    "seriesid": [
        "CUSR0000SA0"
    ]
}

Local Copy

bls.json

JSON Path

$.Results.series.*.data.*

Matched Objects

$['Results']['series'][0]['data'][0]
$['Results']['series'][0]['data'][1]
...
$['Results']['series'][0]['data'][N]
[
    {
        "footnotes": [
            {}
        ],
        "period": "M09",
        "periodName": "September",
        "value": "241.002",
        "year": "2016"
    },
    {
        "footnotes": [
            {
                "code": "R",
                "text": "Revised"
            }
        ],
        "period": "M08",
        "periodName": "August",
        "value": "240.301",
        "year": "2016"
    },
    {
        "footnotes": [
            {
                "code": "R",
                "text": "Revised"
            }
        ],
        "period": "M07",
        "periodName": "July",
        "value": "239.810",
        "year": "2016"
    }
]

Commands

series e:bls d:2016-09-01T00:00:00.000Z m:CUSR0000SA0=241.002
series e:bls d:2016-08-01T00:00:00.000Z m:CUSR0000SA0=240.301
series e:bls d:2016-07-01T00:00:00.000Z m:CUSR0000SA0=239.81

Configuration

Screenshot

Job Screenshot