For AI agents: visit https://docs.locationiq.com/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI.
Jump to Content
LocationIQ DocumentationBack to Website
GuidesAPI Reference
Back to WebsiteDashboardLocationIQ Documentation
Guides
Dashboard
GuidesAPI Reference

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 - Places
  • 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
Powered by 

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 year ago


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