Skip to content

API guides/Geo, weather, and places

Free

REST Countries API

Country names, ISO codes, currencies, calling codes, and flags. Free, no key. Cache it — this is reference data.

Check official docs

1 provider · 3 min · Limits change — verify before you ship

Geo, weather, and places

What this is for

REST Countries is a community-hosted dataset of ISO 3166 countries. Use it for pickers and locale defaults. Do not call /all on every page load.

REST Countries

Free

GET https://restcountries.com/v3.1/name/{name}

Official docs

HTTPS

Yes

API key

No key

CORS

Usually yes

Use

Free tier

Limits. No key. The /all route expects a fields filter. Cache locally; self-host if you need guarantees.

Commercial. Hosted instance is free; production apps should cache or self-host.

Note. v3.1 is the current public version as of this writing. Confirm on restcountries.com.

curl -sS "https://restcountries.com/v3.1/alpha/IN?fields=name,capital,currencies,idd,cca2"

PureDevKit does not host or proxy these APIs. Pricing, rate limits, CORS, authentication, and JSON shapes can change without notice. Always confirm the current rules on the provider’s official documentation before you ship.