Skip to content

Feature Request: Add API endpoint to query account credits balance #877

@fendouww

Description

@fendouww

Feature Request

Summary:
Please add an API endpoint to retrieve the current user's credits balance programmatically.

Current Behavior

The existing GET /api/user endpoint only returns the account status (active or waitlisted).
There is no API endpoint available to query credits balance. The only way to check credits
is by manually logging into https://platform.comfy.org/profile.

Desired Behavior

A new endpoint (suggested):

GET /api/user/credits

Expected response:
{
"credits": 123.45,
"currency": "USD"
}

Or alternatively, include credits info in the existing GET /api/user response.

Use Case

  • Programmatic monitoring of remaining credits
  • Automated alerts when credits fall below a threshold
  • Integration into custom dashboards or billing workflows

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions