Added apiURL option