v1
latestOpenAPI 3.0.32026-07-213841124.9 KBTechnical Endpoints
Profile Link to User 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.
get/link-to-id
Query parameters
linkstring required
link required
Response
OK