How to use API?

I want to know how I can use the API of unity, where can I find some documentation about that. Thanks to our answers.

Well I am going to assume you are talking about the scripting API and documentation on that can be found here : Unity - Scripting API:

keep in mind that this is for usage from within unity.

you can not use unity as part of another application and talk to it or use it as engine.