Skip to main content
POST
/
api
/
opensecrets
/
pacs
/
search
/opensecrets/pacs/search
curl --request POST \
  --url https://api.anysite.io/api/opensecrets/pacs/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "count": 2,
  "timeout": 300,
  "list_type": "top_pacs",
  "cycle": "2024"
}
'
[
  {
    "@type": "@opensecrets_pac",
    "name": "<string>",
    "total": 123,
    "party": "<string>",
    "lean": "<string>",
    "to_democrats_percent": 123,
    "to_republicans_percent": 123,
    "candidate_type": "<string>",
    "district": "<string>",
    "country": "<string>",
    "profile_url": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
count
integer
required

Max number of results

Required range: x >= 1
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
list_type
enum<string>
default:top_pacs

Which PAC ranking to return

Available options:
top_pacs,
top_recipients,
foreign_connected
cycle
enum<string>
default:2024

Election cycle

Available options:
a,
2026,
2024,
2022,
2020,
2018,
2016,
2014,
2012,
2010,
2008,
2006,
2004,
2002,
2000,
1998,
1996,
1994,
1992,
1990

Response

Successful Response

@type
string
default:@opensecrets_pac
name
string | null
total
integer | null
party
string | null
lean
string | null
to_democrats_percent
number | null
to_republicans_percent
number | null
candidate_type
string | null
district
string | null
country
string | null
profile_url
string | null