---
title: "Get current application cost"
method: GET
path: "/api/v1/credits/apps/{app_id}/cost"
tags: ["Credits"]
---

# Get current application cost

`GET /api/v1/credits/apps/{app_id}/cost`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/credits/apps/{app_id}/cost`
- Auth: API key in header `Authorization`

Retrieve current cost breakdown for a specific application

## Path parameters

- `app_id` string, required

## Response `200`

Application cost retrieved successfully

- ServiceAppCurrentCostResponse
  - `app_id` string
  - `app_name` string
  - `breakdown` ServiceCostBreakdown
    - `cpu_cost` number
    - `memory_cost` number
    - `regions_cost` number
    - `total_cost` number
  - `currency` string
  - `daily_cost` number
  - `hourly_cost` number
  - `last_calculated_at` string
  - `monthly_cost` number
  - `resources` ServiceAppResources
    - `cpu` string
    - `memory` string
    - `region_count` integer
    - `regions` string[]
    - `replicas` integer
  - `status` string

## Other responses

- `400`: Invalid app_id
- `404`: Application not found
- `500`: Internal server error

---

[API](https://skmtc.dev/nife/apis/nife-io-swagger-api.md) - [All operations](https://skmtc.dev/nife/apis/nife-io-swagger-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nife/apis/nife-io-swagger-api/revisions/6e868dc62795?raw)
