I used the REST endpoint /services/licenser/pools
to get current usage data for licenser, however I need to report the usage in 1 month or 1 week, does Splunk has any endpoints that support that?
If you're using Splunk 6.0, or 5.x with the Splunk On Splunk App, you can check out the searches in the License Usage Report View (http://docs.splunk.com/Documentation/Splunk/latest/Admin/AboutSplunksLicenseUsageReportView ). You can view the search powering each panel in the report, and then copy and modify the search for your needs. All of the panels in the "Today" tab query the Splunk REST API.
I believe there's a type=RolloverSummary
event in index=_internal source=*license_usage.log
that may help.
Using the Deployment monitor app also has all the info you need. It's a built in functionality