Level2 websocket channel too verbose!?

Snapshot message

{"channel":"l2_data","client_id":"","timestamp":"2023-01-09T15:09:05.394821031Z","sequence_num":0,"events":[{"type":"snapshot","product_id":"BTC-USD","updates":[{"side":"bid","event_time":"1970-01-01T00:00:00Z","price_level":"17259.37","new_quantity":"0.00005108"},{"side":"offer","event_time":"1970-01-01T00:00:00Z","price_level":"17258.94","new_quantity":"1.87465975"},...]}]}

vs.

{"type":"snapshot","product_id":"BTC-USD","asks":[["17260.01","0.08800000"],..],"bids":[["17260.01","0.08800000"],..]}

Update message

{"channel":"l2_data","client_id":"","timestamp":"2023-01-09T15:09:16.440623199Z","sequence_num":100,"events":[{"type":"update","product_id":"BTC-USD","updates":[{"side":"bid","event_time":"2023-01-09T15:09:16.358561Z","price_level":"17259.9","new_quantity":"0.098"}]}]}

vs.

{"type":"l2update","product_id":"BTC-USD","changes":[["buy","17250.30","0.15120561"]],"time":"2023-01-09T15:15:57.489402Z"}

Does not this put Advanced Trade users in disadvantage compare to Pro and/or Exchange API users? Advanced Trade user has to download and parse more data…

Also what purpose does serve timestamp in snapshot if all bids/offers has 1970-01-01T00:00:00Z as timestamp? Similarly with update message… From quick look all bids/offers have same timestamp!

{"channel":"l2_data","client_id":"","timestamp":"2023-01-09T15:40:02.897810115Z","sequence_num":40,"events":[{"type":"update","product_id":"BTC-USD","updates":[{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17261.27","new_quantity":"0.10663242"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17261.26","new_quantity":"0.36"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17261.25","new_quantity":"0.01194198"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17261.24","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17261.23","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17261.22","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.5","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.39","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.38","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.37","new_quantity":"0.12472917"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.36","new_quantity":"0.0289671"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.35","new_quantity":"0.36"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.34","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.33","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.32","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.31","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.3","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.29","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.26","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.25","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.24","new_quantity":"0.08737276"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.23","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.19","new_quantity":"0.014758"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.18","new_quantity":"0.02038083"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.17","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.16","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.12","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.07","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.06","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17260.04","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.91","new_quantity":"0.02846201"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.9","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.89","new_quantity":"0.05458255"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.88","new_quantity":"0.04076166"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.86","new_quantity":"0.03624406"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.82","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.81","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.79","new_quantity":"0.0531155"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.78","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.77","new_quantity":"0.0351956"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.76","new_quantity":"0.05434888"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.75","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.74","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.73","new_quantity":"0.004"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.69","new_quantity":"0.02510485"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.66","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.64","new_quantity":"0.03751509"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.63","new_quantity":"0.06831576"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.62","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.61","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.59","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.58","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.57","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.56","new_quantity":"0.09876028"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.52","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.51","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.5","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.49","new_quantity":"0.00915516"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.48","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.47","new_quantity":"0.02782312"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.46","new_quantity":"0.00831397"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.45","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.43","new_quantity":"0.01951879"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.42","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.41","new_quantity":"0.04"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.4","new_quantity":"0.00868834"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.39","new_quantity":"0.02651214"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.38","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.35","new_quantity":"0.02688717"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.33","new_quantity":"0.03097328"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.32","new_quantity":"0.04641879"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.3","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.29","new_quantity":"0.04"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.27","new_quantity":"0.28969936"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.26","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.23","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.2","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.19","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.18","new_quantity":"0.01327028"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.13","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17259.1","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17258.99","new_quantity":"0.49243118"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17258.92","new_quantity":"3.4519763"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17258.9","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17258.75","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17258.74","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17258.69","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17258.55","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17258.31","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17258.26","new_quantity":"0.04739958"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17258.13","new_quantity":"0.07218769"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17257.33","new_quantity":"0.1291045"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17257.15","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17257.01","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17256.76","new_quantity":"0.09346897"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17256.51","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17256.4","new_quantity":"0.49243118"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17255.93","new_quantity":"0"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17247.79","new_quantity":"2.93328468"},{"side":"bid","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17247.21","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17261.24","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17261.27","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17261.28","new_quantity":"0.00000439"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17261.29","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17261.3","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17261.31","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17261.32","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17261.41","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17261.42","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17261.57","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17261.58","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17261.66","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17261.67","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17261.75","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17261.76","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17261.77","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17262.07","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17262.21","new_quantity":"0.28965005"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17262.32","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17262.62","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17262.63","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17262.64","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17262.7","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17262.73","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17262.77","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17262.79","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17262.8","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17262.81","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17262.82","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17262.85","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17262.91","new_quantity":"0.08570844"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17262.93","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17263.21","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17263.22","new_quantity":"0.00296934"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17263.23","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17263.28","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17263.29","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17263.34","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17263.6","new_quantity":"0.17109904"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17263.61","new_quantity":"0.57925324"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17263.64","new_quantity":"0.01170184"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17263.71","new_quantity":"0.03886345"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17263.75","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17263.82","new_quantity":"0.07772691"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17263.88","new_quantity":"0.15545382"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17264.01","new_quantity":"2.55278937"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17264.02","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17264.16","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17264.22","new_quantity":"0.17338929"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17264.23","new_quantity":"0.05790703"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17264.61","new_quantity":"1.77405304"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17265.19","new_quantity":"3.57341589"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17269.78","new_quantity":"0"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17269.81","new_quantity":"1.92772163"},{"side":"offer","event_time":"2023-01-09T15:40:02.792287Z","price_level":"17280.65","new_quantity":"0.001"}]}]}

Hi @muktupavels! Thank you for taking an interest in trying out Coinbase APIs. For the details regarding your inquiry, we will check on this for you with our team to see how we can best assist. We’ll get back to you once we have more information. Keep in touch!

Hi @muktupavels ! Thank you for your patience as we look at your concern. As checked, the websocket behaves the way as you have described, unfortunately, Advanced Trade API will continue with this mechanism for now. Nevertheless, we’ve logged this as feedback with our internal teams so we can continue improving our user experience. Most new features and improvements to our products come directly from feedback like yours, so it’s very valuable to us. While we can’t offer any specific timeline for adding features and improvements, we are constantly working to build products our customers will love. We appreciate your utmost patience and understanding. Have a great day!

1 Like