Skip to content

API (web JSON)

Claudio Agosti edited this page Oct 30, 2018 · 1 revision

API

Analyzed site list

GET https://kreuzberg.google.tracking.exposed/api/v1/sites/krgotrex

Returns one object for every site analyzed, i.e:

"campaign": "krgotrex", 
"frequency": 5, 
"href": "http://www.stadtentwicklung.berlin.de/verkehr/lenkung/vlb/de/radzaehlungen.shtml", 
"id": "27ed12833b67ef6195a8e0445191d2dffedc75be", 
"iteration": 1, 
"kind": "Kontaktschleife der Fahrradzählstelle", 
"lastCheckTime": "2018-06-24T08:20:42.131Z", 
"lastResultId": "a851875f5471eac53b9548f0c89910fe9e84a077", 
"latitude": "52.4929864", 
"longitude": "13.4296831", 
"name": "Zählstelle Maybachufer Richtung Osten / Westen"

All the trackers evidences (Google is here)

GET https://kreuzberg.google.tracking.exposed/api/v1/results/krgotrex

API format

It return one object per site tested. It report all the companies detected, all the unrecognized third-parties, all the google services recognized (by this attribution) and all the cookies

    {
        "_id": "5b3dfabf176b14176f0a5afc", 
        "campaign": "krgotrex", 
        "companies": [
            "Google"
        ], 
        "cookies": [], 
        "googles": {
            "Google Analytics": 2, 
            "Google DoubleClick": 1, 
            "Google Fonts": 4
        }, 
        "href": "http://katiesbluecat.de/", 
        "id": "745cb26248491b8ceeb96a01fbb44891e6eed5c2", 
        "javascripts": 16, 
        "requestTime": "2018-06-24T08:26:45.547Z", 
        "unrecognized": []
    }, 

In this campaign, the usage of cookies, unrecognized and non-Google companies might be ignored, but otherwise they are available.

Clone this wiki locally