> ## Documentation Index
> Fetch the complete documentation index at: https://docs.macrobymark.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Indicator Detail

> Get metadata and latest observations for a specific indicator.



## OpenAPI

````yaml GET /api/indicators/{slug}
openapi: 3.1.0
info:
  title: Macro by Mark API
  version: 1.0.0
  description: |
    Public and authenticated API for the Macro by Mark macroeconomics platform.
    Covers indicator data, forecasting, discovery catalog, labs, account
    management, alerts, and administrative endpoints.
  contact:
    name: Mark Jayson Farol
    email: farolmarkjayson1313@gmail.com
  license:
    name: Proprietary
servers:
  - url: https://macrobymark.com
    description: Production
security: []
tags:
  - name: Health
    description: Platform health checks
  - name: Indicators
    description: Curated indicator library and per-series data
  - name: Discovery
    description: Discovery catalog search and series detail
  - name: Forecasting
    description: Time-series forecasting engine
  - name: Labs
    description: Econometric testing tools (stationarity, diagnostics)
  - name: Providers
    description: Passthrough data provider proxies (FRED, BEA, BLS, etc.)
  - name: News & Calendar
    description: Economic news feed and release calendar
  - name: Account
    description: User account, profile, preferences, workspace
  - name: Billing
    description: Stripe-backed subscription billing
  - name: Alerts
    description: Watchlist alert delivery
  - name: Admin
    description: Administrative and cron endpoints (requires CRON_SECRET)
  - name: Chat
    description: AI chat assistant
  - name: Import
    description: Indicator import pipeline
paths:
  /api/indicators/{slug}:
    get:
      tags:
        - Indicators
      summary: Full indicator detail with observations and metadata
      operationId: getIndicator
      parameters:
        - name: slug
          in: path
          required: true
          schema:
            type: string
          description: Indicator slug (e.g. "us-gdp", "us-cpi")
        - name: country
          in: query
          schema:
            type: string
          description: Country code for multi-country indicators
      responses:
        '200':
          description: Indicator detail
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IndicatorDetailResponse'
        '404':
          description: Indicator not found
components:
  schemas:
    IndicatorDetailResponse:
      type: object
      properties:
        metadata:
          type: object
          description: Full indicator metadata (name, source, frequency, unit, etc.)
        observations:
          type: array
          items:
            $ref: '#/components/schemas/Observation'
        guardrails:
          type: object
          description: Data quality guardrails and warnings
        release:
          type: object
          description: Release schedule and next expected date
        relatedIndicators:
          type: array
          description: Related indicator slugs
        previewQuality:
          type: object
        standardization:
          type: object
        countryAvailability:
          type: object
    Observation:
      type: object
      required:
        - date
        - value
      properties:
        date:
          type: string
          format: date
          description: ISO 8601 date
        value:
          type: number
          nullable: true
        revised:
          type: boolean

````