How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Twelve Data WebSocket Streaming API

Real-time price streaming over a persistent, bidirectional WebSocket at wss://ws.twelvedata.com/v1/quotes/price. Clients authenticate with an apikey query parameter, send JSON subscribe / unsubscribe / reset control messages, and receive pushed price events (roughly 170ms average latency), subscribe-status acknowledgements, and heartbeats.

Twelve Data WebSocket Streaming API is one of 15 APIs that Twelve Data publishes on the APIs.io network, described by an AsyncAPI event-driven specification.

Tagged areas include Real-Time Data, WebSocket, Streaming, and Market Data. The published artifact set on APIs.io includes API documentation and an AsyncAPI specification.

This event API exposes 2 operations across 1 channel, and defines 11 schemas. It is described by AsyncAPI 2.6.0, at version 1.0.0.

The API connects through a single server, ws.twelvedata.com/v1/quotes/price (wss).

2 operations 1 channels 11 schemas

Metadata

The identity and technical contract details declared by the specification.

Specification
AsyncAPI 2.6.0
API Version
1.0.0
Base URL
wss://ws.twelvedata.com/v1/quotes/price
Resource Areas
1

Channels & Operations 2

Across 1 channel, the API surfaces 2 operations. Each is listed below with its action, channel, parameters, and response codes.

Channels 2
SUB
/v1/quotes/price
Receive real-time price events and status messages from the server.
receivePriceEvents body
PUB
/v1/quotes/price
Send a subscription control message to the server.
sendControlMessage body

Messages & Schemas 11

The contract defines 11 schemas that model the data carried by its messages. The most detailed are PriceEventPayload (9 properties), SubscribeStatusPayload (4 properties), HeartbeatPayload (2 properties), SubscribeActionPayload (2 properties). Each schema is shown below with its type and property counts.

SubscribeAction
message
Add one or more instruments to the price stream.
UnsubscribeAction
message
Remove one or more instruments from the price stream.
ResetAction
message
Clear all active subscriptions on the connection.
PriceEvent
message
A single real-time price update for a subscribed instrument.
SubscribeStatus
message
Acknowledgement listing which symbols were successfully subscribed and which failed.
Heartbeat
message
Periodic keep-alive event confirming the connection is healthy.
SubscribeActionPayload
object
2 properties 2 required
ResetActionPayload
object
1 property 1 required
PriceEventPayload
object
9 properties 3 required
SubscribeStatusPayload
object
4 properties 2 required
HeartbeatPayload
object
2 properties 2 required

Specification

The full machine-readable AsyncAPI contract behind this narrative.

Source

twelvedata-asyncapi.yml Raw ↑

Other APIs Twelve Data publishes across the network.

Twelve Data Core Data API
Twelve Data Fundamentals API
Twelve Data Reference Data API
Twelve Data Technical Indicators API
Twelve Data Time Series API
Twelve Data Advanced API
Twelve Data Analysis API
Twelve Data Currencies API
Twelve Data Etfs API
Twelve Data Market Data API
Twelve Data Money Market Funds API
Twelve Data Mutual Funds API
Where this information came from

This is an independent, third-party profile of Twelve Data WebSocket Streaming API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.