Brazil Senate Senators API

The sitting members of Brazil's Federal Senate as a flat list: name, party, state, official office email, bloc, role and term dates, with filters by party and state.

$0.50 per 1,000 records

You pay only for the records you get. Zero records cost zero. 10,000 free records of this API to start (5,000 at the base price of $1 per 1,000), no card.

Try it
Ready-made, maintained by usProfiles, 12 fieldsv1.0

Data from legis.senado.leg.br/dadosabertos/senador/lista/atual.json

Get this data

Try it here with a few records, download the sample, fill a Google Sheet, or call it from your own code.

Try it

Partyoptional
Only senators of this party, by its abbreviation as the Senate writes it.
Example: PT
Stateoptional
Only senators of this state, as a two-letter code such as SP.
Example: SP

Run it on this page, or call it from your code with the endpoint in the developer section. A free key covers 10,000 records of this API, no card. Create a free key

For developers: the API and MCPThe endpoint, code in curl, JavaScript and Python, every input, and files for your tools
Endpoint
POSThttps://pullrow.dev/v1/apis/brazil-senate-senators/run
  • Small runs answer in the same request; longer ones answer 202 with a run to poll.
  • fields returns only the fields you name. The examples send the ones picked on this page.
  • Idempotency-Key is optional. A retry with it is never charged twice.
  • You pay for records returned. Zero records cost zero.

Every run option, explained

Calling it needs a key
10,000 free records of this API to start. No card.
curl
curl -X POST "https://pullrow.dev/v1/apis/brazil-senate-senators/run" \
  -H "Authorization: Bearer $PULLROW_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"party":"PT"},"max_items":50}'

Inputs

Send them as input in the request body. Leave one out to use its default.

partytext
Only senators of this party, by its abbreviation as the Senate writes it.
example: PT
statetext
Only senators of this state, as a two-letter code such as SP.
example: SP

What's in each record

12 fields: 11 here, 1 technical one under Technical details.

Basics

  • Parliamentary name

    Example Astronauta Marcos Pontes

  • Full name

    Example Marcos Cesar Pontes

  • Party abbreviation

    Example PL

  • Bloc

    Parliamentary bloc, when the senator is in one.

    Example Bloco Parlamentar Vanguarda

  • Role

    Titular or substitute (suplente).

    Example Titular

Location

  • State

    Two-letter code of the state the senator represents.

    Example SP

Dates

  • Term start date

    Start of the current mandate.

    Example Feb 1, 2023

  • Term end date

    End of the current mandate.

    Example Jan 31, 2031

Contact details

  • Official Senate office email

    Example s•••@senado.leg.br

Pictures and media

Technical detailsField names and types for developers, and the 1 field hidden above

Hidden by default

This field comes with each record too. It is an internal code, a note about how the record was read or a copy of what was searched for, so the lists above leave it out.

  • ID idThe Senate's own code of the senator.

Field names and types

The names your code reads in each record. "Filled" counts how many of the 3 sample records carry the field.

Field nameTypeShown on this page asFilled
idtextID (hidden)3 of 3
urllinkLink3 of 3
nametextParliamentary name3 of 3
full_nametextFull name3 of 3
partytextParty abbreviation3 of 3
statetextState3 of 3
emailtextOfficial Senate office email3 of 3
photoimage linkOfficial photo3 of 3
bloctextBloc3 of 3
roletextRole3 of 3
term_start_datedateTerm start date3 of 3
term_end_datedateTerm end date3 of 3

How it reads the site

Runs on a reader we built and maintain by hand for this site.

Sample records

Sample records
RecordParliamentary nameFull nameParty abbreviationBlocRoleStateTerm start dateTerm end dateLinkOfficial Senate office emailOfficial photo
1Astronauta Marcos PontesMarcos Cesar PontesPLBloco Parlamentar VanguardaTitularSPFeb 1, 2023Jan 31, 2031www25.senado.leg.br/web/senadores/senador/-/perfil/6009s•••@senado.leg.brsenado.leg.br/senadores/img/fotos-oficiais/senador6009.jpg
2GiordanoAlexandre Luiz GiordanoPODEBloco Parlamentar Democracia1º SuplenteSPFeb 1, 2019Jan 31, 2027www25.senado.leg.br/web/senadores/senador/-/perfil/6008s•••@senado.leg.brsenado.leg.br/senadores/img/fotos-oficiais/senador6008.jpg
3Mara GabrilliMara Cristina GabrilliPSDBloco Parlamentar da Resistência DemocráticaTitularSPFeb 1, 2019Jan 31, 2027www25.senado.leg.br/web/senadores/senador/-/perfil/5376s•••@senado.leg.brsenado.leg.br/senadores/img/fotos-oficiais/senador5376.jpg

Sample records from the example output this API publishes. Email addresses and phone numbers in them are masked. Hover over a column name to see the field name your code reads.

Reliability

Counted from real runs. Our own health checks are left out. A run succeeded when it finished and the site neither blocked it nor broke it.

Incidents and repairs

How it is kept working What a repair can't do

A ready-made API, maintained by us. It is not part of the daily check or the automatic rebuild yet.

  • You pay only for records returned. A run that returns none costs nothing.
Known limits
  • Covers only senators currently in office (about 81); former senators are not included.
  • Office data of public officials only: official Senate email and public profile links, no private contact details.
  • The Senate updates the list when membership changes; party and bloc are as the Senate publishes them.
  • Names, parties and blocs are in Portuguese. The Senate's open data is public; credit the Brazilian Federal Senate.

Version history

A run uses the live version unless the request names another one with version.