curl --request GET \
--url https://api.unusualwhales.com/api/politics/fec/company/{ticker}/lobbying \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.unusualwhales.com/api/politics/fec/company/{ticker}/lobbying"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.unusualwhales.com/api/politics/fec/company/{ticker}/lobbying', 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.unusualwhales.com/api/politics/fec/company/{ticker}/lobbying",
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.unusualwhales.com/api/politics/fec/company/{ticker}/lobbying"
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.unusualwhales.com/api/politics/fec/company/{ticker}/lobbying")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.unusualwhales.com/api/politics/fec/company/{ticker}/lobbying")
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{
"company_name": "HOME DEPOT INC",
"filings": [
{
"client_name": "THE HOME DEPOT",
"dt_posted": "2026-07-20T18:04:11.000Z",
"expenses": "1140000.00",
"filing_period": "second_quarter",
"filing_type": "Q2",
"filing_uuid": "f3a1c9d2-7b44-4e0e-9a1c-2f5d8b6e4a10",
"filing_year": 2026,
"income": null,
"registrant_name": "THE HOME DEPOT"
}
],
"limit": 50,
"page": 1,
"periods": [
{
"filings_count": 9,
"in_house_expenses": "1140000.00",
"outside_income": "380000.00",
"quarter": 2,
"top_issue_codes": [
"TAX",
"TRD",
"LBR",
"CPT",
"HCR"
],
"year": 2026
},
{
"filings_count": 8,
"in_house_expenses": "1080000.00",
"outside_income": "350000.00",
"quarter": 1,
"top_issue_codes": [
"TAX",
"TRD",
"LBR"
],
"year": 2026
}
],
"ticker": "HD"
}{
"code": "authentication_required",
"documentation_url": "https://api.unusualwhales.com/docs",
"expected_format": "uuid",
"message": "The API token provided is not in the expected format. Unusual Whales API tokens are UUIDs, such as 123e4567-e89b-12d3-a456-426614174000.",
"reason": "malformed_token",
"request_id": "GNI_YTC1CRnw2LACGBvE",
"retryable": false,
"support_email": "[email protected]",
"token_url": "https://unusualwhales.com/dashboard/api"
}{
"code": "missing_access",
"documentation_url": "https://api.unusualwhales.com/docs",
"message": "The API token provided is valid but is not permitted to access this route.",
"reason": "route_not_permitted",
"request_id": "GNI_YTC1CRnw2LACGBvE",
"retryable": false,
"support_email": "[email protected]",
"token_url": "https://unusualwhales.com/dashboard/api"
}"{}"{
"msg": "Invalid path input: MSFT12 (valid example: AAPL) - Invalid query input(s): date=2023-02-140 (valid example: date=2024-01-18)",
"path": "/api/darkpool/MSFT12",
"query": "date=2023-02-140",
"url": "localhost:4000/api/darkpool/MSFT12?date=2023-02-140"
}"Something went wrong"Company lobbying totals and issues
Lobbying spend per quarter for a company from Senate LDA filings, in-house expenses
(self-filed reports), and outside income (hired-firm reports) as separate series, with the top
issue codes per period. include_filings=true adds the paginated filing list.
This is an enterprise only endpoint. Contact [email protected] for details about accessing this data.
curl --request GET \
--url https://api.unusualwhales.com/api/politics/fec/company/{ticker}/lobbying \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.unusualwhales.com/api/politics/fec/company/{ticker}/lobbying"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.unusualwhales.com/api/politics/fec/company/{ticker}/lobbying', 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.unusualwhales.com/api/politics/fec/company/{ticker}/lobbying",
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.unusualwhales.com/api/politics/fec/company/{ticker}/lobbying"
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.unusualwhales.com/api/politics/fec/company/{ticker}/lobbying")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.unusualwhales.com/api/politics/fec/company/{ticker}/lobbying")
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{
"company_name": "HOME DEPOT INC",
"filings": [
{
"client_name": "THE HOME DEPOT",
"dt_posted": "2026-07-20T18:04:11.000Z",
"expenses": "1140000.00",
"filing_period": "second_quarter",
"filing_type": "Q2",
"filing_uuid": "f3a1c9d2-7b44-4e0e-9a1c-2f5d8b6e4a10",
"filing_year": 2026,
"income": null,
"registrant_name": "THE HOME DEPOT"
}
],
"limit": 50,
"page": 1,
"periods": [
{
"filings_count": 9,
"in_house_expenses": "1140000.00",
"outside_income": "380000.00",
"quarter": 2,
"top_issue_codes": [
"TAX",
"TRD",
"LBR",
"CPT",
"HCR"
],
"year": 2026
},
{
"filings_count": 8,
"in_house_expenses": "1080000.00",
"outside_income": "350000.00",
"quarter": 1,
"top_issue_codes": [
"TAX",
"TRD",
"LBR"
],
"year": 2026
}
],
"ticker": "HD"
}{
"code": "authentication_required",
"documentation_url": "https://api.unusualwhales.com/docs",
"expected_format": "uuid",
"message": "The API token provided is not in the expected format. Unusual Whales API tokens are UUIDs, such as 123e4567-e89b-12d3-a456-426614174000.",
"reason": "malformed_token",
"request_id": "GNI_YTC1CRnw2LACGBvE",
"retryable": false,
"support_email": "[email protected]",
"token_url": "https://unusualwhales.com/dashboard/api"
}{
"code": "missing_access",
"documentation_url": "https://api.unusualwhales.com/docs",
"message": "The API token provided is valid but is not permitted to access this route.",
"reason": "route_not_permitted",
"request_id": "GNI_YTC1CRnw2LACGBvE",
"retryable": false,
"support_email": "[email protected]",
"token_url": "https://unusualwhales.com/dashboard/api"
}"{}"{
"msg": "Invalid path input: MSFT12 (valid example: AAPL) - Invalid query input(s): date=2023-02-140 (valid example: date=2024-01-18)",
"path": "/api/darkpool/MSFT12",
"query": "date=2023-02-140",
"url": "localhost:4000/api/darkpool/MSFT12?date=2023-02-140"
}"Something went wrong"Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Company ticker.
Query Parameters
Page number (default 1).
Rows per page (default 50, max 200).
Response
Quarterly lobbying spend from Senate LDA filings. in_house_expenses are self-reported totals from the company's own filings; outside_income is what hired lobbying firms reported earning from the company - two separate series, not summable without double counting.
Was this page helpful?
