---
title: "Get country's keyword metrics"
method: GET
path: "/ad_accounts/{ad_account_id}/keywords/metrics"
tags: ["keywords"]
---

# Get country's keyword metrics

`GET /ad_accounts/{ad_account_id}/keywords/metrics`

## Request

- Base URL: `https://api.pinterest.com/v5`
- URL: `https://api.pinterest.com/v5/ad_accounts/{ad_account_id}/keywords/metrics`
- Auth: one of:
  - OAuth 2
    - Authorization code: `https://www.pinterest.com/oauth/`
    - Token URL: `https://api.pinterest.com/v5/oauth/token` scopes: `ads:read`
  - OAuth 2
    - Client credentials
    - Token URL: `https://api.pinterest.com/v3/oauth/access_token/` scopes: `ads:read`
- TypeScript: <https://skmtc.dev/pinterest/apis/pinterest-rest-api/docs/ad_accounts/:ad_account_id/keywords/metrics/get.ts> (a function with typed inputs; its response is checked against the schema)

See keyword metrics for a specified country, aggregated across all of Pinterest.
  (Definitions are available from the "Get delivery metrics definitions"
  [API endpoint](/docs/api/v5/#operation/delivery_metrics/get)).

## Path parameters

- `ad_account_id` string, required

## Query parameters

- `country_code` string, required
- `keywords` string[], required

## Response `200`

The request has succeeded.

- KeywordsMetricsArrayResponse
  - `data` KeywordMetricsResponse[]
    - `keyword` string: Keyword name, e.g., "keyword":"fashion outfits"
    - `metrics` KeywordMetrics: Keyword metrics JSON
      - `keyword_query_volume` string: Keyword's search frequency. This value is based on keyword frequency in pepsi client response

## Other responses

- `400`: The request could not be understood by the server due to unexpected data.
- `401`: Authentication is required and has either failed or not been provided.
- `403`: The request was valid, but the server is refusing action. The user might not have the necessary permissions for a resource.
- `404`: The requested resource could not be found on this server.
- `429`: The user has sent too many requests in a given amount of time and is being rate limited.
- `default`: An unexpected error response.

## Changes

- **2026-06-04** (v5) `b698c180678a`: 5 info
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`
  - …1 more
- **2025-04-04** (v5) `10f9eba4ad97`: 1 warning, 1 info
  - removed the optional property `data/items/metrics/avg_cpc_in_micro_currency` from the response with the `200` status
  - the endpoint scheme security `client_credentials` was added to the API
- **2022-11-14** (v5) `e041d7b0cef0`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/pinterest/apis/pinterest-rest-api/changes/ad_accounts/:ad_account_id/keywords/metrics/get.md)

---

[API](https://skmtc.dev/pinterest/apis/pinterest-rest-api.md) - [All operations](https://skmtc.dev/pinterest/apis/pinterest-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pinterest/apis/pinterest-rest-api/revisions/b698c180678a?raw)
