In the certificate section we generate TLS certificates that can be used as method of authenticating to the EMS API.

Get authentication certificate GET

Code samples

curl --request GET \
  --url https://ems-mgmt.coinapi.io/v1/certificate/pem \
  --header 'Accept: text/plain' \
  --header 'X-CoinAPI-Key: API_KEY'

GET /v1/certificate/pem

Providing PEM file with the Private Key, Public Key and the Certificate to authenticate to the EMS API.

Example responses

200 Response

"-----BEGIN PUBLIC KEY-----\nMIIBIjANB.......\n-----END PUBLIC KEY-----\n-----BEGIN PRIVATE KEY-----\nMIIEvwIAA.......\n-----END PRIVATE KEY-----\n-----BEGIN CERTIFICATE-----\nMIIDEjCCA.......\n-----END CERTIFICATE-----\n"


200OK (opens in a new tab)OKstring

Copyright 2022 COINAPI LTD or its affiliates. All rights reserved.