API URL here should be removed, maybe extract it from kernel params in proc?