---
title: "Convert Profile Link to User ID"
method: GET
path: "/link-to-id"
tags: ["Technical Endpoints"]
---

# Convert Profile Link to User ID

`GET /link-to-id`

Extracts the stable numeric user ID from a Twitter/X profile URL. Useful for normalizing profile links into consistent identifiers before making further API calls.

## Query parameters

- `link` string, required

## Response `200`

OK

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

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `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)
