Are data from app.billing.nrfcloud.com accessible over API?

Hey,
Is there a supported API or export for retrieving the same per-service usage quantities and costs shown in the Cost Control Center?
The current REST OpenAPI specification does not expose a usage or billing operation, although the Teams documentation lists “API usage information” as REST-accessible.

Kind regards,

Loba

Parents
  • Hei Louis,

    partially, yes.

    You can receive your current months usage like this:

    API_KEY=...
    TEAM_ID=...
    
    http POST https://api.account-service.nrfcloud.com/2024-11-25/jwt Authorization:"Bearer $API_KEY"
    # Returns a JSON with a `token`
    
    TOKEN=...
    
    http https://api.billing.nrfcloud.com/2025-07-16/team/$TEAM_ID Authorization:"Bearer $TOKEN"
    # Returns the current month's usage
    
    
    

    We currently have no API to calculate the costs based on this usage, but this should get you started.

    LMK if this helps.

    Best regards,
    ~Markus

Reply
  • Hei Louis,

    partially, yes.

    You can receive your current months usage like this:

    API_KEY=...
    TEAM_ID=...
    
    http POST https://api.account-service.nrfcloud.com/2024-11-25/jwt Authorization:"Bearer $API_KEY"
    # Returns a JSON with a `token`
    
    TOKEN=...
    
    http https://api.billing.nrfcloud.com/2025-07-16/team/$TEAM_ID Authorization:"Bearer $TOKEN"
    # Returns the current month's usage
    
    
    

    We currently have no API to calculate the costs based on this usage, but this should get you started.

    LMK if this helps.

    Best regards,
    ~Markus

Children
No Data
Related