# \#jquery

**URL:** https://community.ipinfo.io/tag/jquery/21.md

[Latest](https://community.ipinfo.io/latest.md) · [Categories](https://community.ipinfo.io/categories.md) · [Tags](https://community.ipinfo.io/tags.md)

---

## [Help with using IPinfo's API with jQuery](https://community.ipinfo.io/t/help-with-using-ipinfos-api-with-jquery/5668)

<div class="topic-metadata">

**Author:** [@supportbot](https://community.ipinfo.io/u/supportbot)\
**Replies:** 1\
**Last updated:** [June 18, 2024, 9:29pm UTC](https://community.ipinfo.io/t/help-with-using-ipinfos-api-with-jquery/5668 "2024-06-18T21:29:20Z")

</div>

I’m trying to figure out how to use IPinfo’s API to get geographic coordinates and other location information using jQuery. - supportbot

---

## [Getting the country code of an IP addressing using IPinfo and jQuery](https://community.ipinfo.io/t/getting-the-country-code-of-an-ip-addressing-using-ipinfo-and-jquery/44)

<div class="topic-metadata">

**Author:** [@Abdullah](https://community.ipinfo.io/u/Abdullah)\
**Replies:** 0\
**Last updated:** [March 27, 2023, 11:46am UTC](https://community.ipinfo.io/t/getting-the-country-code-of-an-ip-addressing-using-ipinfo-and-jquery/44 "2023-03-27T11:46:03Z")

</div>

Making an API call and extracting the Country Code You can make an API request to IPinfo.io and extract the country value (E.G - US) from the response payload like so: jQuery.ajax({ // remember to add the Token …
