Get Macro Report
curl --request GET \
--url https://api.chicago.global/v1/macro-report \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.chicago.global/v1/macro-report"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.chicago.global/v1/macro-report', 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.chicago.global/v1/macro-report",
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.chicago.global/v1/macro-report"
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.chicago.global/v1/macro-report")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.chicago.global/v1/macro-report")
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{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}Macro Reports
Macro Report
Fetch macro economic report for a market.
- format=json: Returns JSON report URL (optionally with content)
- format=pdf: Returns PDF report URL
- include_content=true: Embeds full JSON report content in response
GET
/
v1
/
macro-report
Get Macro Report
curl --request GET \
--url https://api.chicago.global/v1/macro-report \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.chicago.global/v1/macro-report"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.chicago.global/v1/macro-report', 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.chicago.global/v1/macro-report",
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.chicago.global/v1/macro-report"
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.chicago.global/v1/macro-report")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.chicago.global/v1/macro-report")
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{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>",
"input": "<unknown>",
"ctx": {}
}
]
}This is a synchronous endpoint - results are returned immediately without job polling.
Response Formats
JSON Format (default)
Whenformat=json, the response includes the report file URL:
{
"success": true,
"market": "United States",
"report_date": "2026-08-23",
"format": "json",
"file_url": "<signed URL to the report file>",
"content": null
}
include_content=true, the content field contains the full report data instead of null.
PDF Format
Whenformat=pdf, the response includes the PDF URL:
{
"success": true,
"market": "United States",
"report_date": "2026-08-23",
"format": "pdf",
"pdf_url": "<signed URL to the report PDF>"
}
List Available Markets
To get a list of all markets with available reports:GET /v1/macro-report/markets
{
"success": true,
"markets": ["United States", "Japan", "Germany"]
}
The response above is illustrative. Coverage changes as markets are added, so call this endpoint for the current list rather than hard-coding market names.
Example: Fetch Report with Content
const response = await fetch(
'https://api.chicago.global/v1/macro-report?market=United%20States&include_content=true',
{
headers: { 'Authorization': `Bearer ${API_KEY}` }
}
);
const report = await response.json();
if (report.success) {
console.log(`Market: ${report.market}`);
console.log(`Report Date: ${report.report_date}`);
console.log(`Content:`, report.content);
}
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Market name (e.g., 'United States', 'Japan')
Response format: 'json' or 'pdf'
For JSON: include actual report content
Report date (YYYY-MM-DD). Omit for latest.
Response
Successful Response
Last modified on September 21, 2026
⌘I