Custom endpoints and external apis