v1

latestOpenAPI 3.1.02026-07-2414103.5 MB

PPC Spend - All Traffic

Returns an estimate of a website’s spend on PPC search terms over an analyzed period

get/{domain_name}/ppc-spend/total

Path parameters

domain_namestring required

Query parameters

api_keystring

Your Similarweb API key

start_datestring

Start month (format: YYYY-MM)

end_datestring

End month (format: YYYY-MM)

countrystring

Country filter, as a 2-letter ISO country code, or "world" for worldwide. To see the country filters you have access to, please refer to the Check Capabilities endpoint.

granularitystring

Set the granularity to 'monthly'.

main_domain_onlystring

Return values for the main domain only ('true'), or include also the subdomains ('false').

Response

200

Example response

{
  "meta": {
    "request": {
      "granularity": "Monthly",
      "format": "json",
      "domain": "amazon.com",
      "start_date": "2023-01-01",
      "end_date": "2023-03-31",
      "country": "us"
    },
    "status": "Success",
    "last_updated": "2025-03-31",
    "device": "Total"
  },
  "breakdown": [
    {
      "date": "2023-01-01",
      "currencies": {
        "aud": 117042494.73,
        "eur": 75986648.34,
        "gbp": 67049013.58,
        "jpy": 10737953336.62,
        "usd": 82526636.72
      }
    }
  ]
}