JSON is the lingua franca of web APIs. This sandbox returns only a JSON object with your public IP — no HTML parsing required.
curl https://www.u-star.org/api/ip
Scraping HTML pages requires regex and tag stripping. A JSON API returns `{ "ip": "1.2.3.4" }` so `data.ip` is enough — cutting integration time dramatically.
**Modern JavaScript Fetch API:** ```javascript async function getMyIp() { try { const response = await fetch('https://www.u-star.org/api/ip'); const data = await response.json(); console.log('Your public IP:', data.ip); } catch (error) { console.error('Failed to load IP:', error); } } getMyIp(); ``` Paste this in the browser DevTools (F12) console to query the live API and print your public IP.