ReviewFlowz Analytics API

The Analytics API from ReviewFlowz — 6 operation(s) for analytics.

GitHub OpenAPI

Operations 9

GET /stats Get stats #
GET /reports/options List report fields #
POST /reports/query Run a report #
GET /reports List reports #
POST /reports Create a report #
GET /reports/{id} Get a report #
PATCH /reports/{id} Update a report #
DELETE /reports/{id} Delete a report #
GET /reports/{id}/results Run a saved report #

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/reviewflowz-com:reviewflowz-com-analytics-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

reviewflowz-com-analytics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Reviewflowz Analytics API
  version: '2026-10-29'
  summary: Reviews and ratings from every platform, for monitoring, realtime and bulk use.
  description: 'Reviews and ratings from every platform. Guides: https://api.reviewflowz.com/v3/docs

    (quickstart, authentication, errors and limits, use cases, webhooks).'
servers:
- url: https://api.reviewflowz.com/v3
security:
- apiKey: []
- oauth: []
tags:
- name: Analytics
paths:
  /stats:
    get:
      operationId: getStats
      summary: Get stats
      description: 'For any set of reviews (the /reviews filters), as one total or grouped. Sentiment counts topic mentions (needs the sentiment feature).


        Requires `analytics:read`.'
      tags:
      - Analytics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  group_by:
                    type: string
                  interval:
                    type: string
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/StatsRow'
          headers:
            Reviewflowz-Version:
              $ref: '#/components/headers/ReviewflowzVersion'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
        default:
          $ref: '#/components/responses/Problem'
      x-parameter-groups:
      - title: How to group
        parameters:
        - group_by
        - interval
      - title: Which reviews
        parameters:
        - id
        - source
        - platform
        - location
        - product
        - dimension[key]
        - source_created_after
        - rating
        - rating_min
        - rating_max
        - date_after
        - date_before
        - created_after
        - created_before
        - updated_after
        - language
        - country
        - tag
        - owner
        - topic
        - subtopic
        - sentiment
        - has_reply
        - removed
        - q
        - keywords
        - has_text
        - text_length_min
        - versions
      parameters:
      - name: group_by
        in: query
        schema:
          type: string
          enum:
          - none
          - period
          - source
          - location
          - platform
          default: none
        description: One total (none), or a row per period, source, location or platform.
      - name: interval
        in: query
        schema:
          type: string
          enum:
          - day
          - week
          - month
          - quarter
          - year
          default: month
        description: 'With group_by=period: the length of each period, by the date the review was posted.'
      - name: id
        in: query
        schema:
          type: string
        description: Comma-separated review ids, up to 500.
      - name: source
        in: query
        schema:
          type: string
        description: Comma-separated source ids.
      - name: platform
        in: query
        schema:
          type: string
        description: Comma-separated platform ids.
      - name: location
        in: query
        schema:
          type: string
        description: Comma-separated location ids.
      - name: product
        in: query
        schema:
          type: string
        description: Comma-separated product ids (accounts that group sources into products).
      - name: dimension[key]
        in: query
        schema:
          type: string
        description: Reviews of sources with this custom dimension value (comma-separated values).
      - name: source_created_after
        in: query
        schema:
          type: string
          format: date-time
        description: Reviews of sources added at or after.
      - name: rating
        in: query
        schema:
          type: string
        description: 'Star ratings, comma-separated: rating=1,2 (4 includes 4.5).'
      - name: rating_min
        in: query
        schema:
          type: number
        description: 'Scores of at least this: rating_min=4.'
      - name: rating_max
        in: query
        schema:
          type: number
        description: 'Scores of at most this: rating_max=3 (3.5 is out).'
      - name: date_after
        in: query
        schema:
          type: string
          format: date-time
        description: Posted on the platform at or after.
      - name: date_before
        in: query
        schema:
          type: string
          format: date-time
        description: Posted on the platform before.
      - name: created_after
        in: query
        schema:
          type: string
          format: date-time
        description: Found by Reviewflowz at or after.
      - name: created_before
        in: query
        schema:
          type: string
          format: date-time
        description: Found by Reviewflowz before.
      - name: updated_after
        in: query
        schema:
          type: string
          format: date-time
        description: Reviews found, edited, removed, reinstated, replied to, tagged or assigned an owner after this time.
      - name: language
        in: query
        schema:
          type: string
        description: Comma-separated ISO 639-1 codes.
      - name: country
        in: query
        schema:
          type: string
        description: 'The reviewer''s country, where the platform gives one: comma-separated ISO 3166 codes.'
      - name: tag
        in: query
        schema:
          type: string
        description: 'Comma-separated tag ids: reviews with any of them.'
      - name: owner
        in: query
        schema:
          type: string
        description: Comma-separated owner ids (confirmed assignments).
      - name: topic
        in: query
        schema:
          type: string
        description: Comma-separated topic names.
      - name: subtopic
        in: query
        schema:
          type: string
        description: Comma-separated subtopic names. With topic or sentiment, the same mention.
      - name: sentiment
        in: query
        schema:
          type: string
          enum:
          - positive
          - negative
          - neutral
        description: With topic, a mention of that topic with that sentiment.
      - name: has_reply
        in: query
        schema:
          type: boolean
        description: Reviews with a live reply (true) or with none (false). A draft doesn't count.
      - name: removed
        in: query
        schema:
          type: boolean
        description: Reviews the platform took down (true), or the ones still up (false). Left out, both are counted.
      - name: q
        in: query
        schema:
          type: string
        description: Full-text search (title, text, pros, cons, reviewer); every word must match.
      - name: keywords
        in: query
        schema:
          type: string
        description: 'Like q, but any of the words: keywords=refund,late.'
      - name: has_text
        in: query
        schema:
          type: boolean
        description: Reviews with written text (true) or a rating alone (false).
      - name: text_length_min
        in: query
        schema:
          type: integer
          minimum: 1
        description: At least this many words, title, text, pros and cons together.
      - name: versions
        in: query
        schema:
          type: string
          enum:
          - latest
          - all
          default: latest
        description: latest counts only the current version of an edited review; all counts every version.
      security:
      - apiKey: []
      - oauth:
        - analytics:read
  /reports/options:
    get:
      operationId: getReportOptions
      summary: List report fields
      description: 'For this account (its custom dimensions included), with the rules that decide which

        combinations are valid. Send a partial selection (visualization, dimensions, metrics)

        to also get what can still be added to it, narrowed the way the app''s report builder

        narrows its dropdowns, and what is wrong with it so far.


        Requires `analytics:read`.'
      tags:
      - Analytics
      parameters:
      - name: visualization
        in: query
        schema:
          type: string
      - name: dimensions
        in: query
        schema:
          type: string
        description: Comma-separated dimension keys already chosen.
      - name: metrics
        in: query
        schema:
          type: string
        description: Comma-separated metric keys already chosen.
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  dimensions:
                    type: array
                    items:
                      type: object
                  metrics:
                    type: array
                    items:
                      type: object
                  visualizations:
                    type: array
                    items:
                      type: object
                  rules:
                    type: array
                    items:
                      type: string
                  selection:
                    type: object
                    description: With a partial selection only.
                    properties:
                      visualization:
                        type: string
                      dimensions:
                        type: array
                        items:
                          type: string
                      metrics:
                        type: array
                        items:
                          type: string
                  addable_dimensions:
                    type: array
                    items:
                      type: object
                  addable_metrics:
                    type: array
                    items:
                      type: object
                  config_errors:
                    type: array
                    items:
                      type: string
          headers:
            Reviewflowz-Version:
              $ref: '#/components/headers/ReviewflowzVersion'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
        default:
          $ref: '#/components/responses/Problem'
      security:
      - apiKey: []
      - oauth:
        - analytics:read
  /reports/query:
    post:
      operationId: queryReport
      summary: Run a report
      description: 'Runs a custom report without saving it.


        Requires `analytics:read`.'
      tags:
      - Analytics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      additionalProperties: true
                      description: 'One row per dimension combination: the dimension values, each metric, and comparison_<metric> when comparing.'
                  next_cursor:
                    type:
                    - string
                    - 'null'
                  has_more:
                    type: boolean
                  report:
                    type: string
                  from:
                    type: string
                    format: date
                  to:
                    type: string
                    format: date
          headers:
            Reviewflowz-Version:
              $ref: '#/components/headers/ReviewflowzVersion'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            Idempotent-Replayed:
              $ref: '#/components/headers/IdempotentReplayed'
        default:
          $ref: '#/components/responses/Problem'
      parameters:
      - name: from
        in: query
        schema:
          type: string
        description: Start date (default 30 days before to).
      - name: to
        in: query
        schema:
          type: string
        description: End date (default today).
      - name: compare_from
        in: query
        schema:
          type: string
        description: Comparison window start.
      - name: compare_to
        in: query
        schema:
          type: string
        description: Comparison window end.
      - name: sort_by
        in: query
        schema:
          type: string
      - name: sort_direction
        in: query
        schema:
          type: string
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/Cursor'
      - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                visualization:
                  type: string
                  default: table
                dimensions:
                  type: array
                  items:
                    type: string
                metrics:
                  type: array
                  items:
                    type: string
                keywords:
                  type: array
                  items:
                    type: string
                filters:
                  $ref: '#/components/schemas/ReportFilters'
      security:
      - apiKey: []
      - oauth:
        - analytics:read
  /reports:
    get:
      operationId: listReports
      summary: List reports
      description: 'The account''s saved custom reports.


        Requires `analytics:read`.'
      tags:
      - Analytics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                allOf:
                - $ref: '#/components/schemas/PageMeta'
                - type: object
                  properties:
                    data:
                      type: array
                      items:
                        $ref: '#/components/schemas/Report'
          headers:
            Reviewflowz-Version:
              $ref: '#/components/headers/ReviewflowzVersion'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
        default:
          $ref: '#/components/responses/Problem'
      parameters:
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/Cursor'
      security:
      - apiKey: []
      - oauth:
        - analytics:read
    post:
      operationId: createReport
      summary: Create a report
      tags:
      - Analytics
      responses:
        '201':
          description: Created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Report'
          headers:
            Reviewflowz-Version:
              $ref: '#/components/headers/ReviewflowzVersion'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
            Idempotent-Replayed:
              $ref: '#/components/headers/IdempotentReplayed'
        default:
          $ref: '#/components/responses/Problem'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                visualization:
                  type: string
                  default: table
                dimensions:
                  type: array
                  items:
                    type: string
                metrics:
                  type: array
                  items:
                    type: string
                keywords:
                  type: array
                  items:
                    type: string
                filters:
                  $ref: '#/components/schemas/ReportFilters'
      security:
      - apiKey: []
      - oauth:
        - analytics:write
      description: Requires `analytics:write`.
      parameters:
      - $ref: '#/components/parameters/IdempotencyKey'
  /reports/{id}:
    parameters:
    - $ref: '#/components/parameters/Id'
    get:
      operationId: getReport
      summary: Get a report
      tags:
      - Analytics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Report'
          headers:
            Reviewflowz-Version:
              $ref: '#/components/headers/ReviewflowzVersion'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
        default:
          $ref: '#/components/responses/Problem'
      security:
      - apiKey: []
      - oauth:
        - analytics:read
      description: Requires `analytics:read`.
    patch:
      operationId: updateReport
      summary: Update a report
      tags:
      - Analytics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Report'
          headers:
            Reviewflowz-Version:
              $ref: '#/components/headers/ReviewflowzVersion'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
        default:
          $ref: '#/components/responses/Problem'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                name:
                  type: string
                visualization:
                  type: string
                  default: table
                dimensions:
                  type: array
                  items:
                    type: string
                metrics:
                  type: array
                  items:
                    type: string
                keywords:
                  type: array
                  items:
                    type: string
                filters:
                  $ref: '#/components/schemas/ReportFilters'
      security:
      - apiKey: []
      - oauth:
        - analytics:write
      description: Requires `analytics:write`.
    delete:
      operationId: deleteReport
      summary: Delete a report
      tags:
      - Analytics
      responses:
        '204':
          $ref: '#/components/responses/NoContent'
        default:
          $ref: '#/components/responses/Problem'
      security:
      - apiKey: []
      - oauth:
        - analytics:write
      description: Requires `analytics:write`.
  /reports/{id}/results:
    parameters:
    - $ref: '#/components/parameters/Id'
    get:
      operationId: runReport
      summary: Run a saved report
      tags:
      - Analytics
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      additionalProperties: true
                      description: 'One row per dimension combination: the dimension values, each metric, and comparison_<metric> when comparing.'
                  next_cursor:
                    type:
                    - string
                    - 'null'
                  has_more:
                    type: boolean
                  report:
                    type: string
                  from:
                    type: string
                    format: date
                  to:
                    type: string
                    format: date
          headers:
            Reviewflowz-Version:
              $ref: '#/components/headers/ReviewflowzVersion'
            RateLimit:
              $ref: '#/components/headers/RateLimit'
            RateLimit-Policy:
              $ref: '#/components/headers/RateLimitPolicy'
        default:
          $ref: '#/components/responses/Problem'
      parameters:
      - name: from
        in: query
        schema:
          type: string
        description: Start date (default 30 days before to).
      - name: to
        in: query
        schema:
          type: string
        description: End date (default today).
      - name: compare_from
        in: query
        schema:
          type: string
        description: Comparison window start.
      - name: compare_to
        in: query
        schema:
          type: string
        description: Comparison window end.
      - name: sort_by
        in: query
        schema:
          type: string
      - name: sort_direction
        in: query
        schema:
          type: string
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/Cursor'
      security:
      - apiKey: []
      - oauth:
        - analytics:read
      description: Requires `analytics:read`.
