Skip to main content

List applicants

GET /api/chamber_of_deputies/applicant/ Returns a list of all applicants. An applicant is the person or entity that submitted a CEAP reimbursement claim. This is typically a congressperson, but can also be the leadership of a political party or a government bloc. Each applicant is identified by a unique applicant_id, which you can use to filter reimbursements.
q
string
Case-insensitive LIKE filter applied to congressperson_name. Returns all applicants whose name contains the given string.
count
number
required
Total number of applicants matching the query.
next
string
URL of the next page of results, or null if this is the last page.
previous
string
URL of the previous page of results, or null if this is the first page.
results
object[]
required
Array of applicant objects.

Examples

List all applicants
curl "https://jarbas.serenata.ai/api/chamber_of_deputies/applicant/"
Search by name
curl "https://jarbas.serenata.ai/api/chamber_of_deputies/applicant/?q=silva"
Search for party leadership
curl "https://jarbas.serenata.ai/api/chamber_of_deputies/applicant/?q=lideranca"
Example response
{
  "count": 2,
  "next": null,
  "previous": null,
  "results": [
    {
      "applicant_id": 2087,
      "congressperson_name": "ABEL MESQUITA JR."
    },
    {
      "applicant_id": 3201,
      "congressperson_name": "SILVA JUNIOR"
    }
  ]
}
Use the applicant_id returned here as the applicant_id filter on the reimbursements endpoint to retrieve all reimbursements filed by a specific congressperson.

Build docs developers (and LLMs) love