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

# Profile Link to User ID

`GET /link-to-id`

Returns the Twitter/X user ID extracted from a profile URL. You provide the full profile link, and the endpoint returns the corresponding stable user ID.

Use cases:

Developers converting profile URLs into user IDs before making other API requests; SaaS platforms normalizing different input formats (link vs handle vs ID); analytics tools processing scraped profile links into structured identifiers; automation systems resolving shared profile URLs into internal IDs; data pipelines standardizing user references for storage and further processing.

## Query parameters

- `link` string, required

## Response `200`

OK

- TechnicalLinkToIDResp
  - `id` string

## Other responses

- `400` — Bad Request
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error

---

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