api url in var