Get Results
get_resultsRetrieve raw Turkish election vote totals by election, province, district, and office, including registered voters, turnout, valid/invalid votes, and party or candidate results.
Instructions
Vote totals for an election at Turkey, province or district level (omit province for Turkey; pass province, plus district for a district). 'election' is an id from list_elections, e.g. '2023-05-14-mv'. Returns RAW YSK API figures (data_label='ham'): registered voters, turnout, valid and invalid votes, and per-party (or per-candidate; referendums: 'choices' EVET/HAYIR) votes with percent of valid votes. Alliance votes are listed separately and never distributed; vote_basis='alliance_distributed' is not available. In local elections 'district' selects a municipality (district-centre or belde, e.g. 'Besni' or 'Besni - Kesmetepe'); a province result is the sum of all mayor races there (belediye_baskani) or the metropolitan mayor race (buyuksehir_belediye_baskani).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"election": "<election>"
},
"name": "get_results"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| office | No | ||
| district | No | ||
| election | Yes | ||
| province | No | ||
| vote_basis | No | raw |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||