Skip to main content
AI Studio  add-on for Spider.
ipify.org · HTTP 200

Ipify Scraper

Spider read ipify.org in 114 ms without a browser and returned 340 lines of clean markdown, including sections like "Why ipify?", "You should use ipify because" and "API Usage".

Get your free API key
Free balance on signup No card. Failed requests cost $0.
Response ipify.org/index.md markdown · 340 lines
Don't wait, run one of the code samples below in your terminal and check`$ curl 'https://api.ipify.org?format=json'`$ curl 'https://api64.ipify.org?format=json'### If you need to get the geolocation data by IP, please refer to our## Why ipify?Ever needed to get your public IP address programmatically?Maybe you're provisioning new cloud servers andneed to know your IP -- maybe you're behind a corporate firewall and need to tunnel information -- whateverthe reason: sometimes having a public IP address API is useful!### You should use ipify because:You can use it without limit (even if you're doing millions of requests per minute.It works flawlessly with both IPv4 and IPv6 addresses, so no matter what sort of technologyyou're using, there won't be issues.It's always online and available, and its infrastructure is powered by Heroku, which means thatregardless of whether the server running the API dies, or if there's an enormous tornado whichdestroys half of the east coast, ipify will still be running!ipify is completely open source (check out the GitHub repository).No visitor information is ever logged. Period.Lastly, ipify is open source so there's no need to worry about the domain name disappearing inthree years or anything like that: ipify is here to stay!## API UsageUsing ipify is ridiculously simple. You have three options. You can get your public IP directly (in plaintext), you can get your public IP in JSON format, or you can get your public IP information in JSONP format(useful for Javascript developers).### IPv4`https://api.ipify.org?format=json``https://api.ipify.org?format=jsonp``https://api.ipify.org?format=jsonp&callback=getip`### IPv6The api6.ipify.org is used for IPv6 request only. If you don't have an IPv6 address, the request will fail.`https://api6.ipify.org?format=json`
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 ipify.org.

ipify-org-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://ipify.org");

// 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.

Business NameAddressPhoneCategoryRating

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 ipify.org costs to scrape.

The capture above cost $0.000064 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://ipify.org/", "return_format": "markdown"}'

More Directories scrapers.

Start scraping ipify.org.

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.