[keycdn] IP Location Finder API

Auf dieser Seite werden Links / URLs zu verschiedenen Firmen und Projekten gesetzt. Es handelt sich dabei ausschließlich um Verlinkungen zu externen Seiten.
Antworten
Benutzeravatar
Sternenlicht
Administrator
Beiträge: 150
Registriert: 29.04.2018 14:38:26
Wohnort: Dortmund
Kontaktdaten:

[keycdn] IP Location Finder API

Beitrag von Sternenlicht »

For more information please visit: https://tools.keycdn.com/geo

"Get the IP geolocation data through the simple REST API. All the responses are JSON encoded. We are rate limiting requests (3r/s) to avoid overload of the system.

Please note that the use of this service requires a link back in your project: [IP Location Finder by KeyCDN](https://tools.keycdn.com/geo)

It is required to set the request header user-agent in the format keycdn-tools:https?://.*, which must include the website you are using the API for. Missing attributions or invalid values will be blocked."


Example:


Request:

Code: Alles auswählen


$ curl -H "user-agent: keycdn-tools:https://example.com" "https://tools.keycdn.com/geo.json?host=www.example.com"

Response:

Code: Alles auswählen


{
    "status":"success",
    "description":"Data successfully received.",
    "data":{
        "geo":{
            "host":"www.example.com",
            "ip":"93.184.216.34",
            "rdns":"93.184.216.34",
            "asn":15133,
            "isp":"MCI Communications Services, Inc. d\/b\/a Verizon Business",
            "country_name":"United States",
            "country_code":"US",
            "region_name":"Massachusetts",
            "region_code":"MA",
            "city":"Norwell",
            "postal_code":"02061",
            "continent_name":"North America",
            "continent_code":"NA",
            "latitude":42.1596,
            "longitude":-70.8217,
            "metro_code":506,
            "timezone":"America\/New_York",
            "datetime":"2019-06-01 00:00:00"
        }
    }
}

For more information please visit: https://tools.keycdn.com/geo
Guten Morgen!

Hier spricht das Universum!
Ich werde mich heute um all Deine Probleme kümmern!
Dazu benötige ich Deine Hilfe nicht!

Also genieße den Tag!
Antworten

Zurück zu „Firmen, Referenzen und Werbung“