Skip to content
main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

services.home-assistant.io

Home Assistant web services running on CloudFlare workers

whoami

IP Based GEO lookup

Adress structure

[schema]://services.home-assistant.io/whoami/v1/[key]

placeholder required description
schema True Use http or https
key False Return a single key from the regular JSON response as text.

Examples

curl -sSL https://services.home-assistant.io/whoami/v1
{
  "ip": "1.2.3.4",
  "city": "Gotham",
  "continent": "Earth",
  "country": "XX",
  "currency": "XXX",
  "latitude": "12.34567",
  "longitude": "12.34567",
  "postal_code": "12345",
  "region_code": "00",
  "region": "Gotham",
  "timezone": "Earth/Gotham",
  "iso_time": "2021-05-12T11:29:15.752Z",
  "timestamp": 1620818956
}
curl -sSL https://services.home-assistant.io/whoami/v1/ip
1.2.3.4

newsletter

Signup service for the Home Assistant newsletter

POST URL: https://services.home-assistant.io/newsletter/signup

This endpoint takes a form and the form needs to contain a email field with the email address that are signing up.