---
title: Endpoints
id: socket-hosts
slug: /socket/hosts
sidebar_position: 5
---

Longbridge split Market Quote and Trading real-time pushing endpoints.

## Market Quote

| Endpoint                                | Access Type |
| --------------------------------------- | ----------- |
| tcp://openapi-quote.longbridge.com:2020 | TCP         |
| wss://openapi-quote.longbridge.com      | WebSocket   |

## Trading

| Endpoint                                | Access Type |
| --------------------------------------- | ----------- |
| tcp://openapi-trade.longbridge.com:2020 | TCP         |
| wss://openapi-trade.longbridge.com      | WebSocket   |

## Mainland China

Users in mainland China can use the following endpoints for better connectivity:

### Market Quote

| Endpoint                               | Access Type |
| -------------------------------------- | ----------- |
| tcp://openapi-quote.longbridge.cn:2020 | TCP         |
| wss://openapi-quote.longbridge.cn      | WebSocket   |

### Trading

| Endpoint                               | Access Type |
| -------------------------------------- | ----------- |
| tcp://openapi-trade.longbridge.cn:2020 | TCP         |
| wss://openapi-trade.longbridge.cn      | WebSocket   |
