Smart Dev Address Generator API

Developed By Abir Arafat Chawdhury

Pyro GIF

API Status

Checking...

Generate Fake Address

Select a country and click "Generate Address" to see a random address.

API Endpoints

GET /api/address

Description: Generates a random fake address for the specified country.

Query Parameters:

  • code: The country code (e.g., US, UK, BD). Required.

Example Request:

curl -X GET "https://api.example.com/api/address?code=US"

Response Examples

Successful Response

  {
    "street_address": "123 Main Street",
    "street_name": "Main Street",
    "building_number": "123",
    "city": "New York",
    "state": "New York",
    "postal_code": "10001",
    "country": "United States",
    "country_code": "US",
    "currency": "USD",
    "person_name": "James Carter",
    "gender": "Male",
    "phone_number": "+12125550123"
  }
                

Error Response

{
  "error": "Invalid country code"
}
                

Thanks To Mahir Labib For Database...From Core Of Heart

Supported Countries

US - United States
GB - United Kingdom
UG - Uganda
CN - China
UK - United Kingdom
KZ - Kazakhstan
BD - Bangladesh
CA - Canada
PE - Peru
EG - Egypt
IN - India
IT - Italy
JP - Japan
QA - Qatar
ES - Spain
BR - Brazil
FR - France
MX - Mexico
PA - Panama
PL - Poland
SE - Sweden
DZ - Algeria
BH - Bahrain
BE - Belgium
DK - Denmark
FI - Finland
DE - Germany
MA - Morocco
TR - Turkiye
KH - Cambodia
CO - Colombia
MY - Malaysia
PK - Pakistan
TH - Thailand
AR - Argentina
AU - Australia
SG - Singapore
NZ - New Zealand
CH - Switzerland
SA - Saudi Arabia
MM - Myanmar

API Owner @TheSmartDev

Telegram Icon

Want Custom APIs Or Bots Custom?
Python Php And NodeJS All Available
To Buy Or Make DM @ISmartCoder Pyro GIF