Skip to main content

List projects

Get a list of projects.

Request

GET or POST https://api.wattspeed.com/v1/projects

Headers
Authorization  string required

Your API token.

Parameters
domain  string 

Use this to filter by domain - should be URL encoded.


device  string 

Use this to filter by device.
Allowed values: mobile, desktop.


location  array of strings 

Use this to filter by location. When passing multiple locations, include each location in a different parameter using the same name. Example: location=s_carolina&location=tokyo.
Allowed values: s_carolina, los_angeles, frankfurt, london, tokyo, sao_paulo.


frequency  string 

Use this to filter by frequency.
Allowed values: manual, daily, weekly, monthly.

Example request

GET

https://api.wattspeed.com/v1/projects?domain=wattspeed.com&device=desktop&location=s_carolina&location=london&frequency=manual

POST

{
"domain": "wattspeed.com",
"device": "desktop",
"location": ["s_carolina", "london"],
"frequency": "manual"
}

Responses

[
{
"url": "https://wattspeed.com",
"device": "desktop",
"locations": [
"s_carolina",
"london"
],
"lastUpdate": "2022-07-01T00:46:41",
"frequency": "manual",
"impressions": 237,
"clicks": 83
}
]