API reverse-engineered