---
title: ip.src.metro_code · Cloudflare Ruleset Engine docs
description: The metro code or Designated Market Area (DMA) code associated with
  the incoming request.
chatbotDeprioritize: false
source_url:
  html: https://developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/ip.src.metro_code/
  md: https://developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/ip.src.metro_code/index.md
---

# ip.src.metro\_code

`ip.src.metro_code` String

The metro code or Designated Market Area (DMA) code associated with the incoming request.

**Note**: Currently the value of `ip.src.metro_code` is always `"0"`, but this may change in the future. Refer to the [Changelog](https://developers.cloudflare.com/changelog/) for any updates.

Categories:

* Request
* Geolocation
