Public API

Fetch analytics data for a website

Returns Search Console analytics including clicks, impressions, position and CTR, broken down by date, country, device, query and page.

post/v1/analytics/website

Request

  • Base URL
    https://api.foudroyer.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Request body

websiteIdstring required

The ID of the website to fetch analytics for

orderBy'clicks' | 'click_through_rate' | 'impressions' | 'position' | 'date'

Order by field for sorting results

Example request

{
  "websiteId": "website-123",
  "filter": {
    "source": "google",
    "query": "example query",
    "country": "US",
    "device": "desktop",
    "page": "https://example.com/page",
    "from": "2024-01-01",
    "to": "2024-01-31"
  },
  "orderBy": "clicks"
}

Changes

No recorded changes to this operation across all 1 revision of this API.