Added API part

Added some API part for deaths