how to get create & resolved data from api? like below report display.
You'll need to use a search to fetch all the issues you are interested in, and then read the results for the dates of creation and resolution from them.
https://developer.atlassian.com/server/jira/platform/jira-rest-api-examples/ has a load of examples, including how to run a search over the REST API
It looks like you're new here. Sign in or register to get started.