API foundation