Presidential schedule
curl --request GET \
--url https://astreus.ai/api/v1/countries/{iso}/officials/schedule \
--header 'X-API-KEY: <api-key>'import requests
url = "https://astreus.ai/api/v1/countries/{iso}/officials/schedule"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://astreus.ai/api/v1/countries/{iso}/officials/schedule', 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://astreus.ai/api/v1/countries/{iso}/officials/schedule",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$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://astreus.ai/api/v1/countries/{iso}/officials/schedule"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://astreus.ai/api/v1/countries/{iso}/officials/schedule")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://astreus.ai/api/v1/countries/{iso}/officials/schedule")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"iso2": "US",
"available": true,
"ok": true,
"weekStart": "2026-11-01",
"weekEnd": "2026-11-07",
"timezone": "America/New_York",
"source": {
"name": "BNO News — White House pool schedule",
"url": "https://bnonews.com/whpool/schedule"
},
"events": [
{
"id": "2026-11-01-08:00-executive-time-0",
"date": "2026-11-01",
"time": "08:00",
"timezone": "ET",
"title": "Executive Time",
"rawTitle": "THE PRESIDENT participates in Executive Time",
"location": "Palm Beach, Florida",
"press": "closed",
"kind": "executive_time",
"sourceUrl": "https://bnonews.com/whpool/9WDDgFz8"
},
{
"id": "2026-11-01-tba-departs-palm-beach-florida-en-route-dubu-1",
"date": "2026-11-01",
"time": null,
"timezone": "ET",
"title": "Departs Palm Beach, Florida en route Dubuque, Iowa",
"rawTitle": "THE PRESIDENT departs Palm Beach, Florida en route Dubuque, Iowa",
"location": "Palm Beach, Florida",
"press": "travel_pool",
"kind": "travel",
"sourceUrl": "https://bnonews.com/whpool/9WDDgFz8"
}
],
"fetchedAt": "2026-11-01T12:50:48.401Z"
}{
"error": "<string>",
"code": "unknown_parameter",
"param": "<string>",
"allowed": [
"<string>"
]
}{
"error": "<string>",
"code": "unknown_parameter",
"param": "<string>",
"allowed": [
"<string>"
]
}{
"error": "<string>",
"code": "unknown_parameter",
"param": "<string>",
"allowed": [
"<string>"
]
}{
"error": "<string>",
"code": "unknown_parameter",
"param": "<string>",
"allowed": [
"<string>"
]
}Macro
Presidential schedule
The sitting US president’s week (Sunday–Saturday, America/New_York), from BNO News’ compilation of the White House press-pool schedule: a third-party source, not an official White House release. Other countries return available=false.
GET
/
api
/
v1
/
countries
/
{iso}
/
officials
/
schedule
Presidential schedule
curl --request GET \
--url https://astreus.ai/api/v1/countries/{iso}/officials/schedule \
--header 'X-API-KEY: <api-key>'import requests
url = "https://astreus.ai/api/v1/countries/{iso}/officials/schedule"
headers = {"X-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-KEY': '<api-key>'}};
fetch('https://astreus.ai/api/v1/countries/{iso}/officials/schedule', 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://astreus.ai/api/v1/countries/{iso}/officials/schedule",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-KEY: <api-key>"
],
]);
$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://astreus.ai/api/v1/countries/{iso}/officials/schedule"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://astreus.ai/api/v1/countries/{iso}/officials/schedule")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://astreus.ai/api/v1/countries/{iso}/officials/schedule")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"iso2": "US",
"available": true,
"ok": true,
"weekStart": "2026-11-01",
"weekEnd": "2026-11-07",
"timezone": "America/New_York",
"source": {
"name": "BNO News — White House pool schedule",
"url": "https://bnonews.com/whpool/schedule"
},
"events": [
{
"id": "2026-11-01-08:00-executive-time-0",
"date": "2026-11-01",
"time": "08:00",
"timezone": "ET",
"title": "Executive Time",
"rawTitle": "THE PRESIDENT participates in Executive Time",
"location": "Palm Beach, Florida",
"press": "closed",
"kind": "executive_time",
"sourceUrl": "https://bnonews.com/whpool/9WDDgFz8"
},
{
"id": "2026-11-01-tba-departs-palm-beach-florida-en-route-dubu-1",
"date": "2026-11-01",
"time": null,
"timezone": "ET",
"title": "Departs Palm Beach, Florida en route Dubuque, Iowa",
"rawTitle": "THE PRESIDENT departs Palm Beach, Florida en route Dubuque, Iowa",
"location": "Palm Beach, Florida",
"press": "travel_pool",
"kind": "travel",
"sourceUrl": "https://bnonews.com/whpool/9WDDgFz8"
}
],
"fetchedAt": "2026-11-01T12:50:48.401Z"
}{
"error": "<string>",
"code": "unknown_parameter",
"param": "<string>",
"allowed": [
"<string>"
]
}{
"error": "<string>",
"code": "unknown_parameter",
"param": "<string>",
"allowed": [
"<string>"
]
}{
"error": "<string>",
"code": "unknown_parameter",
"param": "<string>",
"allowed": [
"<string>"
]
}{
"error": "<string>",
"code": "unknown_parameter",
"param": "<string>",
"allowed": [
"<string>"
]
}Authorizations
apiKeycognitoIdToken
Astreus API key (pk_live_...), created on the Developers page in the terminal. Also accepted as Authorization: Bearer pk_live_....
Path Parameters
ISO 3166-1 alpha-2 country code (e.g. US).
Query Parameters
Any day in the week, YYYY-MM-DD; defaults to today in America/New_York.
Response
OK
Inferred from captured responses: every field shown was returned by a real call; a field may be absent or null on other calls.