Reg api

Hi all,
For my project i want to create an api,but i dont have knowledege abt
api and how to start,if anyone knows pls help me

with regards,
shiva