get
members
/members
Search government members
Search and filter government members across all levels and jurisdictions with various criteria.
Parameters
| name | type | required | description |
|---|---|---|---|
| countryquery | stringdefault us | — | ISO 3166-1 alpha-2 country code. DEFAULTS TO "us" when omitted, so existing integrations are unaffected by international data. Pass "*" for every country. |
| statequery | string | — | Filter by state code (two-letter lowercase) |
| rolequery | string | — | Filter by government role ID |
| partyquery | string | — | Filter by political party (case-insensitive partial match) |
| chamberquery | upper | lower | unicameral | — | Filter by legislative chamber |
| levelquery | federal | state | local | — | Filter by government level. Use with `branch` to pull a slice such as all federal executive officials. |
| branchquery | legislative | executive | judicial | — | Filter by branch of government (legislative, executive, judicial). |
| districtquery | string | — | Filter by district identifier. Leading zeros are ignored, so `3` and `03` select the same seat. Combine with `state` and `chamber` to identify a single seat. |
| searchquery | string | — | Case-insensitive substring match on the member name. |
| activequery | booleandefault true | — | Filter by active status |
| sortquery | name | state | partydefault name | — | Sort field |
| orderquery | asc | descdefault asc | — | Sort order |
| pagequery | integerdefault 1 | — | Page number for pagination |
| limitquery | integerdefault 50 | — | Number of items per page |
Example
curl
curl "https://civiclens.io/api/v1/members?state=tx&chamber=lower&district=30"200 response
{
"data": [
{
"id": "j57ebfcdjwx3x5dbyjxvy8m4jn8519qv",
"ocdPersonId": "dd3e49ca-2b2b-4a83-ae63-0ade6ccef73f",
"name": "A.J. Louderback",
"firstName": "A.J.",
"lastName": "Louderback",
"title": "Representative",
"profileImage": "https://svnkcjvhjsabii6v.public.blob.vercel-storage.com/photos/j57ebfcdjwx3x5dbyjxvy8m4jn8519qv-Jp26RlxkRcKm8CF7tFb8riRKHc6cBn.jpg",
"gender": "Male",
"party": "Republican",
"bio": "A.J. Louderback (Republican Party) (also known as Andy) is a member of the Texas House of Representatives, representing District 30. He assumed office on January 14, 2025. His current term ends on January 12, 2027.",
"profession": [
"Law enforcement officer"
],
"government": {
"country": "us",
"level": "state",
"branch": "legislative",
"stateCode": "tx",
"chamber": "lower",
"district": "30",
"termStart": "2025-01-14"
},
"contactInfo": {
"capitolOffice": {
"address": "Room E1.418, P.O. Box 12910, Austin, TX 78711",
"phone": "512-463-0456"
},
"districtOffices": [
{
"address": "5606 N. Navarro St. Suite 200-A, Victoria, TX 77904",
"phone": "361-582-9712"
}
],
"email": "aj.louderback@house.texas.gov",
"phone": "512-463-0456",
"website": "https://house.texas.gov/members/4620"
},
"personalWebsite": "https://house.texas.gov/members/4620",
"sourceUrl": "<redacted in documentation>",
"addedToRole": 1776387740198.9766,
"updatedAt": 1786006312642
},
{
"id": "j576d6ehby2jyhb1hdyxd7kjan850jz8",
"ocdPersonId": "bioguide:C001130",
"bioGuideId": "C001130",
"name": "Jasmine Crockett",
"firstName": "Jasmine",
"lastName": "Crockett",
"title": "Representative",
"profileImage": "https://svnkcjvhjsabii6v.public.blob.vercel-storage.com/photos/j576d6ehby2jyhb1hdyxd7kjan850jz8-62e61RgaE52Mi4PLKko2PbgFMfZa43.jpg",
"dateOfBirth": "1981-03-29",
"party": "Democratic",
"bio": "Jasmine Crockett (Democratic Party) is a member of the U.S. House, representing Texas' 30th Congressional District. She assumed office on January 3, 2023. Her current term ends on January 3, 2027. Senate to represent Texas. House to represent Texas' 30th Congressional District. She did not appear on the ballot for the Democratic primary on March 3, 2026.",
"education": [
"Rhodes College, 2003",
"University of Houston"
],
"profession": [
"Attorney",
"Small Business Owner"
],
"religion": "Christian",
"government": {
"country": "us",
"level": "federal",
"branch": "legislative",
"stateCode": "tx",
"chamber": "lower",
"district": "30",
"termStart": "2025-01-01"
},
"contactInfo": {
"capitolOffice": {
"address": "1616 Longworth House Office Building, Washington, DC 20515",
"phone": "(202) 225-8885"
},
"phone": "(202) 225-8885",
"website": "https://crockett.house.gov"
},
"socialMedia": {
"facebook": "RepJasmine",
"instagram": "RepJasmine",
"twitter": "RepJasmine"
},
"personalWebsite": "https://crockett.house.gov",
"sourceUrl": "<redacted in documentation>",
"addedToRole": 1776387736868.7898,
"updatedAt": 1788922859074
}
],
"pagination": {
"page": 1,
"limit": 1000,
"total": 2,
"hasMore": false
},
"meta": {
"lastUpdated": "2026-09-15T21:33:48.278Z",
"filters": {
"state": "tx",
"chamber": "lower",
"district": "30"
}
}
}A live response, trimmed to the first records. sourceUrl values are shown redacted in documentation; the API returns the full value.
Responses
200List of government members
400Bad request - invalid parameters
500Internal server error
Try it
PlaygroundLive responses from the real API
curl
curl "https://civiclens.io/api/v1/members?state=tx&chamber=lower&district=30"