Add URL retrieval functionality for keys and stats