رمزیتو
API Reference
Contents
Overview
Authentication
REST API
Order Example
WebSocket

Developer Documentation

This page documents the public REST and WebSocket APIs exposed for trading bots, integration scripts, and live market price feeds. All endpoints documented here are public by design.

Base API URL

https://api.vitrincard.com

Standard requests are rate-limited to 120 calls per minute per IP address. If exceeded, the API returns a standard HTTP 429 Too Many Requests response.


Authentication

Signed REST requests are validated against your API key, custom signature, and timestamp. Please provide the following HTTP headers on every authenticated private request:

x-api-key

Public API key identifier generated from settings.

x-api-signature

Hex-encoded HMAC SHA-256 signature.

x-api-timestamp

Unix epoch timestamp in milliseconds.


REST Endpoints

Browse the public and authenticated REST actions available below.

GET

/api/v1/public/markets

READ
List Markets

Returns active trading markets with live price snapshots and 24h statistics.

GET

/api/v1/public/markets/:code

READ
Get Market Details

Returns detailed live ticker information for a single market by code.

GET

/api/v1/public/symbols

READ
List Assets

Returns active platform assets such as cryptocurrency and fiat symbols.

GET

/api/v1/public/symbols/:ticker

READ
Get Asset Details

Returns detailed metadata for a single symbol by its ticker.

GET

/api/v1/public/symbols/:id/networks

READ
List Symbol Networks

Returns active deposit and withdrawal blockchain networks for an asset.

POST

/api/v1/public/orders

TRADE
Create Order

Creates a new instant (market) or limit order for the authenticated account.

GET

/api/v1/public/orders

READ
List Orders

Returns paginated order history for the authenticated account.

DELETE

/api/v1/public/orders/:id

TRADE
Cancel Order

Cancels a pending limit order owned by the authenticated account.

POST

/api/v1/public/withdrawals

WITHDRAW
Request Withdrawal

Creates a crypto withdrawal request. API-key withdrawals bypass manual OTP checks.

GET

/api/v1/public/withdrawals

READ or WITHDRAW
List Withdrawals

Returns paginated withdrawal history for the authenticated account.

POST

/api/v1/public/withdrawals/:id/cancel

WITHDRAW
Cancel Withdrawal

Cancels a pending withdrawal request owned by the authenticated account.


Order request example

Authenticated REST calls require calculation of an HMAC signature. Concatenate your request components and calculate the signature with your Secret API key.

Signature Format
payload = timestamp + method.toUpperCase() + path + body
signature = HMAC_SHA256(apiSecret, payload).hex()
cURL Request Example
curl --request POST \
  --url https://api.vitrincard.com/orders \
  --header 'x-api-key: vc_live_xxx' \
  --header 'x-api-timestamp: 1760000000000' \
  --header 'x-api-signature: <computed-signature>' \
  --header 'Content-Type: application/json' \
  --data '{
    "pairId": "pair-uuid",
    "type": "LIMIT_BUY",
    "side": "BUY",
    "amount": "0.0100",
    "price": "62000"
  }'

WebSocket API

Use the public Socket.io endpoint to subscribe to live price snapshots and broadcast feeds for active markets.

WS Path

wss://api.vitrincard.com/public/ws

Socket.io Client Example
const socket = io("https://api.vitrincard.com", {
  path: "/public/ws",
  transports: ["websocket"],
});

socket.emit("subscribe:market", { pairs: ["USDT-IRT"] });

socket.on("market:price", (data) => {
  console.log(data.pair, data.bid, data.ask);
});

© 2026 رمزیتو API Portal. English Docs only.