Skip to main content

Command Palette

Search for a command to run...

Fast Country Data Lookup - Secure & API-First

Updated
2 min read
Fast Country Data Lookup - Secure & API-First
P
Peakiq is a software company in Dharamshala building web apps, mobile apps, AI workflows, and cloud systems for growing teams.

Originally published on PEAKIQ

Source: https://www.peakiq.in/showcase/fast-country-data



Country codes, flags, and dial prefixes in one clean place.

A security-hardened country lookup experience for countrycode.peakiq.in, built to stay fast, cache-friendly, and API-first.

The raw JSON dataset is protected — search returns only limited matching results instead of exposing the full country list in a single response.


What it does

This country code tool helps developers find dial codes, ISO country codes, unicode flags, and inline SVG flag markup through a searchable web interface and REST API.

Example — India

Field Value
Dial code +91
ISO code IN
Unicode U+1F1EE U+1F1F3

Features

🔒 Protected dataset

The raw JSON file is hidden. Search fetches only a small set of matching results, so the full country list is never exposed in a single response.

🏳️ Inline flag preview

SVG flags are rendered inline — browsing countries no longer requires a separate flag asset request per country.

⚡ Local-first browsing

After the first page load, search and filtering stay lean so the project remains a clean public showcase.

🛠️ API access

Use code-based endpoints instead of downloading the full dataset.

GET /api/country/IN          → lookup a single country
GET /api/countries?search=india  → search matching countries

Live endpoints:


Browsing

Browse all countries →

Type at least 2 characters to fetch a small set of matching countries from the API.


Powered by peakiq.in