Get the Cloud Cost Management billing currency

Note: This endpoint is in preview and is subject to change. If you have any feedback, contact Datadog support.

GET https://api.ap1.datadoghq.com/api/v2/cost/tag_metadata/currencyhttps://api.ap2.datadoghq.com/api/v2/cost/tag_metadata/currencyhttps://api.datadoghq.eu/api/v2/cost/tag_metadata/currencyhttps://api.ddog-gov.com/api/v2/cost/tag_metadata/currencyhttps://api.us2.ddog-gov.com/api/v2/cost/tag_metadata/currencyhttps://api.datadoghq.com/api/v2/cost/tag_metadata/currencyhttps://api.us3.datadoghq.com/api/v2/cost/tag_metadata/currencyhttps://api.us5.datadoghq.com/api/v2/cost/tag_metadata/currency

Overview

Get the dominant billing currency observed in Cloud Cost Management data for the requested period. The response wraps the currency in a JSON:API data array containing at most one entry; the array is empty when no currency data is available. This endpoint requires the cloud_cost_management_read permission.

OAuth apps require the cloud_cost_management_read authorization scope to access this endpoint.

Arguments

Query Strings

Name

Type

Description

filter[month] [required]

string

The month to scope the query to, in YYYY-MM format.

filter[provider]

string

Filter results to a specific provider. Common cloud values are aws, azure, gcp, Oracle (OCI), and custom. SaaS billing integrations (for example, Snowflake, MongoDB, Databricks) are also accepted using their display-name string. Values are case-sensitive.

Response

OK

The dominant Cloud Cost Management billing currency for the requested period. The data array contains at most one entry, and is empty when no currency data is available.

Expand All

Field

Type

Description

data [required]

[object]

The dominant billing currency. Empty when no data is available, or a single entry otherwise.

id [required]

string

The currency code (for example, USD).

type [required]

enum

Type of the Cloud Cost Management billing currency resource. Allowed enum values: cost_currency

default: cost_currency

{
  "data": [
    {
      "id": "USD",
      "type": "cost_currency"
    }
  ]
}

Bad Request

API error response.

Expand All

Field

Type

Description

errors [required]

[string]

A list of errors.

{
  "errors": [
    "Bad Request"
  ]
}

Forbidden

API error response.

Expand All

Field

Type

Description

errors [required]

[string]

A list of errors.

{
  "errors": [
    "Bad Request"
  ]
}

Too many requests

API error response.

Expand All

Field

Type

Description

errors [required]

[string]

A list of errors.

{
  "errors": [
    "Bad Request"
  ]
}

Code Example

                  # Required query arguments
export filter[month]="2026-02"
# Curl command
curl -X GET "https://api.ap1.datadoghq.com"https://api.ap2.datadoghq.com"https://api.datadoghq.eu"https://api.ddog-gov.com"https://api.us2.ddog-gov.com"https://api.datadoghq.com"https://api.us3.datadoghq.com"https://api.us5.datadoghq.com/api/v2/cost/tag_metadata/currency?filter[month]=${filter[month]}" \ -H "Accept: application/json" \ -H "DD-API-KEY: ${DD_API_KEY}" \ -H "DD-APPLICATION-KEY: ${DD_APP_KEY}"