Skip to main content
POST
/
api
/
opensecrets
/
industries
/opensecrets/industries
curl --request POST \
  --url https://api.anysite.io/api/opensecrets/industries \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "ind": "<string>",
  "timeout": 300,
  "cycle": "2024"
}
'
[
  {
    "id": "<string>",
    "@type": "@opensecrets_industry",
    "name": "<string>",
    "sector": "<string>",
    "description": "<string>",
    "cycle": "<string>",
    "profile_url": "<string>",
    "top_contributors": [],
    "top_recipients": [],
    "top_lobbying_clients": []
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
ind
string
required

Industry / interest group code

Example:

"B02"

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500
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

id
string
required
@type
string
default:@opensecrets_industry
name
string | null
sector
string | null
description
string | null
cycle
string | null
profile_url
string | null
top_contributors
OpensecretsIndustryContributor · object[]
top_recipients
OpensecretsIndustryRecipient · object[]
top_lobbying_clients
OpensecretsIndustryLobbyingClient · object[]