Profit and Loss Api

Is there a RPC or doctype which gives me all the details from the below report

Did not understand your query properly. Can you please elaborate what you want to do?

I am checking http://frappe.github.io/erpnext/current/api/ and I dont find an api for getting profit and loss data

in the website, I know the report is generated from here

is there an api for getting the report data in json which can be consumed from an api end point