Jump to Content
LocationIQ DocumentationBack to Website
GuidesAPI Reference
Back to WebsiteDashboardLocationIQ Documentation
Guides
Dashboard
GuidesAPI Reference
All
Pages
Start typing to search…

Get started

  • Introduction
  • Choose your API
  • Quick Start Guides
    • Postman Collection
    • Convert Coordinates To Addresses
    • Convert Addresses To Coordinates
    • Find Coffee Shops in New York City
    • Find Distance Between Two Addresses
    • Convert Meeting Time Across TimeZones
    • LocationIQ Access Token
    • Using Google Sheets Addon
  • Security

Geocoding

  • Search / Forward Geocoding
    • Interactive Playground
    • API Reference
  • Reverse Geocoding API
    • Interactive Playground
    • API Reference
  • Autocomplete API
  • Nearby - Points of Interest
  • Timezone API

Routing

  • General Options
  • Directions API
  • Optimize API
  • Matrix API
  • Map Matching API
  • Nearest API

Maps

  • Maps
    • Examples - Maplibre
    • Examples - Leaflet
    • Examples - Openlayer
  • Static Maps
    • API Reference

Other

  • Errors
  • Code Samples
  • Balance API
  • Parameters
    • Address details
    • Normalize Address
    • Country Codes
    • Accept Language
    • Zoom Levels
    • Match Quality

Country Codes

countrycodes=<ISO_3166-1_alpha-2 Code>

Limit search results to a specific country or a comma-separated list of countries. Should be the ISO 3166-1 alpha-2 code(s). Here is a sample:

Country codeCountry
deGermany
gbUnited Kingdom
usUnited States of America
  • List of accepted country codes: Officially assigned code elements

Updated about 1 month ago


Normalize Address
Accept Language
  • Table of Contents
    • countrycodes=<ISO_3166-1_alpha-2 Code>