AMPL API is an interface that allows developers to access the features of the AMPL interpreter from within a programming language.