Get Source Releases
curl --request GET \
--url https://api.aisa.one/apis/v1/fred/source/releases \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/fred/source/releases"
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/source/releases', 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/source/releases",
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/source/releases"
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/source/releases")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/fred/source/releases")
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{
"count": 26,
"limit": 1000,
"offset": 0,
"order_by": "release_id",
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14",
"releases": [
{
"id": 13,
"link": "http://www.federalreserve.gov/releases/g17/",
"name": "G.17 Industrial Production and Capacity Utilization",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 14,
"link": "http://www.federalreserve.gov/releases/g19/",
"name": "G.19 Consumer Credit",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 15,
"link": "http://www.federalreserve.gov/releases/g5/",
"name": "G.5 Foreign Exchange Rates",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 17,
"link": "http://www.federalreserve.gov/releases/h10/",
"name": "H.10 Foreign Exchange Rates",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 18,
"link": "http://www.federalreserve.gov/releases/h15/",
"name": "H.15 Selected Interest Rates",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 19,
"link": "http://www.federalreserve.gov/releases/h3/",
"name": "H.3 Aggregate Reserves of Depository Institutions and the Monetary Base",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 20,
"link": "http://www.federalreserve.gov/releases/h41/",
"name": "H.4.1 Factors Affecting Reserve Balances",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 21,
"link": "http://www.federalreserve.gov/releases/h6/",
"name": "H.6 Money Stock Measures",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 22,
"link": "http://www.federalreserve.gov/releases/h8/",
"name": "H.8 Assets and Liabilities of Commercial Banks in the United States",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 52,
"link": "http://www.federalreserve.gov/releases/z1/",
"name": "Z.1 Flow of Funds Accounts of the United States",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 86,
"link": "http://www.federalreserve.gov/releases/cp/",
"name": "Commercial Paper Outstanding",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 89,
"link": "http://federalreserve.gov/releases/housedebt/",
"name": "Household Debt Service and Financial Obligations Ratios",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 101,
"link": "http://www.federalreserve.gov/fomc/",
"name": "FOMC Press Release",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 103,
"link": "http://www.federalreserve.gov/monetarypolicy/discountrate.htm",
"name": "Discount Rate Meeting Minutes",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 104,
"link": "http://www.federalreserve.gov/pubs/bulletin/",
"name": "Federal Reserve Bulletin",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 106,
"name": "M2 Own Rate",
"press_release": false,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 121,
"link": "http://www.federalreserve.gov/releases/h6/hist/",
"name": "H.6 Historical Data",
"press_release": false,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 122,
"name": "H.4.1 Factors Affecting Reserve Balances (data not included in press release)",
"press_release": false,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 131,
"link": "http://federalreserve.gov/releases/g13/",
"name": "G.13 Selected Interest Rates",
"notes": "With the issue dated January 8, 2002 (containing data for December 2001), the Federal Reserve ceased publication of the monthly G.13 statistical release. Monthly interest rates continue to be available on the H.15 release.",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 170,
"name": "U.S. Foreign Exchange Intervention",
"press_release": false,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 185,
"link": "http://www.federalreserve.gov/monetarypolicy/reqresbalances.htm",
"name": "Interest on Required Balances and Excess Balances",
"press_release": false,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 186,
"link": "http://www.federalreserve.gov/releases/g5a/",
"name": "G.5A Foreign Exchange Rates",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 191,
"link": "http://www.federalreserve.gov/boarddocs/SnLoanSurvey/",
"name": "Senior Loan Officer Opinion Survey on Bank Lending Practices",
"notes": "For further information, please refer to the Board of Governors of the Federal Reserve System's Senior Loan Officer Opinion Survey on Bank Lending Practices release, online at http://www.federalreserve.gov/boarddocs/SnLoanSurvey/.",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 216,
"link": "http://www.federalreserve.gov/releases/e2/",
"name": "E.2 Survey of Terms of Business Lending",
"notes": "These data are collected during the middle month of each quarter and are released in the middle of the succeeding month.",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 231,
"link": "http://www.federalreserve.gov/releases/chargeoff/default.htm",
"name": "Charge-Off and Delinquency Rates on Loans and Leases at Commercial Banks",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 245,
"link": "http://www.federalreserve.gov/releases/h10/summary/default.htm",
"name": "Summary Measures of the Foreign Exchange Value of the Dollar",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
}
],
"sort_order": "asc"
}FRED
Get Source Releases
Get the releases for a source.
{"methods":[{"methodType":"GET","methodDesc":"Get the releases for a source.","requestParams":[{"name":"source_id","type":"integer","required":true,"description":"The id for a source."},{"name":"realtime_start","type":"string","required":false,"description":"YYYY-MM-DD formatted string."},{"name":"realtime_end","type":"string","required":false,"description":"YYYY-MM-DD formatted string."}],"responseParams":[{"name":"releases","type":"array","description":"Array of release objects for the source."}]}]}
GET
https://api.aisa.one
/
apis
/
v1
/
fred
/
source
/
releases
Get Source Releases
curl --request GET \
--url https://api.aisa.one/apis/v1/fred/source/releases \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/fred/source/releases"
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/source/releases', 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/source/releases",
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/source/releases"
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/source/releases")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/fred/source/releases")
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{
"count": 26,
"limit": 1000,
"offset": 0,
"order_by": "release_id",
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14",
"releases": [
{
"id": 13,
"link": "http://www.federalreserve.gov/releases/g17/",
"name": "G.17 Industrial Production and Capacity Utilization",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 14,
"link": "http://www.federalreserve.gov/releases/g19/",
"name": "G.19 Consumer Credit",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 15,
"link": "http://www.federalreserve.gov/releases/g5/",
"name": "G.5 Foreign Exchange Rates",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 17,
"link": "http://www.federalreserve.gov/releases/h10/",
"name": "H.10 Foreign Exchange Rates",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 18,
"link": "http://www.federalreserve.gov/releases/h15/",
"name": "H.15 Selected Interest Rates",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 19,
"link": "http://www.federalreserve.gov/releases/h3/",
"name": "H.3 Aggregate Reserves of Depository Institutions and the Monetary Base",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 20,
"link": "http://www.federalreserve.gov/releases/h41/",
"name": "H.4.1 Factors Affecting Reserve Balances",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 21,
"link": "http://www.federalreserve.gov/releases/h6/",
"name": "H.6 Money Stock Measures",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 22,
"link": "http://www.federalreserve.gov/releases/h8/",
"name": "H.8 Assets and Liabilities of Commercial Banks in the United States",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 52,
"link": "http://www.federalreserve.gov/releases/z1/",
"name": "Z.1 Flow of Funds Accounts of the United States",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 86,
"link": "http://www.federalreserve.gov/releases/cp/",
"name": "Commercial Paper Outstanding",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 89,
"link": "http://federalreserve.gov/releases/housedebt/",
"name": "Household Debt Service and Financial Obligations Ratios",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 101,
"link": "http://www.federalreserve.gov/fomc/",
"name": "FOMC Press Release",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 103,
"link": "http://www.federalreserve.gov/monetarypolicy/discountrate.htm",
"name": "Discount Rate Meeting Minutes",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 104,
"link": "http://www.federalreserve.gov/pubs/bulletin/",
"name": "Federal Reserve Bulletin",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 106,
"name": "M2 Own Rate",
"press_release": false,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 121,
"link": "http://www.federalreserve.gov/releases/h6/hist/",
"name": "H.6 Historical Data",
"press_release": false,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 122,
"name": "H.4.1 Factors Affecting Reserve Balances (data not included in press release)",
"press_release": false,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 131,
"link": "http://federalreserve.gov/releases/g13/",
"name": "G.13 Selected Interest Rates",
"notes": "With the issue dated January 8, 2002 (containing data for December 2001), the Federal Reserve ceased publication of the monthly G.13 statistical release. Monthly interest rates continue to be available on the H.15 release.",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 170,
"name": "U.S. Foreign Exchange Intervention",
"press_release": false,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 185,
"link": "http://www.federalreserve.gov/monetarypolicy/reqresbalances.htm",
"name": "Interest on Required Balances and Excess Balances",
"press_release": false,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 186,
"link": "http://www.federalreserve.gov/releases/g5a/",
"name": "G.5A Foreign Exchange Rates",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 191,
"link": "http://www.federalreserve.gov/boarddocs/SnLoanSurvey/",
"name": "Senior Loan Officer Opinion Survey on Bank Lending Practices",
"notes": "For further information, please refer to the Board of Governors of the Federal Reserve System's Senior Loan Officer Opinion Survey on Bank Lending Practices release, online at http://www.federalreserve.gov/boarddocs/SnLoanSurvey/.",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 216,
"link": "http://www.federalreserve.gov/releases/e2/",
"name": "E.2 Survey of Terms of Business Lending",
"notes": "These data are collected during the middle month of each quarter and are released in the middle of the succeeding month.",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 231,
"link": "http://www.federalreserve.gov/releases/chargeoff/default.htm",
"name": "Charge-Off and Delinquency Rates on Loans and Leases at Commercial Banks",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
},
{
"id": 245,
"link": "http://www.federalreserve.gov/releases/h10/summary/default.htm",
"name": "Summary Measures of the Foreign Exchange Value of the Dollar",
"press_release": true,
"realtime_end": "2013-08-14",
"realtime_start": "2013-08-14"
}
],
"sort_order": "asc"
}Request contract
- Method and path: GET /apis/v1/fred/source/releases
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/fred/source/releases - file_type: query; optional
- limit: query; optional
- offset: query; optional
- order_by: query; optional
- realtime_end: query; optional
- realtime_start: query; optional
- sort_order: query; optional
- source_id: query; required
{
"operationId": "any_fred_apis_v1_fred_source_releases",
"method": "GET",
"path": "/apis/v1/fred/source/releases",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"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.",
"in": "query",
"name": "file_type",
"required": false,
"schema": {
"default": "xml",
"enum": [
"xml",
"json"
],
"type": "string"
},
"x-aisa-reference-declarations": [
"string, optional, default: xml",
"One of the following values: 'xml', 'json'"
]
},
{
"description": "The maximum number of results to return.\ninteger between 1 and 1000, optional, default: 1000",
"in": "query",
"name": "limit",
"required": false,
"schema": {
"default": 1000,
"maximum": 1000,
"minimum": 1,
"type": "integer"
},
"x-aisa-reference-declarations": [
"integer between 1 and 1000, optional, default: 1000"
]
},
{
"description": "non-negative integer, optional, default: 0",
"in": "query",
"name": "offset",
"required": false,
"schema": {
"default": 0,
"minimum": 0,
"type": "integer"
},
"x-aisa-reference-declarations": [
"non-negative integer, optional, default: 0"
]
},
{
"description": "Order results by values of the specified attribute.\nOne of the following strings: 'release_id', 'name', 'press_release', 'realtime_start', 'realtime_end'.\noptional, default: release_id",
"in": "query",
"name": "order_by",
"required": false,
"schema": {
"default": "release_id",
"enum": [
"release_id",
"name",
"press_release",
"realtime_start",
"realtime_end"
],
"type": "string"
},
"x-aisa-reference-declarations": [
"One of the following strings: 'release_id', 'name', 'press_release', 'realtime_start', 'realtime_end'.",
"optional, default: release_id"
]
},
{
"description": "The end of the real-time period. For more information, see Real-Time Periods .\nYYYY-MM-DD formatted string, optional, default: today's date",
"in": "query",
"name": "realtime_end",
"required": false,
"schema": {
"format": "date",
"type": "string"
},
"x-aisa-reference-declarations": [
"YYYY-MM-DD formatted string, optional, default: today's date"
]
},
{
"description": "The start of the real-time period. For more information, see Real-Time Periods .\nYYYY-MM-DD formatted string, optional, default: today's date",
"in": "query",
"name": "realtime_start",
"required": false,
"schema": {
"format": "date",
"type": "string"
},
"x-aisa-reference-declarations": [
"YYYY-MM-DD formatted string, optional, default: today's date"
]
},
{
"description": "Sort results is ascending or descending order for attribute values specified by order_by.\nOne of the following strings: 'asc', 'desc'.\noptional, default: asc",
"in": "query",
"name": "sort_order",
"required": false,
"schema": {
"default": "asc",
"enum": [
"asc",
"desc"
],
"type": "string"
},
"x-aisa-reference-declarations": [
"One of the following strings: 'asc', 'desc'.",
"optional, default: asc"
]
},
{
"description": "The id for a source.\ninteger, required",
"in": "query",
"name": "source_id",
"required": true,
"schema": {
"type": "integer"
},
"x-aisa-reference-declarations": [
"integer, required"
]
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Published reference price: $0.00001 USD per successful request. Your account price may differ; use a request quote where supported.Authorizations
Query Parameters
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.
Available options:
xml, json Order results by values of the specified attribute. One of the following strings: 'release_id', 'name', 'press_release', 'realtime_start', 'realtime_end'. optional, default: release_id
Available options:
release_id, name, press_release, realtime_start, realtime_end Response
Successful response. The payload schema has not been reviewed yet.