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
Type at least 2 characters to fetch a small set of matching countries from the API.
Powered by peakiq.in
Top comments (0)