API Keys

The ABCs of APIs.

What can I do to avoid being rate limited?

Typically, slowing down is all you need to do to solve the issue, but users have various options to avoid being rate-limited.

How do I onboard my dYdX accounts?

There are simple steps to follow to onboard your dYdX keys to Sandwich.

Does Sandwich account for users with higher rate limits?

Sandwich can, where exchanges cater for it.

What errors can occur when Loading API Keys?

Various errors can occur in relation to your API keys.

How private is my API information?

Sandwich takes API key security seriously and provides several measures to enhance the security of user API keys.

What are rate limits and why am I getting warnings about them?

API rate limiting refers to controlling or managing how many requests or calls an API user can make to an endpoint.

What is API trading?

An API is a messenger that takes requests and tells a system what you want it to do — and then returns the system’s response back to you. A trading API, as the name suggests, allows you to interact remotely with your crypto exchange account and manage it from your Sandwich account.

Where’s the best place to locate my server for minimum API latency?

Sandwich communicates directly with the exchanges via API so your personal geographic location will not affect your latency compared to direct exchange use.

Where does Sandwich store my API keys?

All your files are saved locally on your device, and they are accessible only to you.

What are API keys?

An API key is a code used to identify and authenticate an account or user. API Keys are how Sandwich knows which exchange and which accounts to interact with.

How does Sandwich approach API Key Security?

Sandwich takes API key security seriously and provides several measures to enhance the security of user API keys.

What does Binance's recent API update mean for Mulvad (VPN) Users?

Binance recently changed its API write requirements to include a whitelisted IP. The whitelisted IP requirement is a form of enhanced security which can be switched off at the user's discretion.

Is there a limit to the number of accounts/API keys I can store/access via Sandwich?

There is no limit to the file size of your .keys or .txt API key file, which means that there is no limit to the number of API keys you can store within Sandwich.

How to enable API trading?

To trade on Sandwich, you need to generate an API key with trading permissions. The specific labels for trading permissions may vary depending on the exchange you are using.

How do API Key tags work? How can I manage my API keys?

Manage your Tags via the Keys menu.

How do I import existing API key files?

The Key Manager has an Import option to make it easy for you to import your keys.

How can I edit and remove API keys?

Manage your keys via the Keys menu.

Can I lock my API keys to my IP address?

Yes, you can!

How do I add my API keys to Sandwich?

Creating an API key file and loading your keys is done via the Keys menu.

Can I trade on multiple accounts at the same time? How many API keys can I have loaded at once?

You can trade on multiple accounts and across multiple DMAs, on as many API keys as you like.

Why do I have to reload my accounts every time I open the app?

Your API key file is encrypted and tied to your computer, ensuring that your account access remains private. Therefore, your accounts can only be validated and loaded once you log in to Sandwich with your 2FA (Two-Factor Authentication).

How can I ensure my API key file is secure?

You can password protect your API keys and lock them to your PC.