Each state is different as to agricultural rules and regulations. Also each city can impose restrictions as to the safety and well being of the general populace. Here in Louisville, KY we are allowed to keep 4 non-crowing and one crowing bird on our property.
Also depending on how the state charter/constitution is written, will determine if the local city government can inact laws that are more restrictive than those of the state. Usually it comes down to case by case situation.
Also, don't forget to consider your neighbors in your planning. If they are against it, and you go ahead with your plans without consulting them, they can make your life miserable.

un

un
Maybe by offering them some of the extra eggs that your hens produce will make them amenable.
Where I live in the city, my neighbors don't care, as I have an alleyway on one side of the property, and railroad yards behind me.
Right now I am in the process of building a new racing loft for my homing pigeons and fantails. Once I get that finished and space cleared for the new coop, I will be building a new coop and then get my chickens.

e ( My neighbors already refer to my house as the zoo)
But when in doubt about legalities, it is always best to seek correct advice from an attorney.
Good Luck
Fr. Chuck
(30 tanks of tropical fish, 8 English Budgies, 7 American parakeets, 1 Canary, 2+ Ring Neck Doves, 13 pigeons, 6 Miniature Pinchsers ,
and in the spring Chickens!)