Congressional meeting
curl --request GET \
--url https://astreus.ai/api/v1/congressional/calendar/{id} \
--header 'X-API-KEY: <api-key>'import requests
url = "https://astreus.ai/api/v1/congressional/calendar/{id}"
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/congressional/calendar/{id}', 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/congressional/calendar/{id}",
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/congressional/calendar/{id}"
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/congressional/calendar/{id}")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://astreus.ai/api/v1/congressional/calendar/{id}")
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{
"id": "house:119515",
"chamber": "house",
"eventId": "119515",
"congress": 119,
"date": "2026-09-01",
"meetingAt": "2026-09-01T14:00:00.000Z",
"time": "10:00 AM",
"title": "Countering Houthi Terrorism: Protecting U.S. Interests and Security in the Red Sea",
"kind": "hearing",
"meetingType": "Hearing",
"closed": false,
"status": "scheduled",
"location": "Rayburn House Office Building 2172",
"committees": [
{
"systemCode": "hsfa13",
"name": "House Subcommittee on the Middle East and North Africa",
"parentSystemCode": "hsfa00"
}
],
"witnessCount": 2,
"url": "https://www.congress.gov/event/119th-congress/house-event/119515"
}{
"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
Congressional meeting
One committee meeting, e.g. house:119515: committees, witnesses, location and the publisher’s page.
GET
/
api
/
v1
/
congressional
/
calendar
/
{id}
Congressional meeting
curl --request GET \
--url https://astreus.ai/api/v1/congressional/calendar/{id} \
--header 'X-API-KEY: <api-key>'import requests
url = "https://astreus.ai/api/v1/congressional/calendar/{id}"
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/congressional/calendar/{id}', 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/congressional/calendar/{id}",
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/congressional/calendar/{id}"
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/congressional/calendar/{id}")
.header("X-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://astreus.ai/api/v1/congressional/calendar/{id}")
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{
"id": "house:119515",
"chamber": "house",
"eventId": "119515",
"congress": 119,
"date": "2026-09-01",
"meetingAt": "2026-09-01T14:00:00.000Z",
"time": "10:00 AM",
"title": "Countering Houthi Terrorism: Protecting U.S. Interests and Security in the Red Sea",
"kind": "hearing",
"meetingType": "Hearing",
"closed": false,
"status": "scheduled",
"location": "Rayburn House Office Building 2172",
"committees": [
{
"systemCode": "hsfa13",
"name": "House Subcommittee on the Middle East and North Africa",
"parentSystemCode": "hsfa00"
}
],
"witnessCount": 2,
"url": "https://www.congress.gov/event/119th-congress/house-event/119515"
}{
"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
The event id as the calendar returned it.
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.