curl --request GET \
--url https://api.aisa.one/apis/v1/fred/release/tables \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/fred/release/tables"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/fred/release/tables', 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/fred/release/tables",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/fred/release/tables"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/fred/release/tables")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/fred/release/tables")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body<elements>
<name>Personal consumption expenditures</name>
<element_id>12886</element_id>
<release_id>53</release_id>
<element>
<element_id>12887</element_id>
<release_id>53</release_id>
<series_id>DGDSRL1A225NBEA</series_id>
<parent_id>12886</parent_id>
<line>3</line>
<type>series</type>
<name>Goods</name>
<level>1</level>
<children>
<element>
<element_id>12888</element_id>
<release_id>53</release_id>
<series_id>DDURRL1A225NBEA</series_id>
<parent_id>12887</parent_id>
<line>4</line>
<type>series</type>
<name>Durable goods</name>
<level>2</level>
<children/>
</element>
<element>
<element_id>12889</element_id>
<release_id>53</release_id>
<series_id>DNDGRL1A225NBEA</series_id>
<parent_id>12887</parent_id>
<line>5</line>
<type>series</type>
<name>Nondurable goods</name>
<level>2</level>
<children/>
</element>
</children>
</element>
<element>
<element_id>12888</element_id>
<release_id>53</release_id>
<series_id>DDURRL1A225NBEA</series_id>
<parent_id>12887</parent_id>
<line>4</line>
<type>series</type>
<name>Durable goods</name>
<level>2</level>
<children/>
</element>
<element>
<element_id>12889</element_id>
<release_id>53</release_id>
<series_id>DNDGRL1A225NBEA</series_id>
<parent_id>12887</parent_id>
<line>5</line>
<type>series</type>
<name>Nondurable goods</name>
<level>2</level>
<children/>
</element>
<element>
<element_id>12890</element_id>
<release_id>53</release_id>
<series_id>DSERRL1A225NBEA</series_id>
<parent_id>12886</parent_id>
<line>6</line>
<type>series</type>
<name>Services</name>
<level>1</level>
<children/>
</element>
</elements>Get Release Tables
curl --request GET \
--url https://api.aisa.one/apis/v1/fred/release/tables \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/fred/release/tables"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/fred/release/tables', 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/fred/release/tables",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/fred/release/tables"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/fred/release/tables")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/fred/release/tables")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body<elements>
<name>Personal consumption expenditures</name>
<element_id>12886</element_id>
<release_id>53</release_id>
<element>
<element_id>12887</element_id>
<release_id>53</release_id>
<series_id>DGDSRL1A225NBEA</series_id>
<parent_id>12886</parent_id>
<line>3</line>
<type>series</type>
<name>Goods</name>
<level>1</level>
<children>
<element>
<element_id>12888</element_id>
<release_id>53</release_id>
<series_id>DDURRL1A225NBEA</series_id>
<parent_id>12887</parent_id>
<line>4</line>
<type>series</type>
<name>Durable goods</name>
<level>2</level>
<children/>
</element>
<element>
<element_id>12889</element_id>
<release_id>53</release_id>
<series_id>DNDGRL1A225NBEA</series_id>
<parent_id>12887</parent_id>
<line>5</line>
<type>series</type>
<name>Nondurable goods</name>
<level>2</level>
<children/>
</element>
</children>
</element>
<element>
<element_id>12888</element_id>
<release_id>53</release_id>
<series_id>DDURRL1A225NBEA</series_id>
<parent_id>12887</parent_id>
<line>4</line>
<type>series</type>
<name>Durable goods</name>
<level>2</level>
<children/>
</element>
<element>
<element_id>12889</element_id>
<release_id>53</release_id>
<series_id>DNDGRL1A225NBEA</series_id>
<parent_id>12887</parent_id>
<line>5</line>
<type>series</type>
<name>Nondurable goods</name>
<level>2</level>
<children/>
</element>
<element>
<element_id>12890</element_id>
<release_id>53</release_id>
<series_id>DSERRL1A225NBEA</series_id>
<parent_id>12886</parent_id>
<line>6</line>
<type>series</type>
<name>Services</name>
<level>1</level>
<children/>
</element>
</elements>Request contract
- Method and path: GET /apis/v1/fred/release/tables
- Availability: enabled
- Request URL template: https://api.aisa.one/apis/v1/fred/release/tables
- element_id: query; optional
- file_type: query; optional
- include_observation_values: query; optional
- observation_date: query; optional
- release_id: query; required
- Runtime facts: 99b84812775a5b511e5b561db33dbfe37ed3954afbc7b30caf10377dcd683c23
{
"operationId": "any_fred_apis_v1_fred_release_tables",
"method": "GET",
"path": "/apis/v1/fred/release/tables",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"name": "element_id",
"in": "query",
"required": false,
"schema": {
"type": "integer"
},
"description": "The release table element id you would like to retrieve.\ninteger, optional\nWhen the parameter is not passed, the root(top most) element for the release is given.",
"x-aisa-reference-declarations": [
"integer, optional",
"When the parameter is not passed, the root(top most) element for the release is given."
]
},
{
"name": "file_type",
"in": "query",
"required": false,
"schema": {
"type": "string",
"enum": [
"xml",
"json"
],
"default": "xml"
},
"description": "A key or file extension that indicates the type of file to send.\nstring, optional, default: xml\nOne of the following values: 'xml', 'json' xml = Extensible Markup Language. The HTTP Content-Type is text/xml. json = JavaScript Object Notation. The HTTP Content-Type is application/json.\nxml = Extensible Markup Language. The HTTP Content-Type is text/xml. json = JavaScript Object Notation. The HTTP Content-Type is application/json.",
"x-aisa-reference-declarations": [
"string, optional, default: xml",
"One of the following values: 'xml', 'json'"
]
},
{
"name": "include_observation_values",
"in": "query",
"required": false,
"schema": {
"type": "string",
"enum": [
"true",
"false"
],
"default": "false"
},
"description": "A flag to indicate that observations need to be returned. Observation value and date will only be returned for a series type element.\nOne of the following strings: 'true', 'false'.\noptional, default: false",
"x-aisa-reference-declarations": [
"One of the following strings: 'true', 'false'.",
"optional, default: false"
]
},
{
"name": "observation_date",
"in": "query",
"required": false,
"schema": {
"type": "string",
"format": "date",
"default": "9999-12-31"
},
"description": "The observation date to be included with the returned release table.\nYYYY-MM-DD formatted string, optional, default: 9999-12-31 (latest available)",
"x-aisa-reference-declarations": [
"YYYY-MM-DD formatted string, optional, default: 9999-12-31 (latest available)"
]
},
{
"name": "release_id",
"in": "query",
"required": true,
"schema": {
"type": "integer"
},
"description": "The id for a release.\ninteger, required",
"x-aisa-reference-declarations": [
"integer, required"
]
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"x-aisa-pricing": {
"cost_contract": "fixed_success",
"customer_pricing": "fixed_success",
"default_request_estimate_usd": 1e-05,
"estimate_source": "profile_seed",
"evidence_source": "request_snapshot"
},
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Published reference price: $0.00001 USD per successful request. Account-specific pricing and final settlement may differ. Published reference values are not an account-specific quote or a settled charge. For endpoints supporting X-AISA-Cost-Mode: quote, obtain a free quote for your exact request before execution; reconcile the settled cost with response metadata and Usage Logs. USD amounts use 1,000,000 integer micro-USD per dollar.- Default request reference estimate (USD): 1e-05
- Cost contract: fixed_success
- Settlement evidence source: request_snapshot
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
The release table element id you would like to retrieve. integer, optional When the parameter is not passed, the root(top most) element for the release is given.
A key or file extension that indicates the type of file to send. string, optional, default: xml One of the following values: 'xml', 'json' xml = Extensible Markup Language. The HTTP Content-Type is text/xml. json = JavaScript Object Notation. The HTTP Content-Type is application/json. xml = Extensible Markup Language. The HTTP Content-Type is text/xml. json = JavaScript Object Notation. The HTTP Content-Type is application/json.
xml, json A flag to indicate that observations need to be returned. Observation value and date will only be returned for a series type element. One of the following strings: 'true', 'false'. optional, default: false
true, false The observation date to be included with the returned release table. YYYY-MM-DD formatted string, optional, default: 9999-12-31 (latest available)
The id for a release. integer, required
Response
Official representation and examples only; no complete response schema is declared.