This is how you get the base URL of the ComfyUI Backend API for a running RunComfy machine. It is a standard ComfyUI, so you can follow the default ComfyUI API with POST/GET, and wss works as well.
Note: Since November 4, 2026, each machine gets its own ComfyUI URL when it starts. The URL is not built from the server id, so https://{server_id}-comfyui.runcomfy.com does not work. Get the URL again every time you start a machine.There are two ways to get it: copy it from the machine page, or read it from the RunComfy Server API.
Option 1: Copy it from the machine page
- Open your running machine on the RunComfy website, then click URL in the right sidebar.
- A panel opens with the ComfyUI URL of this machine. Click Copy and use it as the base URL, for example
{ComfyUI URL}/prompt.


Option 2: Read it from the RunComfy Server API
Use this when your own software needs the URL, for example a plugin or script that calls /prompt or /system\_stats.
What you need
- user_id and server_id: both are in the machine page url,
https://www.runcomfy.com/comfyui/{user_id}/servers/{server_id}. The server id is the last part: - API token: on your Profile page. See RunComfy Server API for details. If you start machines with the Server API, the server id is also in the response of the launch request.

Request
curl 'https://api.runcomfy.net/prod/api/users/{user_id}/servers/{server_id}' \
--header 'Authorization: Bearer {api_token}'Response
main_service_url is the ComfyUI URL. It is the same value the URL panel in Option 1 shows. While current_status is Starting, poll again until it is Ready.
Python example
To list all your running machines with their URLs, call the same endpoint without the server id: GET https://api.runcomfy.net/prod/api/users/{user_id}/servers.
For uploading inputs, queueing prompts and downloading outputs with this URL, see ComfyUI Backend API.