api as txt