Skip to content

Get started with the CryptoSwift API

Create and send your first CryptoSwift API call in one minute.

Every call to the CryptoSwift API must include an API secret key. After your CryptoSwift account is created, we generate two API keys for your CryptoSwift organisation – one for test, and one for production environment.

If you haven't joined CryptoSwift, reach out to our team to get your API keys.


The API key

CryptoSwift authenticates all your API requests using your account's API keys. CryptoSwift raises a 401 Unauthorized error if you don’t include a key or if the key is incorrect or outdated.

As mentioned above, all API requests that require authentiation need to include the API secret key. The key has to be put in a custom header called x-api-key.

Test and live modes

All CryptoSwift API requests occur in either test or live environments, objects and API keys in one environment aren't accessible to the other.

Your first requests

curl --location --request GET 'https://api.cryptoswift.eu/transactions/' \
--header 'x-api-key: a70fcedf-416b-4f83-845c-a05aba0d7da4' 

The example below returns the latest 100 transactions for the organisation associated with the given API key.

Next steps