---
updatedAt: 2026-05-01T15:28:45.000Z
agentTools:
  projectIndex: https://developer.realestateapi.com/llms.txt
---

# Step 1: Set your Geo(s)

<br />

## MLS Board Codes

* `mls_board_code` \[string] or \[array of strings]

Single MLS Board Code:

```json
{
  "city": "Richmond",
  "state": "VA",
  "active": true,
  "mls_board_code": "mdbmls-r"
}
```

Multiple MLS Board Codes:

```json
{
  "city": "Richmond",
  "state": "VA",
  "active": true,
  "mls_board_code": ["mdbmls-r", "ohneoh", "scctmls"]
}
```

## Zip

* `zip` \[string] or \[array of strings]

```json
{
  "zip": "22205",
  "active": true
}
```

```json
{
  "active": true,
  "zip": ["22205", "20301"]
}
```

## City, County

* `city` \[string]
* `county` \[string]

City Example:

```json
{
  "city": "Arlington",
  "state": "VA",
  "active": true
}
```

County Example:

```json
{
  "county": "Henrico",
  "state": "VA",
  "active": true
}
```

Multiple Cities / Counties using Compound Queries:

```json
{
  "active": true,
  "and": [
    {
      "or": [
        { "city": "Richmond", "state": "VA" },
        { "city": "Farmville", "state": "VA" },
        { "city": "Arlington", "state": "VA" },
        { "county": "Henrico", "state": "VA" }
      ]
    }
  ]
}
```

## Search Radius

* `radius` works with `latitude`/`longitude`, `address`, `id` and `listing_id`

Around an address:

```json
{
  "address": "6806 19th Rd N, Arlington, VA 22205",
  "active": true,
  "radius": 2
}
```

Around a latitude/longitude coordinate pair:

```json
{
  "latitude": "38.885980589900285",
  "longitude": "-77.15999383193586",
  "active": true,
  "radius": 2
}
```

## Polygon / Multiple Polygons

Single Polygon:

```json
{
  "active": true,
  "polygon": [
    { "lat": "35.42300740560803", "lon": "-86.32762085355883" },
    { "lat": "35.19184584103132", "lon": "-86.43359069901402" },
    { "lat": "35.15490990082178", "lon": "-86.0572016901352" }
  ]
}
```

Multiple Polygons:

```json
{
  "active": true,
  "multi_polygon": [
    [
      { "lat": "35.42300740560803", "lon": "-86.32762085355883" },
      { "lat": "35.19184584103132", "lon": "-86.43359069901402" },
      { "lat": "35.15490990082178", "lon": "-86.0572016901352" }
    ],
    [
      { "lat": "36.42300740560803", "lon": "-87.32762085355883" },
      { "lat": "36.19184584103132", "lon": "-87.43359069901402" },
      { "lat": "36.15490990082178", "lon": "-87.0572016901352" }
    ]
  ]
}
```