curl --request GET \
--url https://api.aisa.one/apis/v1/fred/category/tags \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/fred/category/tags"
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/category/tags', 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/category/tags",
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/category/tags"
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/category/tags")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/fred/category/tags")
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": 21,
"limit": 1000,
"offset": 0,
"order_by": "series_count",
"realtime_end": "2013-08-13",
"realtime_start": "2013-08-13",
"sort_order": "desc",
"tags": [
{
"created": "2012-02-27 10:18:19-06",
"group_id": "src",
"name": "bea",
"notes": "U.S. Department of Commerce: Bureau of Economic Analysis",
"popularity": 87,
"series_count": 24
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "geot",
"name": "nation",
"notes": "Country Level",
"popularity": 100,
"series_count": 24
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "geo",
"name": "usa",
"notes": "United States of America",
"popularity": 100,
"series_count": 24
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "gen",
"name": "balance",
"notes": "",
"popularity": 65,
"series_count": 18
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "seas",
"name": "nsa",
"notes": "Not seasonally adjusted",
"popularity": 96,
"series_count": 14
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "freq",
"name": "quarterly",
"notes": "",
"popularity": 88,
"series_count": 14
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "seas",
"name": "sa",
"notes": "Seasonally adjusted",
"popularity": 94,
"series_count": 10
},
{
"created": "2013-01-28 14:10:13-06",
"group_id": "gen",
"name": "bop",
"notes": "Balance of Payments",
"popularity": 60,
"series_count": 8
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "gen",
"name": "services",
"notes": "",
"popularity": 72,
"series_count": 8
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "freq",
"name": "annual",
"notes": "",
"popularity": 83,
"series_count": 7
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "gen",
"name": "net",
"notes": "",
"popularity": 68,
"series_count": 6
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "gen",
"name": "trade",
"notes": "",
"popularity": 60,
"series_count": 6
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "gen",
"name": "goods",
"notes": "",
"popularity": 73,
"series_count": 5
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "gen",
"name": "capital account",
"notes": "",
"popularity": 42,
"series_count": 3
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "src",
"name": "census",
"notes": "U.S. Department of Commerce: Census Bureau",
"popularity": 78,
"series_count": 3
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "gen",
"name": "current account",
"notes": "",
"popularity": 55,
"series_count": 3
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "gen",
"name": "income",
"notes": "",
"popularity": 61,
"series_count": 3
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "gen",
"name": "investment",
"notes": "",
"popularity": 67,
"series_count": 3
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "freq",
"name": "monthly",
"notes": "",
"popularity": 95,
"series_count": 3
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "gen",
"name": "transfers",
"notes": "",
"popularity": 50,
"series_count": 3
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "gen",
"name": "payments",
"notes": "",
"popularity": 57,
"series_count": 1
}
]
}Get Category Tags
curl --request GET \
--url https://api.aisa.one/apis/v1/fred/category/tags \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/fred/category/tags"
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/category/tags', 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/category/tags",
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/category/tags"
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/category/tags")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/fred/category/tags")
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": 21,
"limit": 1000,
"offset": 0,
"order_by": "series_count",
"realtime_end": "2013-08-13",
"realtime_start": "2013-08-13",
"sort_order": "desc",
"tags": [
{
"created": "2012-02-27 10:18:19-06",
"group_id": "src",
"name": "bea",
"notes": "U.S. Department of Commerce: Bureau of Economic Analysis",
"popularity": 87,
"series_count": 24
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "geot",
"name": "nation",
"notes": "Country Level",
"popularity": 100,
"series_count": 24
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "geo",
"name": "usa",
"notes": "United States of America",
"popularity": 100,
"series_count": 24
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "gen",
"name": "balance",
"notes": "",
"popularity": 65,
"series_count": 18
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "seas",
"name": "nsa",
"notes": "Not seasonally adjusted",
"popularity": 96,
"series_count": 14
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "freq",
"name": "quarterly",
"notes": "",
"popularity": 88,
"series_count": 14
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "seas",
"name": "sa",
"notes": "Seasonally adjusted",
"popularity": 94,
"series_count": 10
},
{
"created": "2013-01-28 14:10:13-06",
"group_id": "gen",
"name": "bop",
"notes": "Balance of Payments",
"popularity": 60,
"series_count": 8
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "gen",
"name": "services",
"notes": "",
"popularity": 72,
"series_count": 8
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "freq",
"name": "annual",
"notes": "",
"popularity": 83,
"series_count": 7
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "gen",
"name": "net",
"notes": "",
"popularity": 68,
"series_count": 6
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "gen",
"name": "trade",
"notes": "",
"popularity": 60,
"series_count": 6
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "gen",
"name": "goods",
"notes": "",
"popularity": 73,
"series_count": 5
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "gen",
"name": "capital account",
"notes": "",
"popularity": 42,
"series_count": 3
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "src",
"name": "census",
"notes": "U.S. Department of Commerce: Census Bureau",
"popularity": 78,
"series_count": 3
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "gen",
"name": "current account",
"notes": "",
"popularity": 55,
"series_count": 3
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "gen",
"name": "income",
"notes": "",
"popularity": 61,
"series_count": 3
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "gen",
"name": "investment",
"notes": "",
"popularity": 67,
"series_count": 3
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "freq",
"name": "monthly",
"notes": "",
"popularity": 95,
"series_count": 3
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "gen",
"name": "transfers",
"notes": "",
"popularity": 50,
"series_count": 3
},
{
"created": "2012-02-27 10:18:19-06",
"group_id": "gen",
"name": "payments",
"notes": "",
"popularity": 57,
"series_count": 1
}
]
}Request contract
- Method and path: GET /apis/v1/fred/category/tags
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/fred/category/tags - category_id: query; required
- file_type: query; optional
- limit: query; optional
- offset: query; optional
- order_by: query; optional
- realtime_end: query; optional
- realtime_start: query; optional
- search_text: query; optional
- sort_order: query; optional
- tag_group_id: query; optional
- tag_names: query; optional
{
"operationId": "any_fred_apis_v1_fred_category_tags",
"method": "GET",
"path": "/apis/v1/fred/category/tags",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"description": "The id for a category.\ninteger, required",
"in": "query",
"name": "category_id",
"required": true,
"schema": {
"type": "integer"
},
"x-aisa-reference-declarations": [
"integer, required"
]
},
{
"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: 'series_count', 'popularity', 'created', 'name', 'group_id'.\noptional, default: series_count",
"in": "query",
"name": "order_by",
"required": false,
"schema": {
"default": "series_count",
"enum": [
"series_count",
"popularity",
"created",
"name",
"group_id"
],
"type": "string"
},
"x-aisa-reference-declarations": [
"One of the following strings: 'series_count', 'popularity', 'created', 'name', 'group_id'.",
"optional, default: series_count"
]
},
{
"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": "The words to find matching tags with.\nString, optional, no filtering by search words by default.",
"in": "query",
"name": "search_text",
"required": false,
"schema": {
"type": "string"
},
"x-aisa-reference-declarations": [
"String, optional, no filtering by search words by default."
]
},
{
"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": "A tag group id to filter tags by type.\nString, optional, no filtering by tag group by default.\nOne of the following: 'freq', 'gen', 'geo', 'geot', 'rls', 'seas', 'src'. freq = Frequency gen = General or Concept geo = Geography geot = Geography Type rls = Release seas = Seasonal Adjustment src = Source\nfreq = Frequency gen = General or Concept geo = Geography geot = Geography Type rls = Release seas = Seasonal Adjustment src = Source",
"in": "query",
"name": "tag_group_id",
"required": false,
"schema": {
"type": "string"
},
"x-aisa-reference-declarations": [
"String, optional, no filtering by tag group by default.",
"One of the following: 'freq', 'gen', 'geo', 'geot', 'rls', 'seas', 'src'."
]
},
{
"description": "A semicolon delimited list of tag names to only include in the response. See the related request fred/category/related_tags .\nString, optional, no filtering by tag names by default\nExample value: 'trade;goods'. This value filters results to only include tags 'trade' and 'goods'.",
"in": "query",
"name": "tag_names",
"required": false,
"schema": {
"type": "string"
},
"x-aisa-reference-declarations": [
"String, optional, no filtering by tag names by default",
"Example value: 'trade;goods'. This value filters results to only include tags 'trade' and 'goods'."
]
}
],
"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.
xml, json A tag group id to filter tags by type. String, optional, no filtering by tag group by default. One of the following: 'freq', 'gen', 'geo', 'geot', 'rls', 'seas', 'src'. freq = Frequency gen = General or Concept geo = Geography geot = Geography Type rls = Release seas = Seasonal Adjustment src = Source freq = Frequency gen = General or Concept geo = Geography geot = Geography Type rls = Release seas = Seasonal Adjustment src = Source
Response
Successful response. The payload schema has not been reviewed yet.