---
title: "Ping/Keep-alive a ListenKey (USER_STREAM)"
method: PUT
path: "/sapi/v1/userDataStream"
tags: ["Margin Stream"]
---

# Ping/Keep-alive a ListenKey (USER_STREAM)

`PUT /sapi/v1/userDataStream`

Keepalive a user data stream to prevent a time out. User data streams will close after 60 minutes. It's recommended to send a ping about every 30 minutes.

Weight: 1

## Query parameters

- `listenKey` string

## Response `200`

OK

- object

## Other responses

- `400` — Bad Request

---

[API](https://skmtc.net/binance/apis/binance-public-spot-api.md) · [All operations](https://skmtc.net/binance/apis/binance-public-spot-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/binance/binance-public-spot-api/versions/0dd2f133e12d/schema)
