HTTP API instructions

All requests must be provided with unique API keys, which you can generate in dashboard. You have to pass API keys with each request as public and private parameters. For example:

https://www.coinimp.com/api/v1/hashes?
        public=7e26bb94aa2ce44e6e16aca6ae6d28c7f0157b5ccd7a82f86bbbe8d835effd71&
        private=5112486af64b2f97bd3742c4153cee32452549491480cfd164b336720b82a84d

All requests must be provided with unique API keys, which you can generate in dashboard. You have to pass API keys with each request in headers as X-API-ID (public) and X-API-KEY (private) parameters. For example:

curl -L https://www.coinimp.com/api/v2/hashes
        -H 'X-API-ID:7e26bb94aa2ce44e6e16aca6ae6d28c7f0157b5ccd7a82f86bbbe8d835effd71'
        -H 'X-API-KEY:5112486af64b2f97bd3742c4153cee32452549491480cfd164b336720b82a84d'

Response format is JSON. Please always use HTTPS instead of HTTP.

Requests to API are limited to 3 times per minute with bursts not exceeding 10 requests. All requests above this limit won't be processed and API will return 503 HTTP code. To avoid exceeding the limit, it's recommended to implement a caching mechanism in your application.

hashes

Get total hashes count of your account or single site

Request:

currency Choose the currency that you want to check.
site-key (optional) Your site key, that you can find in dashboard by clicking on Generate button

Response:

message data || fail message
status success || failure

reward

Get total reward count of your account or single site

Request:

currency Choose the currency that you want to check.
site-key (optional) Your site key, that you can find in dashboard by clicking on Generate button

Response:

message data || fail message
status success || failure