Skip to content

Work in progress

This documentation page is currently work in progress.
Not all existing DecAPI endpoints are documented here yet - mostly Twitch and YouTube endpoints. The rest of the endpoints should have accurate documentation :)
For the currently active documentation, please visit docs.decapi.me.

ID - Twitch user ID for a username

Returns the numeric Twitch user ID for the specified username.
This is mostly useful for developers who need the user ID for API calls or integrations.

Endpoint URL

https://decapi.me/twitch/id/TWITCH_USERNAME_HERE

Required URL parameters

  • user - Required - Twitch username to resolve to a user ID.

Notes

  • If the username is invalid or does not exist, the endpoint will return an error, such as "User not found".

Examples