---
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.

Example value:

```txt
"635"
```

Categories:

* Request
* Geolocation
