patchBay

API Reference - Ideal Postcodes vs Country

If you need a Geocoding API that's easy to integrate, go with Country.

API Reference - Ideal Postcodes

# Getting Started ## Overview ### Access All API methods are either a `GET`, `POST` or `OPTIONS` request. The API communicates over both HTTPS and plain HTTP using IPv4 and IPv6. We recommend ...

Country

Get your visitor's country from their IP

API Reference - Ideal Postcodes

  • Simple API key authentication
  • HTTPS supported

Country

  • No authentication required
  • HTTPS supported
  • CORS enabled for frontend use
FeatureAPI Reference - Ideal PostcodesCountry
AuthenticationapiKeyNone
HTTPSYesYes
CORSUnknownYes

When to use which?

Country is the better choice for quick prototypes and hackathons since it requires no authentication. Country works directly from the browser with CORS enabled, making it better for frontend-only apps.