components:
  parameters:
    Cursor:
      name: cursor
      in: query
      description: The next_cursor from the previous page. Leave it out for the first page.
      schema:
        type: string
    Limit:
      name: limit
      in: query
      description: 'Rows per page: 1 to 500 (default 50).'
      schema:
        type: integer
        minimum: 1
        maximum: 500
    Id:
      name: id
      in: path
      required: true
      schema:
        type: string
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      description: 'Any unique string (a UUID works). Retrying with the same key within 24 hours replays the first answer instead of running again, with `Idempotent-Replayed: true`.'
      schema:
        type: string
        maxLength: 255
  headers:
    ReviewflowzVersion:
      description: The API version that answered.
      schema:
        type: string
        examples:
        - '2026-10-29'
    IdempotentReplayed:
      description: '`true` when the answer is the first call''s, replayed for a repeated `Idempotency-Key`. Absent otherwise.'
      schema:
        type: string
        examples:
        - 'true'
    RateLimit:
      description: Requests left in the current window (`r`) and seconds until it resets (`t`).
      schema:
        type: string
        examples:
        - '"per-account";r=299;t=42'
    RateLimitPolicy:
      description: The limit (`q` requests per `w` seconds).
      schema:
        type: string
        examples:
        - '"per-account";q=300;w=60'
  schemas:
    StatsRow:
      type: object
      examples:
      - group:
          period: '2026-10-01'
          interval: month
        count: 35
        average_rating: 4.51
        ratings:
          '5': 25
          '4': 6
          '3': 2
          '2': 1
          '1': 1
        replied: 31
        reply_rate: 0.8857
        removed: 0
        sentiment:
          positive: 52
          neutral: 6
          negative: 9
      properties:
        group:
          type: object
          description: '{} for the total; else period, source, location or platform.'
        count:
          type: integer
        average_rating:
          type:
          - number
          - 'null'
        ratings:
          $ref: '#/components/schemas/Stars'
        replied:
          type: integer
        reply_rate:
          type:
          - number
          - 'null'
          description: 0 to 1.
        removed:
          type: integer
          description: Reviews the platform took down (counted in count too; filter removed=false to leave them out).
        sentiment:
          type: object
          properties:
            positive:
              type: integer
            neutral:
              type: integer
            negative:
              type: integer
    Problem:
      type: object
      description: 'Some codes add fields of their own, like `required_scope` on insufficient_scope or `supported_versions` on unsupported_version: the errors guide lists them.'
      additionalProperties: true
      required:
      - type
      - title
      - status
      - code
      - detail
      - request_id
      properties:
        type:
          type: string
          format: uri
        title:
          type: string
        status:
          type: integer
        code:
          type: string
          description: Stable error code to branch on.
          examples:
          - unauthorized
          - insufficient_scope
          - plan_restricted
          - unsupported_version
          - rate_limited
          - quota_exceeded
          - not_found
          - route_not_found
          - parameter_missing
          - invalid_json
          - forbidden
          - internal_error
        detail:
          type: string
          description: What happened and what to do next.
        request_id:
          type: string
        errors:
          type: array
          description: Field-level problems, when there are any.
          items:
            type: object
            required:
            - field
            - code
            - detail
            properties:
              field:
                type: string
              code:
                type: string
              detail:
                type: string
    Stars:
      type: object
      description: Keyed "5" to "1".
      additionalProperties:
        type: number
    ReportFilters:
      type: object
      description: Which reviews the report covers.
      properties:
        source:
          type: array
          items:
            type: string
        platform:
          type: array
          items:
            type: string
        location:
          type: array
          items:
            type: string
        rating:
          type: array
          items:
            type: integer
        rating_min:
          type: number
          description: Scores of at least this.
        rating_max:
          type: number
          description: Scores of at most this (3 leaves out 3.5).
        tag:
          type: array
          items:
            type: string
        topic:
          type: array
          items:
            type: string
        subtopic:
          type: array
          items:
            type: string
        language:
          type: array
          items:
            type: string
        owner:
          type: array
          items:
            type: string
        has_reply:
          type: boolean
        removed:
          type: boolean
        product:
          type: array
          items:
            type: string
        keyword:
          type: array
          items:
            type: string
          description: Reviews with any of these words.
        country:
          type: string
          description: ISO 3166 code of a Google listing's country.
        team:
          type: array
          items:
            type: integer
          description: Team ids, as in the app.
        versions:
          type: string
          enum:
          - latest
          - all
          - edits
          - originals
          description: Which versions of edited reviews count (default latest).
        dimensions:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
    PageMeta:
      type: object
      required:
      - next_cursor
      - has_more
      properties:
        next_cursor:
          type:
          - string
          - 'null'
          description: Pass as cursor to get the next page. Null on the last page.
        has_more:
          type: boolean
    Report:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        visualization:
          type: string
        dimensions:
          type: array
          items:
            type: string
        metrics:
          type: array
          items:
            type: string
        filters:
          $ref: '#/components/schemas/ReportFilters'
        keywords:
          type: array
          items:
            type: string
        url:
          type: string
          description: The report in the app.
        used_in_flows:
          type: boolean
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
  responses:
    Problem:
      description: An error, as RFC 9457 problem details.
      content:
        application/problem+json:
          schema:
            $ref: '#/components/schemas/Problem'
    NoContent:
      description: Done. No body.
      headers:
        Reviewflowz-Version:
          $ref: '#/components/headers/ReviewflowzVersion'
        RateLimit:
          $ref: '#/components/headers/RateLimit'
        RateLimit-Policy:
          $ref: '#/components/headers/RateLimitPolicy'
  securitySchemes:
    apiKey:
      type: http
      scheme: bearer
      description: An account API key (`rfz_live_...`), created in the app.
    oauth:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://app.reviewflowz.com/oauth/authorize
          tokenUrl: https://app.reviewflowz.com/oauth/token
          refreshUrl: https://app.reviewflowz.com/oauth/token
          scopes:
            sources:read: See the review pages your account monitors
            sources:write: Add, refresh and remove the review pages your account monitors
            reviews:read: Read your reviews and ratings
            replies:read: Read your replies and reply agents
            replies:write: Reply to reviews and change your reply agents
            organize:read: See your tags, owners, locations and dimensions
            organize:write: Tag reviews and change owners, locations and dimensions
            analytics:read: Read your stats and reports
            analytics:write: Create and change your saved reports
            requests:read: See your contacts, campaigns and review requests
            requests:write: Change contacts and campaigns, and send review requests
            widgets:read: See your widgets and alerts
            widgets:write: Change your widgets and alerts
            webhooks:read: See your webhook endpoints and the events sent to them
            webhooks:write: Subscribe URLs to your events, and change or resend them