APIContext for cookies API