Can I use the REST API to obtain DOI registration statistics?

The REST API allows you to retrieve DOI registration statistics.

Examples:

Use the following query to retrieve all the Repositories of e.g DataCite
https://api.datacite.org/clients/totals?provider-id=datacite

The query can be extended to filter out the drafts state identifiers by specifying the "state" e.g. https://api.datacite.org/clients/totals?provider-id=datacite&state=findable

Read more about setting up queries with the REST API here.