有个命令行工具叫做rig(Random Identity Generator),可以用来生成假的地址信息(美国)。

Rig is a utility that will piece together a random first name, last name, street number and address, along with a geographically consistant (ie, they all match the same area) city, state, ZIP code, and area code.

$ rig
Fred Mcdaniel
318 Plymth Terr
Plainfield, NJ  07061
(908) xxx-xxxx

OS X可以用Homebrew安装,

$ brew install rig

如果没有装命令行工具,也可以直接访问API,https://helloacm.com/api/rig/。 API有rate limit。

$ curl https://helloacm.com/api/rig/
"Ron Suarez\n538 Buncaneer Dr\nIrving, TX  75061\n(903) xxx-xxxx\n"

$ curl https://helloacm.com/api/rig/?c=2
"Kari Carson\n241 Second St\nRome, GA  30161\n(404) xxx-xxxx\n\nTheron Webster\n478 Spring County Blvd\nMiami, FL  33152\n(305) xxx-xxxx\n"