Gate API