AddressMock

AddressMock Address API

Returns sample postal addresses for the United States, Hong Kong, Turkiye and Cabo Verde. No API key, no account, no per-caller quota, and CORS is open, so…

Developer tools#test-data

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

Returns sample postal addresses for the United States, Hong Kong, Turkiye and Cabo Verde. No API key, no account, no per-caller quota, and CORS is open, so this endpoint can be called directly from a browser or by an autonomous agent with nothing to provision first.

City, state, ZIP code and phone area code are always drawn from the same region, so the samples pass region-consistency validation that rejects independently randomised field combinations.

IMPORTANT: responses are format-correct SAMPLE data, not verified deliverable addresses. Street numbers are not guaranteed to exist or to receive mail. The data must not be used for real mail, fraud, impersonation, or bypassing a platform's region or identity checks.

Endpoints 2

  • GETGenerate sample addresses/api/addressesReturns between 1 and 100 sample addresses. Authentication is not supported and not required. Only GET and OPTIONS are accepted; any other method returns 405.
  • OPTIONSCORS preflight/api/addresses

API details

Base URL
https://addressmock.com
Authentication
None declared in the description
Operations
2 operations on 1 pathGET 1OPTIONS 1
Response formats
application/json
Description format
OpenAPI 3.1.0, API version 1.0.0

How to test the AddressMock Address API in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the AddressMock Address API collection, without the publisher's secrets.
  3. Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
  4. Send a requestPick an endpoint, for example “Generate sample addresses” (GET /api/addresses), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the AddressMock Address API?

Returns sample postal addresses for the United States, Hong Kong, Turkiye and Cabo Verde. No API key, no account, no per-caller quota, and CORS is open, so… It is listed under Developer tools and has 2 endpoints.

Who publishes the AddressMock Address API?

It is listed from AddressMock's public API description (an OpenAPI document), not published by AddressMock on Swastik Codes. Anyone who controls addressmock.com can claim the profile by adding a DNS TXT record.

What is the base URL of the AddressMock Address API?

Requests go to https://addressmock.com. Endpoint paths are added to this base URL.

How do I authenticate with the AddressMock Address API?

Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.

How many endpoints does the AddressMock Address API have?

2 operations on 1 path (1 GET, 1 OPTIONS).

Is forking the AddressMock Address API free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.