Prime API: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 12: | Line 12: | ||
Private API is '''off by default'''. You need to enable it in your profile. | Private API is '''off by default'''. You need to enable it in your profile. | ||
===Get my deposit address=== | |||
GET /v1/private/deposit_address/:currency_name.json | |||
<source lang="bash"> | |||
curl -v --request GET http://localhost:3000/v1/private/deposit_address/BTC.json --header 'Authorization: PrimeExchange 84ffsOscok1Asbbqj28gcscv86M3nj4bRIamFaKe' | |||
</source> |
Revision as of 19:29, 7 February 2014
Prime API is based on JSON, delivered through HTTPS and is mostly REST-ful.
Public API
Public API calls are available without authentication.
Private API
Private API calls require authentication via:
- Your personal API key and optionally
- IP address
Private API is off by default. You need to enable it in your profile.
Get my deposit address
GET /v1/private/deposit_address/:currency_name.json
curl -v --request GET http://localhost:3000/v1/private/deposit_address/BTC.json --header 'Authorization: PrimeExchange 84ffsOscok1Asbbqj28gcscv86M3nj4bRIamFaKe'