a TPB api