local API testing