Triple Whale Bi API

The bi API from Triple Whale — 1 operation(s) for bi.

Operations 1

GET /api/v2/bi/avg #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/triple-whale-bi-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

triple-whale-bi-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Bi API
  version: 1.0.0
servers:
- url: https://api.triplewhale.com
tags:
- name: bi
paths:
  /api/v2/bi/avg:
    get:
      operationId: bi-avg-get
      responses:
        '200':
          description: Ecommerce Ad metrics for the requested period
          content:
            application/json:
              schema:
                type: object
                properties:
                  aggregated:
                    $ref: '#/definitions/MetricExampleObj'
                  raw:
                    type: array
                    items:
                      type: object
                      properties:
                        date:
                          type: string
                          format: date
                        metrics:
                          $ref: '#/definitions/MetricExampleObj'
                      required:
                      - date
                      - metrics
                definitions:
                  MetricExampleObj:
                    type: object
                    properties:
                      pinterest:
                        $ref: '#/definitions/PlatformMetrics'
                      google:
                        $ref: '#/definitions/PlatformMetrics'
                      snapchat:
                        $ref: '#/definitions/PlatformMetrics'
                      tiktok:
                        $ref: '#/definitions/PlatformMetrics'
                      facebook:
                        $ref: '#/definitions/PlatformMetrics'
                    additionalProperties: false
                  PlatformMetrics:
                    type: object
                    properties:
                      ctr:
                        type: number
                        minimum: 0
                        maximum: 100
                        description: CTR (Click-Through Rate) in percentage (0-100)
                      cpm:
                        type: number
                        description: CPM (Cost per Thousand Impressions) in USD
                      cpc:
                        type: number
                        description: CPC (Cost per Click) in USD
                      roas:
                        type: number
                        description: ROAS (Return on Ad Spend) calculated as Revenue / Ad Spend
                      mer:
                        type: number
                        description: MER (Marketing Efficiency Ratio) calculated as Ad Spend / Revenue
                    additionalProperties: false
      parameters:
      - in: query
        name: dailyagg
        schema:
          type: boolean
          description: Aggregate results by day
          default: false
        required: false
      - in: query
        name: platforms
        schema:
          type: string
          description: Ad Platforms to include in data (Facebook, TikTok, Google, Pinterest, Snapchat). Omit if you need all platforms. Supports a pipe-separated list as a string.
        required: false
      - in: query
        name: category
        schema:
          type: string
          description: Shop Industry
          enum:
          - art
          - baby
          - books
          - shoes
          - crafts
          - clothing
          - computers
          - electronics
          - collectibles
          - pet_supplies
          - home_garden
          - sporting_goods
          - toys_hobbies
          - health_beauty
          - office_products
          - digital_products
          - food_beverages
          - car_truck_parts
          - jewelry_watches
          - fashion_accessories
          - cellphones_accessories
          - hair_braids
        required: false
        default: all
      - in: query
        name: aov_segment
        schema:
          type: string
          description: Filters the dataset to shops with a particular average order value in USD. By default all shops are included.
          enum:
          - <25
          - 25-50
          - 50-75
          - 75-100
          - 100-150
          - '>150+'
        required: false
      - in: query
        name: spend_segment
        schema:
          type: string
          description: Filteres the dataset to shops with a particular spend amount per month in thousands of USD. By default all shops are included.
          enum:
          - <10K
          - 10K-20K
          - 20K-50K
          - 50K-100K
          - 100K-250K
          - '>250K+'
        required: false
      - in: query
        name: start
        schema:
          type: string
          description: Start date
        required: false
      - in: query
        name: end
        schema:
          type: string
          description: End date
        required: false
      tags:
      - bi
      x-tw:
        pathPrefix: bi
        serviceId: bi
        interfaces:
        - client
      x-google-backend:
        address: https://bi-ipbu2ryima-uc.a.run.app
        protocol: http/1.1
        path_translation: APPEND_PATH_TO_ADDRESS