LogoLogo
  • Home Page
  • Documentation
    • API Overview
    • Partner API Authentication
    • Onboarding
    • Partner Webhooks
    • Status Codes for Financial Operations
    • Prices
  • WEBSOCKETS
    • Websocket Prices
      • Prices
      • Schemas
  • API REFERENCE
    • Authorization
      • Schemas
    • User Management
      • Users
      • Schemas
    • Customers
      • General
      • Legal Entities
      • Natural Persons
      • Customer Labels
      • Search Nace Sectors
      • Onboarding Wizard
      • Schemas
    • Documents
      • Documents
      • Schemas
    • Onboardings
      • Onboarding
      • Offboarding
      • Schemas
    • Products
      • General
      • Schemas
    • Asset Management
      • Trading
        • Assets
        • Schemas
      • Digital assets
        • Create Order
        • General
        • Assets
        • Schemas
      • Strategy
        • Schemas
    • Transaction History
      • Schemas
    • Transfers
      • General
      • Create Incoming Test Transfer
      • Schemas
    • Partner Documents
      • Schemas
    • Webhooks
      • Schemas
  • PARTNER APIS
    • Partner Webhooks
      • Schemas
Powered by GitBook
On this page
  1. WEBSOCKETS
  2. Websocket Prices

Prices

Last updated 6 days ago

Get Prices

get

Ready to test

Get prices from websocket.

This endpoint will return prices from websocket.

Body
typestring · enumRequiredPossible values:
Responses
200
OK
application/json
400
Bad Request
application/json
403
Forbidden
application/json
get
GET /websocket/prices HTTP/1.1
Host: prices-provider.platform-test.tradevest.ai
Content-Type: application/json
Accept: */*
Content-Length: 104

{
  "type": "PRICE_SUBSCRIPTION",
  "priceSubscription": {
    "markets": [
      {
        "currency": "EUR",
        "cryptoSymbol": "text"
      }
    ]
  }
}
{
  "type": "ERROR",
  "prices": [
    {
      "market": {
        "currency": "EUR",
        "cryptoSymbol": "text"
      },
      "time": "2025-05-23T00:33:12.340Z",
      "asks": [
        {
          "price": "text",
          "quantity": "text"
        }
      ],
      "bids": [
        {
          "price": "text",
          "quantity": "text"
        }
      ],
      "previous": {
        "time": "2025-05-23T00:33:12.340Z",
        "ask": {
          "price": "text",
          "quantity": "text"
        },
        "bid": {
          "price": "text",
          "quantity": "text"
        }
      }
    }
  ],
  "error": "text",
  "connectionId": "text"
}