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

# 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
