ip2location / ipaddress-cfworker

Get IP address - Geographic information based on cloudflare worker and external IP info provider

Home Page:https://ip.hlz.ink

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IP Address-CFworker

Get your public IP address information.

Access

Entry

  • / Default response. Only IP address will be returned

  • /json Default json encoded IP information. (ipgeolocation is selected by now)

  • /json/ipgeo Json encoded IP information provided by ipgeolocation.io

  • /json/ipdata Json encoded IP information provided by ipdata.co

  • /json/ipinfo Json encoded IP information provided by ipinfo.io

  • /json/cf Json encoded IP information provided by Cloudfare

  • /json/ip2location

    Json encoded IP information provided by IP2Location.io

  • /cf Json encoded cloudflare IP related information

Web

Use your browser to visit: https://ip.hlz.ink

Console

Use curl to get your ip infomration on a headless machine

curl ip.hlz.ink

Want detail?

curl ip.hlz.ink/json

In addition, you can ask for the information of a given ip by

curl ip.hlz.ink/query/{ip_address}

How to deploy your own one

To-Do

Thanks

cloudflare-worker

ipinfo

About

Get IP address - Geographic information based on cloudflare worker and external IP info provider

https://ip.hlz.ink

License:GNU General Public License v3.0


Languages

Language:JavaScript 74.8%Language:HTML 18.0%Language:CSS 7.2%