API extraction