API

The Unk Web API is an interface for querying collected data and operate domains actions.

What can you do with the Web API?

Basics

The Web API is a collection of HTTP REST-style methods, all with URLs in the form https://unknownanalytics.com/api/ext/v1/.

Use HTTPS, SSL, and TLS v1.2 or above when calling all ressources. Learn more about our SSL and TLS requirements.

Each method has a series of arguments informing the execution of your intentions.

Pass arguments as:

  • GET querystring parameters
  • POST parameters presented as application/json

Operations

Operation Description
export
Export website views.
Export website views.
Domains

Base url https://unknownanalytics.com/api/ext/v1/

Acess token

Export

  • End point: /views, like:
  • Query derived from the initial variables:
    • $from: 'yyyy-mm-dd'
    • $to: 'yyyy-mm-dd'
    • $format: 'csv', 'json'