Learn how to get your API keys, make your first request, and understand eToro API response formats.
Part of: Build a Trading Bot — Step 1 of 4
Before you begin, you'll need:
x-api-key) and User key (x-user-key)Use the Demo API environment first — it has the same endpoints as production but uses simulated balances, so you can experiment without risk.
Let's search for instruments by name using the eToro API.
eToro API responses contain your requested data. Include an x-request-id header on every call so support can trace issues back to specific requests.
Common HTTP status codes:
Retry-After header and slow down)The eToro API enforces rate limits. Exceeding your limit returns 429 Too Many Requests with a Retry-After header. Always respect that header before retrying.
For current rate limit details, see the Rate Limits documentation.
/market-data/search endpoint for instrument discovery instead of fetching the full instrument listx-api-key, x-user-key, x-request-id)Now that you've made your first request, explore these guides:
Was this helpful?