# SwapWallet بازار API

**Canonical:** https://apis.io/apis/swapwallet-app/swapwallet-app-default-api/  
**Provider:** SwapWallet — https://apis.io/providers/swapwallet-app/  
**Base URL:** https://swapwallet.app/api  
**Documentation:** https://swapwallet.app/docs

SwapWallet بازار API is one of 2 APIs that [SwapWallet](https://apis.io/providers/swapwallet-app/) publishes on the [APIs.io](https://apis.io/) network, described by a machine-readable OpenAPI specification. This API exposes 6 JSON Schema definitions. The published artifact set on APIs.io includes an OpenAPI specification and 6 JSON Schemas.

با استفاده از این APIها می‌توانید قیمت لحظه‌ای توکن‌ها را دریافت کرده و عملیات سواپ (تبدیل توکن به توکن) را انجام دهید. ## قیمت‌های لحظه‌ای نام هر جفت قیمتی به‌صورت `TOKEN/QUOTE` نمایش داده می‌شود؛ مثلاً `TON/USDT` قیمت TON بر حسب تتر را نشان می‌دهد. ارزهای مرجع تنها USDT و IRT هستند. ## سواپ OTC دو روش برای سواپ توکن وجود دارد: | روش | توضیح | |---:|---:| | **سواپ سریع** | تبدیل فوری با بهترین قیمت لحظه‌ای بدون نیاز به تأیید | | **قیمت + تأیید** | ابتدا قیمت قفل‌شده دریافت کنید، سپس ظرف ۱۰ ثانیه تأیید کنید | در هر درخواست سواپ، یکی از دو حالت زیر را مشخص کنید: - **`sourceAmount`** — مقدار مشخصی از توکن مبدأ فروخته می‌شود - **`destinationAmount`** — مقدار مشخصی از توکن مقصد دریافت می‌شود

## Operations (18)

| Method | Path | Summary |
|---|---|---|
| GET | `/v1/market/prices` | دریافت قیمت لحظه‌ای ارز‌ها |
| POST | `/v1/market/otc/fast-swap` | سواپ سریع |
| POST | `/v1/market/otc/price` | دریافت قیمت OTC |
| POST | `/v1/market/otc/order` | تأیید و اجرای سواپ OTC |
| GET | `/v1/bank/fiat-withdraw/config` | تنظیمات برداشت ریالی |
| POST | `/v1/bank/fiat-withdraw` | ارسال درخواست برداشت ریالی |
| GET | `/v1/wallet/crypto-withdraw/config/{token}` | تنظیمات برداشت کریپتو |
| POST | `/v1/wallet/crypto-withdraw` | ارسال درخواست برداشت کریپتو |
| GET | `/v1/transaction/{id}` | دریافت تراکنش با شناسه |
| GET | `/v2/transaction` | فیلتر تراکنش‌ها |
| GET | `/v1/utils/authentication/check` | بررسی توکن |
| POST | `/v1/shop/telegram/stars` | خرید تلگرام استارز |
| POST | `/v1/shop/telegram/premium` | خرید تلگرام پریمیوم |
| POST | `/v1/fragment/telegram/ads/recharge` | ساخت فاکتور شارژ تبلیغات تلگرام |
| POST | `/v1/invoice/pay` | پرداخت فاکتور |
| GET | `/v1/shop/prices` | قیمت محصولات فروشگاه |
| GET | `/v2/user/balance` | موجودی همه‌ی توکن‌ها |
| GET | `/v2/user/balance/{token}` | موجودی یک توکن |

## Machine-readable artifacts (8)

- **OpenAPI** — https://artifacts.apis.io/swapwallet-app/openapi/swapwallet-app-default-api-openapi.yml
- **JSONSchema** — https://artifacts.apis.io/swapwallet-app/json-schema/swapwallet-app-crypto-withdraw-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/swapwallet-app/json-schema/swapwallet-app-fiat-withdraw-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/swapwallet-app/json-schema/swapwallet-app-otc-swap-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/swapwallet-app/json-schema/swapwallet-app-withdraw-config-response-wrapper-schema.json
- **JSONSchema** — https://artifacts.apis.io/swapwallet-app/json-schema/swapwallet-app-telegram-ads-recharge-request-schema.json
- **JSONSchema** — https://artifacts.apis.io/swapwallet-app/json-schema/swapwallet-app-pay-invoice-request-schema.json
- **APIsJSON** — https://artifacts.apis.io/swapwallet-app/apis.yml

## Other SwapWallet APIs (1)

- [SwapWallet Examples API](https://apis.io/apis/swapwallet-app/swapwallet-app-examples-api/)

## Use this from code or an agent

- **REST, no key:** `GET https://apis.io/api/v1/providers/swapwallet-app` returns the provider's full profile as JSON.
- **MCP:** `https://apis.io/mcp` (Streamable HTTP) — search the catalog, read any provider, compare providers, check agent readiness.
- **Free API key** for catalog-wide search, ratings and comparisons: sign in with GitHub, Google or LinkedIn at https://apis.io/developer/account/ (plans: https://apis.io/developer/plans/).

---

Profiled by [API Evangelist](https://apievangelist.com) and published on [APIs.io](https://apis.io/apis/swapwallet-app/swapwallet-app-default-api/). The API's provider profile, Kin Score and agent-readiness rating are at https://apis.io/providers/swapwallet-app/.
