Statglide Documentation

Endpoint

Make a POST request to https://api.statglide.com. This endpoint accepts the parameters detailed below and returns a download link for your report.

Authentication

Every request to the Statglide API should be authenticated with your Statglide token. You can find this token in your user settings once you log in.

Include the token in the request body:

{
"statglide_token": "{YOUR TOKEN}"
}

Specifying Date Range

Determine the specific time range of the data you want.

Add this to your request body:

{
  "range": "mm/dd/yyyy:mm/dd/yyyy"
}

Choosing File Format

Determine the desired output format for your report:

{
  "format": "{FILE TYPE}"
}

Supported formats:

  • .xlsx

  • .csv

  • .pdf

Selecting Integrations and Data Scopes

Specify the integrations and their respective data scopes:

{
  "integrations": ["Google", "Facebook", ...],
  "scopes": ["ga_numberusers", "fbads_impressions", ...]
}
{
  "integrations": ["Google", "Facebook", ...],
  "scopes": ["ga_numberusers", "fbads_impressions", ...]
}


Integrations & Scopes

  • Google:

    • ga_numberusers

    • ga_numbersessions

    • ga_avgsessionduration

    • ga_avgpagessession

    • ga_newreturningusers

    • ga_bouncerate

    • ga_organicvpaid

    • gsc_impressions

    • gsc_clicks

    • gsc_ctr

    • gsc_position

    • gads_impressions

    • gads_reach

    • gads_spend

    • gads_ctr

    • gads_clicks

    • gads_roas

    • gads_conversions

    • gads_cpr

    • gads_cpc

  • Facebook:

    • fbads_impressions

    • fbads_reach

    • fbads_spend

    • fbads_ctr

    • fbads_clicks

    • fbads_roas

    • fbads_conversions

    • fbads_cpr

    • fbads_cpc

  • Shopify:

    • shop_totalsales

    • shop_numberorders

    • shop_netsales

    • shop_aov

    • shop_cvr

  • Stripe:

    • st_balance

    • st_pending

Example JSON Body

In this JSON snippett we will combine our Statglide token, date range, file format, integrations, and scopes to generate a report. Consider running this with your Statglide token to see a result!


{
  "statglide_token": "1234567890abcdef",
  "range": "01/01/2023:09/01/2023",
  "format": ".xlsx",
  "integrations": ["Google", "Facebook", "Shopify"],
  "scopes": [
    "ga_numberusers",
    "ga_bouncerate",
    "gads_impressions",
    "gads_spend",
    "fbads_impressions",
    "fbads_spend",
    "shop_totalsales",
    "shop_numberorders"
  ]
}
{
  "statglide_token": "1234567890abcdef",
  "range": "01/01/2023:09/01/2023",
  "format": ".xlsx",
  "integrations": ["Google", "Facebook", "Shopify"],
  "scopes": [
    "ga_numberusers",
    "ga_bouncerate",
    "gads_impressions",
    "gads_spend",
    "fbads_impressions",
    "fbads_spend",
    "shop_totalsales",
    "shop_numberorders"
  ]
}

Retrieving Your Report

Upon making a successful POST request, you'll receive a download link containing your data in the selected format.

Congratulations, you've successfully made an API request with Statglide!

Your Online Statistics' New Home

Your Online Statistics' New Home

Your Online Statistics' New Home

Embrace the simplicity of having all your crucial data under one roof. Statglide - where data meets clarity and decisions become easier.

Your universal dashboard for seamlessly managing and interpreting all your online statistics.

Copyright © Relative Companies, LLC DBA "Statglide" - All Rights Reserved

Made in Atlanta with 🫶

Your universal dashboard for seamlessly managing and interpreting all your online statistics.

Copyright © Relative Companies, LLC DBA "Statglide" - All Rights Reserved

Made in Atlanta with 🫶

Your universal dashboard for seamlessly managing and interpreting all your online statistics.

Copyright © Relative Companies, LLC DBA "Statglide" - All Rights Reserved

Made in Atlanta with 🫶