Bls top picks
curl --request POST \
--url https://api.aisa.one/apis/v1/bls/economic-statistics/bls-top-picks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"survey": "cu"
}'import requests
url = "https://api.aisa.one/apis/v1/bls/economic-statistics/bls-top-picks"
payload = { "survey": "cu" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({survey: 'cu'})
};
fetch('https://api.aisa.one/apis/v1/bls/economic-statistics/bls-top-picks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/bls/economic-statistics/bls-top-picks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'survey' => 'cu'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/bls/economic-statistics/bls-top-picks"
payload := strings.NewReader("{\n \"survey\": \"cu\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/bls/economic-statistics/bls-top-picks")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"survey\": \"cu\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/bls/economic-statistics/bls-top-picks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"survey\": \"cu\"\n}"
response = http.request(request)
puts response.read_body{
"count": 10,
"next_offset": 10,
"observed_at_ms": 1790283362534,
"offset": 0,
"picks": [
{
"name": "U.S. city average, All items",
"series_ids": [
"CUUR0000SA0"
]
},
{
"name": "U.S. city average, Food and Beverages",
"series_ids": [
"CUUR0000SAF"
]
},
{
"name": "U.S. city average, Food at home",
"series_ids": [
"CUUR0000SAF11"
]
},
{
"name": "U.S. city average, Cereals and bakery products",
"series_ids": [
"CUUR0000SAF111"
]
},
{
"name": "U.S. city average, Meats, poultry, fish, and eggs",
"series_ids": [
"CUUR0000SAF112"
]
},
{
"name": "U.S. city average, Fruits and vegetables",
"series_ids": [
"CUUR0000SAF113"
]
},
{
"name": "U.S. city average, Nonalcoholic beverages and bev. materials",
"series_ids": [
"CUUR0000SAF114"
]
},
{
"name": "U.S. city average, Other food at home",
"series_ids": [
"CUUR0000SAF115"
]
},
{
"name": "U.S. city average, Dairy and related products",
"series_ids": [
"CUUR0000SEFJ"
]
},
{
"name": "U.S. city average, Food away from home",
"series_ids": [
"CUUR0000SEFV"
]
}
],
"source_url": "https://data.bls.gov/toppicks/getSeries?survey=cu",
"state_fips": null,
"survey": "cu",
"total": 30
}
BLS labor statistics
Bls top picks
The cheapest way to find well-known series ids for a survey before calling bls_series; use bls_series_search for anything not in the curated list.
POST
https://api.aisa.one
/
apis
/
v1
/
bls
/
economic-statistics
/
bls-top-picks
Bls top picks
curl --request POST \
--url https://api.aisa.one/apis/v1/bls/economic-statistics/bls-top-picks \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"survey": "cu"
}'import requests
url = "https://api.aisa.one/apis/v1/bls/economic-statistics/bls-top-picks"
payload = { "survey": "cu" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({survey: 'cu'})
};
fetch('https://api.aisa.one/apis/v1/bls/economic-statistics/bls-top-picks', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/bls/economic-statistics/bls-top-picks",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'survey' => 'cu'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/bls/economic-statistics/bls-top-picks"
payload := strings.NewReader("{\n \"survey\": \"cu\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/bls/economic-statistics/bls-top-picks")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"survey\": \"cu\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/bls/economic-statistics/bls-top-picks")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"survey\": \"cu\"\n}"
response = http.request(request)
puts response.read_body{
"count": 10,
"next_offset": 10,
"observed_at_ms": 1790283362534,
"offset": 0,
"picks": [
{
"name": "U.S. city average, All items",
"series_ids": [
"CUUR0000SA0"
]
},
{
"name": "U.S. city average, Food and Beverages",
"series_ids": [
"CUUR0000SAF"
]
},
{
"name": "U.S. city average, Food at home",
"series_ids": [
"CUUR0000SAF11"
]
},
{
"name": "U.S. city average, Cereals and bakery products",
"series_ids": [
"CUUR0000SAF111"
]
},
{
"name": "U.S. city average, Meats, poultry, fish, and eggs",
"series_ids": [
"CUUR0000SAF112"
]
},
{
"name": "U.S. city average, Fruits and vegetables",
"series_ids": [
"CUUR0000SAF113"
]
},
{
"name": "U.S. city average, Nonalcoholic beverages and bev. materials",
"series_ids": [
"CUUR0000SAF114"
]
},
{
"name": "U.S. city average, Other food at home",
"series_ids": [
"CUUR0000SAF115"
]
},
{
"name": "U.S. city average, Dairy and related products",
"series_ids": [
"CUUR0000SEFJ"
]
},
{
"name": "U.S. city average, Food away from home",
"series_ids": [
"CUUR0000SEFV"
]
}
],
"source_url": "https://data.bls.gov/toppicks/getSeries?survey=cu",
"state_fips": null,
"survey": "cu",
"total": 30
}
Request contract
- Method and path: POST /apis/v1/bls/economic-statistics/bls-top-picks
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/bls/economic-statistics/bls-top-picks
{
"operationId": "bls.economic-statistics.bls-top-picks",
"method": "POST",
"path": "/apis/v1/bls/economic-statistics/bls-top-picks",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"limit": 10,
"survey": "cu"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"limit": {
"default": 100,
"description": "limit\n\nProvider reference: minimum 1; maximum 200; default 100.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 200,
"min": 1
}
},
"offset": {
"default": 0,
"description": "Skip this many picks; pass `next_offset` from the previous page.\n\nProvider reference: minimum 0; default 0.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"min": 0
}
},
"state_fips": {
"description": "2-digit state FIPS code (06 California, 48 Texas). Only meaningful for state-level surveys such as la and sm. Pattern: ^[0-9]{2}$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"survey": {
"description": "2-letter survey abbreviation: cu (CPI), ce (national employment), la (local unemployment), sm (state and metro employment), ln (labor force), ap (average prices), wp (PPI), ... Pattern: ^[A-Za-z]{2}$.",
"type": "string"
}
},
"required": [
"survey"
],
"type": "object"
}
}
},
"required": true
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json
Response
BLS Top Picks: the curated series list data.bls.gov shows for one survey (Consumer Price Index items, payroll employment industries, state and metro unemployment, ...). Returns human-readable names with the series ids behind them; state-level surveys (LA, SM) accept a 2-digit state FIPS code to narrow the list to one state. Paged locally with offset.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
count | number | |
next_offset | number | |
observed_at_ms | number | |
offset | number | |
picks | object[] | |
source_url | string | |
state_fips | string | |
survey | string | |
total | number | Picks the site lists for this survey (and state). |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.