---
title: "Getting Started"
description: "This guide walks you through setting up your Stablegate API access and making your first API call."
canonical_url: "https://docs.stablegate.com/docs/guide/getting-started"
---
# Getting Started

> This guide walks you through setting up your Stablegate API access and making your first API call.

This guide walks you through setting up your Stablegate API access and making your first API call.

In a hurry? [Quickstart](https://docs.stablegate.com/docs/guide/getting-started/quickstart) is the whole path on one page: key, customer, verification, order, webhook.

## Prerequisites

To get started, you need a Stablegate account with Partner API access enabled. Sign in with your
usual Stablegate credentials and open :dev-portal-link{label="Developers"}. The menu entry appears
only once access is granted, so use the link until then.

Without access the page shows a **Developer API** card with a **Request API access** button;
submit the request from there. If you do not see the button, contact your account manager. Once
access is granted, the page opens on three tabs: **API keys**, **Webhooks** and **Your clients**.

Partner API access can be requested by **business accounts** after completing
[business verification (KYB)](https://docs.stablegate.com/docs/verification/compliance/business), at the Standard or Advanced
level permitted for their legal entity. Individual accounts and **Instant (Light)** accounts
cannot request access. Approval of the request does not enable the API automatically: access
is granted separately by the Stablegate team.

There is no sandbox: test access is arranged individually. For test access, contact your account
manager or our support team.

## Step 1: Open the Developers Section

Open :dev-portal-link{label="Developers"}. The section opens on the **API keys** tab.

## Step 2: Create an API Key

1. Once signed in, open the **API keys** tab.
2. Click **Create key**.
3. Give your key a descriptive name (e.g., "Production Backend" or "Staging Environment").
4. Copy and store both the key and the secret. The secret is shown once, at creation.

The key is what you send in `X-Api-Key`. The secret is only needed if you sign your requests, which
the Partner API does not currently require.

:warning[Treat your API key as a secret. Do not expose it in client-side code, public repositories, or logs.]## Step 3: Make Your First API Call

Let's verify your setup by fetching the list of supported exchange routes.

**Request:**

::code-switcher{method="GET" path="/v1/exchange-routes/"}
```bash
curl https://api.stablegate.com/v1/exchange-routes/ \
  --header 'X-Api-Key: YOUR_API_KEY'
```
::

**Response:**

```json
[
  {
    "source": {
      "rail": "sepa",
      "asset": {
        "code": "EUR",
        "fraction_digits": 2
      }
    },
    "destination": {
      "rail": "ethereum",
      "asset": {
        "code": "USDC",
        "fraction_digits": 6
      }
    }
  },
  {
    "source": {
      "rail": "ethereum",
      "asset": {
        "code": "USDT",
        "fraction_digits": 6
      }
    },
    "destination": {
      "rail": "sepa",
      "asset": {
        "code": "EUR",
        "fraction_digits": 2
      }
    }
  }
]
```

If you receive a `200` response with exchange route data, your API key is working correctly.

## Request Format

The API ignores unknown fields in a JSON request body instead of rejecting them. A misspelled or misplaced optional field is silently skipped, and the API uses its default value instead. To catch such mistakes before you send a request, generate your client from the [OpenAPI specification](https://docs.stablegate.com/openapi.json), which defines every field of every endpoint.

## Integration Flow Overview

A typical integration follows this sequence. See the [Customers](https://docs.stablegate.com/docs/guide/customers), [External Accounts](https://docs.stablegate.com/docs/guide/external-accounts), [Fees & Limits](https://docs.stablegate.com/docs/guide/fees-and-limits), and [Orders](https://docs.stablegate.com/docs/guide/orders) sections for details on each step.

1. **Create a customer** — register your end-user in the Stablegate system.
2. **Register external accounts** — bank accounts and/or crypto wallets.
3. **Check exchange route** — verify the conversion path is available.
4. **Browse bank providers** — discover banks, rails and exchange routes.
5. **Check fees** — calculate the fees and exchange rate.
6. **Check limits** — verify the customer's transaction limits.
7. **Create order** — submit the exchange order.
8. **Set up webhooks (optional)** — receive real-time notifications on status changes.
9. **Monitor order status** — via webhooks or by polling the order endpoint.


## Sitemap

See the full [sitemap](https://docs.stablegate.com/sitemap.md) for all pages.
