REST Countries
FreeGET https://restcountries.com/v3.1/name/{name}
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"