Adem,
I am a esri customer (not an esri employee). Strange if your are an esri customer then where is the point in this thread? If you have an AGOL subscription then you would not be concerned about using the API for free, as has already been explained in previous replies.