Dummy Address Data (DAD)

November 14, 2025 ยท View on GitHub

Dummy Address Data (DAD)

Dummy Address Data (DAD) - Real addresses from all around the world.

Build Status Coverage Status Version Licence

Showcase

DAD is the perfect companion to quickly bootstrap address data in your application. DAD provides real addresses from all over the world with a consistent data structure so you can spend less time looking up addresses and address rules and more time coding.

Install

# Add the submodule to your project
git submodule add https://github.com/Justintime50/dad.git

# If DAD is already added and you need to initialize the submodule, run the following
git submodule init && git submodule update

Cloning

git clone https://github.com/Justintime50/dad.git

Manual Download

You can also find the data sets from the releases page.

Address Data

Address objects will look like the sample below. The data type of each field on an address object is a string. A list of addresses is an array of json objects.

Attempts have been made to verify addresses and ensure that street1, city, state, and zip are present on all records. Some lists may be shorter than others to avoid complexity or because of a lack of accurate data.

The following files can be found in the src/addresses directory.

Australia

FilenameLocationsAddress Count
australia/vt-addresses.jsonVictoria Area5

Canada

FilenameLocationsAddress Count
canada/bc-addresses.jsonBC Area5

China

FilenameLocationsAddress Count
china/bj-addresses.jsonBeijing Area5
china/hk-addresses.jsonHong Kong - Wan Chai Area5

Europe

FilenameLocationsAddress Count
europe/de-addresses.jsonGermany - Wesel Area5
europe/es-addresses.jsonSpain - Countrywide5
europe/fr-addresses.jsonFrance - Paris Area5
europe/uk-addresses.jsonUnited Kingdom - England Area5

Mexico

FilenameLocationsAddress Count
mexico/mx-addresses.jsonMexico - Mexico City Area5

United States

FilenameLocationsAddress Count
united-states/az-addresses.jsonArizona - Gilbert Area100
united-states/ca-addresses.jsonCalifornia - Anaheim Area100
united-states/id-addresses.jsonIdaho - Boise Area100
united-states/ks-addresses.jsonKansas - Barton County100
united-states/nv-addresses.jsonNevada - Lincoln Area100
united-states/ny-addresses.jsonNew York - Rochester Area100
united-states/or-addresses.jsonOregon - Portland Area100
united-states/tx-addresses.jsonTexas - Austin Area100
united-states/ut-addresses.jsonUtah - Provo Area100
united-states/wa-addresses.jsonWashington - Spokane Area100

Sample Address Object

A sample address object will look like the following:

{
  "street1": "231 N 1200 W",
  "street2": "UNIT 104",
  "city": "OREM",
  "state": "UT",
  "zip": "84057",
  "country": "US"
}

Sample ISO Country Object

{
  "country": "United States of America",
  "alpha_2_code": "US",
  "alpha_3_code": "USA"
}

Development

# Lint the project
npm run lint

# Run tests
npm run test

# Get coverage report
npm run coverage

Utilities

Create Slim List

To create the slim lists from a larger dataset, use the createSlimJson.js tool in the utils folder. See the script for additional information. This tool will grab 100 random addresses (by default) from a larger JSON dataset and create a new slim file that can be added to DAD.

DATA_SET=path/to/dataset.json STATE=UT COUNTRY=US node utils/createSlimJson.js

Beautify and Minify Lists

Additional tooling is provided for convenience when adding new data sets that allow you to beautify a JSON list or minify it.

INPUT_FILE=path/to/input.json OUTPUT_FILE=path/to/output.json node utils/minifyJson.js

Contributing

This data is very laborious to build - any contributions are welcome! Open a PR or issue with additions or fixes.

Lists of addresses must contain at least 5 addresses and not exceed 100 records. Both the beautified and minified lists must be present. Addresses that are not a part of the OpenAddress Project must be publicly well-known addresses (government buildings, hospitals, museums, landmarks, etc). All keys of an address record must be present and all of their values must be strings. The current test suite should enforce these standards.

Disclaimer

As these addresses are public knowledge and open sourced, I take no responsibility for their use. If you'd like an address removed from the list, submit an issue.

Attribution

  • Many of the addresses are provided from the OpenAddress Project, others are publicly well-known landmarks.
  • DAD is conceptually based on RRAD.