/    Sign up×
Community /Pin to ProfileBookmark

IP to nation

Is there a quick and free way to get the nation of where an IP address is from? I’ve been using another free source but it’s limited and I’m reaching the limit of this service.

It doesn’t have to be via IP but it’s likely the only way.

What I’m doing is looking at each visitor and if they’re from specific areas I’m saving stuff into a database.

to post a comment
PHP

2 Comments(s)

Copy linkTweet thisAlerts:
@NogDogJul 17.2022 — The quick way (in terms of web site performance) is to download one of the available data sets out there for geo-location and use it as/when needed in your application code. I haven't touched that stuff in years, so have no specific suggestions, but there are free ones out that and not-free ones. Odds are the free ones tend to be less complete/accurate, but you can try to search for ratings/reports and see which ones fit into your requirements (both quality and cost).

Of course, no matter how good it is, anyone using a VPN can deceive it, if desired.
Copy linkTweet thisAlerts:
@Kerry_WatsonJul 30.2022 —  IP to nation is a way of measuring the amount of money that flows from one country to another. It is calculated as the sum of all international payments made by residents in one country and received by residents in another. The data for IP to nation are compiled by the World Bank's International Finance Corporation (IFC) and published on its website.

The latest data show that China has overtaken Japan as the world's largest recipient of foreign direct investment (FDI). In 2012, Chinese investors invested $100bn (£64bn) more than Japanese investors did – equivalent to almost half of all FDI inflows into Japan.
×

Success!

Help @kiwis spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.25,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...