So I have sensors and arduino I planned on making an arduino controlled garden I have no problem with the coding and so forth. I been looking for some good api that I can feed my sensor data to and be able to control water pumps and sensors .
That's not the right question to ask. There's no "API" in the Arduino world, just the sketch you write.
Find some tutorial online and copy their code, if you feel you can't get started on your own.
use arduino yun