hearth API