Lists

Segment list

Returns a list of segments (groupings) for retrieving statistics

curl -H "token: your_token" 'https://api.might.io/segment'

After a successful execution of the request you will receive JSON object:

{ "success": true, "data": [ "affiliate_network", "browser", "browser_language", "campaign", "city", "country", ... ], }
Column list

Returns a list of columns for sampling statistics

curl -H "token: your_token" 'https://api.might.io/column'

After a successful execution of the request you will receive JSON object:

{ "success": true, "data": [ "visits", "clicks", "cpv", "cr", "epv", ... ], }
Length list

Returns the available length of the sample

curl -H "token: your_token" 'https://api.might.io/length'

After a successful execution of the request you will receive JSON object:

{ "success": true, "data": [ 10, 25, 50, ... ], }
Currency list

Returns available currencies

curl -H "token: your_token" 'https://api.might.io/currency'

After a successful execution of the request you will receive JSON object:

{ "success": true, "data": [ "EUR", "RUB", "USD", ], }
Timezone list

Returns list of time zones

curl -H "token: your_token" 'https://api.might.io/timezone'

After a successful execution of the request you will receive JSON object:

{ "success": true, "data": [ "Africa/Abidjan", "Africa/Accra", "Africa/Algiers", ... ], }
Device type list

Returns list of device type

curl -H "token: your_token" 'https://api.might.io/device_type'

After a successful execution of the request you will receive JSON object:

{ "success": true, "data": [ "desktop", "glass", "mobile", ... ], }
Os list

Returns list of operating systems

curl -H "token: your_token" 'https://api.might.io/os'

After a successful execution of the request you will receive JSON object:

{ "success": true, "data": [ "Aliyun", "Android", "Bada", ... ], }
Day of week list

Returns list of day of week

curl -H "token: your_token" 'https://api.might.io/day_of_week'

After a successful execution of the request you will receive JSON object:

{ "success": true, "data": [ "Friday", "Monday", "Saturday", ... ], }
Browser list

Returns list of browsers

curl -H "token: your_token" 'https://api.might.io/browser'

After a successful execution of the request you will receive JSON object:

{ "success": true, "data": [ "360 Browser", "360 Phone Browser", "ABrowse", ... ], }
Browser language

Returns list of browser language codes

curl -H "token: your_token" 'https://api.might.io/browser_language'

After a successful execution of the request you will receive JSON object:

{ "success": true, "data": [ "af", "ar", "be", ... ], }
Brands and models

Returns list of brands and models

curl -H "token: your_token" 'https://api.might.io/brand_and_model'

After a successful execution of the request you will receive JSON object:

{ "success": true, "data": [ "3Q": [ "MT7801CM", "Qoo Surf", ... ], "HTC": [ "Wallaby", "HT-03A", ... ], ... ], }