Add: option to force using custom url for API

Check now if I don't miss something or I don't add too much