---
title: "Convert Fiat to Crypto"
method: GET
path: "/v1/bridge/convert"
tags: ["Bridge"]
---

# Convert Fiat to Crypto

`GET /v1/bridge/convert`

Convert fiat currency amount to cryptocurrency token amount. Supports multiple fiat currencies based on available price data for the specific token. Returns the equivalent amount of crypto tokens for the specified fiat amount based on current market prices. If price data is not available for the requested currency, the API will return a 404 error.

**Native Tokens**: To get the price of native tokens (like ETH on Ethereum), use the address `0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE`. For example, to get the price of ETH on Ethereum Mainnet (chainId: 1), pass `to=0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE`.

**Authentication**: Pass `x-client-id` header for frontend usage from allowlisted origins or `x-secret-key` for backend usage.

## Query parameters

- `from` 'USD' | 'EUR' | 'GBP' | 'JPY' | 'KRW' | 'CNY' | 'INR' | 'NOK' | 'SEK' | 'CHF' | 'AUD' | 'CAD' | 'NZD' | 'MXN' | 'BRL' | 'CLP' | 'CZK' | 'DKK' | 'HKD' | 'HUF' | 'IDR' | 'ILS' | 'ISK', required — The fiat currency symbol
- `fromAmount` string, required — The amount of fiat currency to convert
- `chainId` integer, required — The blockchain network identifier
- `to` string, required — The token address on the specified chain to convert to

## Response `200`

Conversion completed successfully. Returns the amount of crypto tokens equivalent to the specified fiat amount.

- object
  - `result` number, required — The conversion result - amount of crypto tokens for the fiat amount

## Other responses

- `400` — Bad request. Invalid parameters such as invalid amounts, malformed token address, or invalid currency code.
- `401` — Authentication required. Include `x-client-id` header for frontend usage or `x-secret-key` for backend usage.
- `404` — Token not found, price data unavailable for the specified token on the given chain, or price data not available for the requested currency.
- `429` — Too many requests. Rate limit exceeded.
- `500` — Internal server error. This may occur due to network connectivity issues or external service failures.

---

[API](https://skmtc.net/thirdweb/apis/thirdweb-api.md) · [All operations](https://skmtc.net/thirdweb/apis/thirdweb-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thirdweb/thirdweb-api/versions/fb4cb67da1c7/schema)
