I'm doing a little research project on political data.
I know that with API's like Geocodio, you can get the city, ZIP, and state, as well as the congress representative, state senator, and state representative districts. I'm curious as to if there are any API's that give county districts and city ward districts. This is mainly for larger counties like Cook (containing Chicago) or Allegheny (containing Pittsburgh), to name two examples, that actually have county districts that determine which county commissioners show up on the ballot. Additionally, many larger cities have wards that also determine which county district they're a part of.
If such an API does not exist, how would I go about making my own? What kind of resources and tools would I need to do such a thing?
Apologies in advance if the question seems vague or if this is the wrong place to ask this question.