API nearly completed