Update API URL and add API Key option