LogoLogo
Help CenterStatusContact
  • Chartbeat Documentation
  • Implement Tracking
    • Standard Websites
      • Adding chartbeat.js to Your Site
      • Customize Tracking Settings
      • Tracking Virtual Page Change
      • User Subscriber Status
      • Alternative Site Integrations
      • Integration QA Steps: Website
      • Additional Page Metadata
    • Google AMP
      • Chartbeat Code for AMP
      • AMP Configuration Variables
      • Alternative AMP Integration
      • Integration QA Steps: AMP
    • Mobile App SDKs
      • Intro to Mobile App Tracking
      • Android SDK
      • iOS SDK
      • Integration QA Steps: Mobile Apps
  • Feature Integrations
    • Headline and Image Testing
      • Adding chartbeat_mab.js to Your Site
      • Image Compatibility
      • Flicker & Flicker Control
      • mab.js Specifications
      • Integration QA Steps: Headline and Image Testing
    • Video Engagement
      • Adding chartbeat_video.js to Your Site
      • Supported OVP Integrations
      • Custom Player Integration SDK
      • Configure Video Tracking Settings
      • Integration QA: Video Tracking
    • Conversion
      • Adding subscriptions.js to Your Site
      • Conversion Events
      • Integration QA Steps: Conversion
      • Supported Conversion Flows
  • API Docs
    • Real-Time API
      • Getting Started with our Real-Time API
      • Traffic Data
      • Video Engagement Data
    • Historical API
      • Getting Started with our Historical API
      • One-time Queries
      • Recurring Queries
      • Metrics, Dimensions, and Filters
    • Headline Testing API
      • Getting Started with our Headline Testing API
      • Raw Data
      • Summary Report
      • Variant Report
    • Conversion API
      • Getting Started with our Conversion API
      • Top Articles
    • Data Lab API
      • Getting Started with Data Lab API
  • Help Center
  • Contact Support
  • Datastream Docs
  • Back to Chartbeat.com
Powered by GitBook
On this page

Was this helpful?

  1. API Docs
  2. Headline Testing API

Raw Data

Raw data endpoint is designed to fetch headline testing data with as much detail as possible.

Raw data queries are good for pulling data over custom date ranges, to dig deep into granular metrics.

Get raw data

GET https://api.chartbeat.com/mab/htapi/v1/experiments/raw_data/

Note: The payload can quickly become large, please use date ranges and limit parameter for a good result set.

Query Parameters

Name
Type
Description

apikey (see note)

string

start*

string

YYYY-MM-DD

end*

string

YYYY-MM-DD

host*

string

The site on which you are querying

limit

integer

Base-10 values only

tz*

string

The timezone you'd like to run the query in a valid Olson timezone format, e.g. America/New_York.

status

string

Choices are 'active', 'archived', 'all'. Defaults to 'all'.

{
  "status": "string",
  "data": [
    {
      "experiment_id": "string",
      "status": "string",
      "type": "string",
      "model": "string",
      "host": "string",
      "domain": "string",
      "path": "string",
      "location": "string",
      "specific_location": "string",
      "exp_metadata": "string",
      "sections": [
        "string"
      ],
      "created_at": "2023-07-21T20:15:05.971Z",
      "archived_at": "2023-07-21T20:15:05.971Z",
      "activated_at": "2023-07-21T20:15:05.971Z",
      "completed_at": "2023-07-21T20:15:05.971Z",
      "total_outcomes": 0,
      "total_failures": 0,
      "outcome_last_received_at": 0,
      "num_outcomes": 0,
      "payout_coefficients": [
        0
      ],
      "priors": [
        0
      ],
      "num_variants": 0,
      "strategy_last_updated_at": 0,
      "winning_variant": "string",
      "convergence_type": "string",
      "value_remaining": "string",
      "valid": "string",
      "user_id": 0,
      "user_email": "string",
      "engagement_mean": 0,
      "engagement_intervals": [
        0
      ],
      "ctr_mean": 0,
      "probability": 0,
      "ctr_intervals": [
        0
      ],
      "engaged_click_intervals": [
        0
      ],
      "engaged_clicks_mean": 0,
      "outcome_counts": [
        0
      ],
      "content_type": "string",
      "content": "string",
      "variant_id": "string",
      "variant_metadata": "string"
    }
  ]
}
PreviousGetting Started with our Headline Testing APINextSummary Report

Last updated 9 months ago

Was this helpful?

NOTE: Your API key should no longer be set as a query param; instead,

pass it in the HTTP header