Congress & government officials
Member Profiles
Returns Congressional member profiles from the unitedstates/ congress-legislators catalog. Each record is one current House Representative or Senator, keyed by bioguide_id (the permanent member identifier — e.g., 'C001035' for Susan Collins).
Endpoint
GET /v1/member-profileSourceCongress member roster
Authx-api-key — a free key works
What it returns
One record per result. Fields (from a live response):
- Identity —
bioguide_id,last_name,middle_name,full_name,committee_assignments,state_district,state,first_name,party,bioguide_url - Amounts —
terms_count - Provenance —
photo_url(self-hosted official portrait:GET /v1/photos/{bioguideId}with your API key — one metered call, same model as ticker logos) - Details —
birthday,gender,current_term_start,current_term_end,senate_class,chamber,nickname,social,contact,cross_reference_ids,terms
Filters
| bioguide_id | Permanent member identifier — letter + 6 digits (e.g., 'C001035' for Susan Collins, 'P000197' for Nancy Pelosi). Direct doc lookup, fastest path. |
| member_name | Case-insensitive substring against full_name. Example: 'Pelosi' returns Nancy Pelosi. |
| state | 2-letter state abbreviation (e.g., 'ME', 'CA'). Filters to members from that state — useful with chamber=senate to get the 2 senators from a state. |
| chamber | Filter to House Representatives or Senators. |
| party | 'Democrat' | 'Republican' | 'Independent' | etc. Exact match — uses the YAML's spelling. |
| committee_id | Thomas committee code (full committee like 'HSAS' or subcommittee like 'HSAG15'). Returns all members of that committee. |
| limit | Maximum records to return. Default 50, max 600 (~current Congress size). |
Example request
curl "https://api.keyvex.com/v1/member-profile?limit=1" \
-H "x-api-key: YOUR_KEY"
Response
{
"results": [
{
"birthday": "1967-01-25",
"bioguide_id": "B001314",
"gender": "M",
"current_term_start": "2025-01-03",
"current_term_end": "2027-01-03",
"last_name": "Bean",
"senate_class": null,
"middle_name": "Paul",
"full_name": "Aaron Bean",
"terms_count": 2,
"chamber": "house",
"committee_assignments": [
{
"committee_id": "HSWM",
"committee_name": "House Committee on Ways and Means",
"committee_type": "house",
"is_subcommittee": false,
"parent_committee_id": null,
"party_role": "majority",
"rank": 25,
"leadership_title": ""
},
{
"committee_id": "HSWM01",
"committee_name": "Social Security",
"committee_type": "house",
"is_subcommittee": true,
"parent_committee_id": "HSWM",
"party_role": "majority",
"rank": 4,
"leadership_title": ""
},
{
"committee_id": "HSWM06",
"committee_name": "Oversight",
"committee_type": "house",
"is_subcommittee": true,
"parent_committee_id": "HSWM",
"party_role": "majority",
"rank": 7,
"leadership_title": ""
},
{
"committee_id": "HSWM03",
"committee_name": "Work and Welfare",
"committee_type": "house",
"is_subcommittee": true
…
}
],
"count": 1,
"has_more": true
}
Example questions you can answer
- Look up a member's party, state, and committee assignments.
- List all members on a given committee.
Related datasets
Query Member Profiles from your AI
Hand any AI your key + the OpenAPI spec and it can pull this dataset directly. Free key = full data, 60 requests/day.
Get a free key OpenAPI spec → REST docs →