commtting api db