---
title: "Convert Username to User ID"
method: GET
path: "/username-to-id/{user_handle}"
tags: ["Technical Endpoints"]
---

# Convert Username to User ID

`GET /username-to-id/{user_handle}`

Converts a Twitter/X username into the corresponding stable numeric user ID. Unlike usernames, user IDs never change, making them reliable for long-term storage and cross-referencing.

## Path parameters

- `user_handle` string, required

## Response `200`

OK

- TechnicalIDRes
  - `id` string — Numeric Twitter/X user ID.

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `429` — Too Many Requests
- `500` — Internal Server Error

---

[API](https://skmtc.net/sorsa/apis/api-sorsa-io.md) · [All operations](https://skmtc.net/sorsa/apis/api-sorsa-io/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sorsa/api-sorsa-io/revisions/7742c72d6966/schema)
