Cred api