---
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://a74404c8.preview.developers.cloudflare.com/ruleset-engine/rules-language/fields/reference/ip.src.metro_code/index.md
  md: https://a74404c8.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
