FactIQ GWR Dashboard API

The GWR Dashboard API from FactIQ — 5 operation(s) for gwr dashboard.

GitHub OpenAPI

Operations 5

GET /dashboards/gwr/phrases Get Phrases #
GET /dashboards/gwr/targets Get Targets #
GET /dashboards/gwr/coverage Get Coverage #
GET /dashboards/gwr/realised Get Realised Vs Target #
GET /dashboards/gwr/passages/{passage_id} Get Passage #

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/factiq-com:factiq-com-gwr-dashboard-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

factiq-com-gwr-dashboard-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: FactIQ GWR Dashboard API
  description: Programmatic access to curated economic time series data sourced from the BLS, Census, BEA, and OEWS pipelines. Endpoints cover direct series lookups, authentication, and MCP-based data tools for analysis.
  contact:
    name: FactIQ
    url: https://www.factiq.com/contact
  version: 1.0.0
tags:
- name: GWR Dashboard
paths:
  /dashboards/gwr/phrases:
    get:
      tags:
      - GWR Dashboard
      summary: Get Phrases
      description: 'Return all tracked-phrase time series for the dashboard.


        Each phrase contributes one entry combining the `*-count` and `*-norm-freq`

        series, with per-year values, plus the curator metadata (chinese_term,

        english_variants, discovery_metric_origin, first_appearance_year, peak_year,

        peak_count, total_count, notes) carried as `dimensions`.'
      operationId: get_phrases_dashboards_gwr_phrases_get
      parameters:
      - name: schema
        in: query
        required: false
        schema:
          type: string
          description: Schema to query (china_gwr)
          default: china_gwr
          title: Schema
        description: Schema to query (china_gwr)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Phrases Dashboards Gwr Phrases Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /dashboards/gwr/targets:
    get:
      tags:
      - GWR Dashboard
      summary: Get Targets
      description: 'Return the quantitative target trajectories with per-year modifier/regime

        metadata. The non-numeric details (modifier, target_regime,

        is_explicitly_absent, unit, source_passage_id, source_quote) are stored as

        per-year dimensions of the form `{YYYY}__{type}` — so we pivot them back

        onto each year''s data point.'
      operationId: get_targets_dashboards_gwr_targets_get
      parameters:
      - name: schema
        in: query
        required: false
        schema:
          type: string
          default: china_gwr
          title: Schema
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Targets Dashboards Gwr Targets Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /dashboards/gwr/coverage:
    get:
      tags:
      - GWR Dashboard
      summary: Get Coverage
      description: 'Per-year ingestion coverage: provenance, source URL, word count, premier.


        Reads `{schema}.documents` (the canonical source-of-truth populated by

        `passages_to_postgres.py`). One row per year that has been successfully

        ingested. Years with no row are silently absent — the dashboard infers

        "missing" from the gap.'
      operationId: get_coverage_dashboards_gwr_coverage_get
      parameters:
      - name: schema
        in: query
        required: false
        schema:
          type: string
          default: china_gwr
          title: Schema
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Coverage Dashboards Gwr Coverage Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /dashboards/gwr/realised:
    get:
      tags:
      - GWR Dashboard
      summary: Get Realised Vs Target
      description: 'Pair a GWR target series with its NBS realised counterpart, year by year.


        READ-ONLY against the NBS `china` schema — does not write or alter any

        NBS objects. The mapping (target → realised series + transform) is

        defined in `REALISED_SOURCES` above.'
      operationId: get_realised_vs_target_dashboards_gwr_realised_get
      parameters:
      - name: target_id
        in: query
        required: true
        schema:
          type: string
          description: GWR target series_id, e.g. gwr-target-gdp-growth
          title: Target Id
        description: GWR target series_id, e.g. gwr-target-gdp-growth
      - name: schema
        in: query
        required: false
        schema:
          type: string
          description: GWR schema (china_gwr)
          default: china_gwr
          title: Schema
        description: GWR schema (china_gwr)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Realised Vs Target Dashboards Gwr Realised Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /dashboards/gwr/passages/{passage_id}:
    get:
      tags:
      - GWR Dashboard
      summary: Get Passage
      description: 'Drill-down: return a single passage''s text + its document metadata.'
      operationId: get_passage_dashboards_gwr_passages__passage_id__get
      parameters:
      - name: passage_id
        in: path
        required: true
        schema:
          type: string
          description: Passage id, e.g. gwr-2024-p0096
          title: Passage Id
        description: Passage id, e.g. gwr-2024-p0096
      - name: schema
        in: query
        required: false
        schema:
          type: string
          default: china_gwr
          title: Schema
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Passage Dashboards Gwr Passages  Passage Id  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer