Skip to main content
AI Studio  add-on for Spider.
myip.la · HTTP 200

Myip Scraper

Spider read myip.la in 617 ms without a browser and returned 197 lines of clean markdown, including sections like "A Simple Public IP Address And IP Geolocation API", "Why use?" and "API Usage".

Get your free API key
Free balance on signup No card. Failed requests cost $0.
Response myip.la/index.md markdown · 197 lines
## A Simple Public IP Address And IP Geolocation APICurrent IP: 167.100.97.209 [France Ile-de-France Paris]## Why use?Do you need to get the public IP address or IP Geolocation programmatically? Do you have the requirements to obtain the servers’ public IP address? Do you need to get the location of your servers? Whatever the reason,sometimes a public IP address and IP Geolocation API are useful.You should use **MyIP.la** because:* You can initiate requests without any limit.* You can get the english or chinese location data.* Does not record the visitor information.* Lastly, **MyIP.la** is sponsored by IPIP.NET and will exist in long-term stability, please feel free to use it.## API UsageUsing **MyIP.la** is ridiculously simple. You have two options. Address location support English and Chinese.You can get your public IP directly (in plain text), you can get your"ip": "2001:19f0:7001:5607:5400:1ff:fec7:13a9",get IP Location(Chinese Simplified)Gets the information for the request.## ExamplesThis section contains some common usage patterns from a variety of programming languages.### Bashecho "My public IP address is: $ip"`### Python`# This example requires the requests library be installed. You can learn more# about the Requests library here: http://docs.python-requests.org/en/latest/print('My public IP address is: {}'.format(ip))`### Rubyip = Net::HTTP.get(URI("https://api.myip.la"))puts "My public IP Address is: " + ip`### PHP$ip = file_get_contents('https://api.myip.la');echo "My public IP address is: " . $ip;### Java`try (java.util.Scanner s = new java.util.Scanner(new java.net.URL("https://api.myip.la").openStream(), "UTF-8").useDelimiter("\\A")) {
Code · Fields · Cost · Run it keyless, no account

The same call, in code.

The capture above came back as markdown. These examples add a key, so you get browser rendering, proxies, and concurrency on myip.la.

myip-la-scraper.ts
import { SpiderBrowser } from "spider-browser";

const spider = new SpiderBrowser({
  apiKey: process.env.SPIDER_API_KEY!,
});

await spider.connect();
const page = spider.page!;
await page.goto("https://myip.la");

// No selectors, no schema. Spider reads the page and names the fields.
const data = await page.scrape();

console.log(data);
await spider.close();
ready to run · spider-browser, no selectors

Ready for volume? Get an API key →

Fields you can pull.

TitleContentDateSourceCategoryLanguage

Spider names these from the page. The capture above came back as markdown; the same call with return_format: "json" returns them as keys.

What myip.la costs to scrape.

The capture above cost $0.000036 to fetch. Pricing is $1 per GB of pre-transformation bandwidth plus $0.001 per CPU minute, so a page like this one lands at a fraction of a cent. Failed requests are billed at $0.

  • Free balance on signup
  • No card required to test
  • Balance never expires
See the full pricing →

Run it keyless, no account

curl -X POST https://api.spider.cloud/scrape -H "Content-Type: application/json" -d '{"url": "https://myip.la/", "return_format": "markdown"}'

More International scrapers.

Start scraping myip.la.

You already have the call. A key raises the rate limit and turns on browser rendering, proxies, and concurrency. Balance never expires, and top-ups go through secure checkout.