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

# GDP sparklines

> GDP sparklines for a set of countries.



## OpenAPI

````yaml /openapi.json get /api/v1/countries/gdp-sparklines
openapi: 3.1.0
info:
  title: Prometheus API
  version: 1.0.0
  description: >-
    Audit-grade financial data: SEC 10-K/10-Q/8-K filings parsed from XBRL into
    standardized statements where every number links back to its source fact;
    earnings-call transcripts turned into verified observations and guidance
    scorecards; a bitemporal (point-in-time) macro cube; benchmark, commodity
    and compute-price series; and a validated causal claim graph.


    Tiers: `public` endpoints need no credentials. Everything else takes an
    **API key** — create one on the Developers page in the terminal
    (https://www.prometheus.services/developers) and send it as `X-API-KEY:
    pk_live_...` (or `Authorization: Bearer pk_live_...`). Signed-in terminal
    sessions may use their Cognito ID token instead.


    Rate limits and quotas are per plan (fixed UTC windows): Free — 30 req/min,
    250 req/day; Build ($200/mo) — 300 req/min, 100,000 req/month; Scale —
    custom. Responses carry RateLimit-* and X-Quota-* headers; a 429 carries
    `Retry-After` and a machine `code` of rate_limited or quota_exceeded.


    Not investment advice. See /terms.
  contact:
    email: sales@prometheus.finance
  termsOfService: https://www.prometheus.services/terms
servers:
  - url: https://www.prometheus.services
security: []
tags:
  - name: Search & Meta
    description: Entity resolution and platform metadata.
  - name: Company Data
    description: Profiles, structure, leadership, calendars.
  - name: Financial Statements
    description: >-
      Standardized XBRL-derived statements — every line traceable to its filing
      via fact provenance.
  - name: SEC Filings
    description: The filing index and parsed section text.
  - name: 8-K Events
    description: Material events, typed by family, with extracted item text.
  - name: Transcripts & Calls
    description: Earnings-call transcripts, span-anchored observations, IR decks.
  - name: Guidance & Scorecards
    description: What management promised vs. what happened.
  - name: Ownership & Insiders
    description: 13F holders, Forms 3/4/5, the people registry.
  - name: Macro
    description: Point-in-time economic series and central-bank text.
  - name: Market Data
    description: Daily bars for stocks, benchmarks, commodities and compute.
  - name: Intelligence
    description: Narratives, the validated claim graph, scenario simulation.
  - name: Analytics
    description: Correlation and charting over any catalog series.
paths:
  /api/v1/countries/gdp-sparklines:
    get:
      tags:
        - Macro
      summary: GDP sparklines
      description: GDP sparklines for a set of countries.
      operationId: get-gdp-sparklines
      parameters:
        - name: codes
          in: query
          description: Comma-separated ISO codes, e.g. US,GB,JP.
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
        '400':
          description: Invalid parameter.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or invalid bearer token.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Unknown company, country, symbol or resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited. Honour Retry-After.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - apiKey: []
        - cognitoIdToken: []
components:
  schemas:
    Error:
      type: object
      required:
        - error
      properties:
        error:
          type: string
          description: Human-readable message.
        code:
          type: string
          description: >-
            Stable machine code when present: unauthenticated, upgrade_required,
            rate_limited, quota_exceeded.
          enum:
            - unauthenticated
            - upgrade_required
            - rate_limited
            - quota_exceeded
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: X-API-KEY
      description: >-
        Prometheus API key (pk_live_...), created on the Developers page in the
        terminal. Also accepted as `Authorization: Bearer pk_live_...`.
      x-default: pk_live_YOUR_KEY
    cognitoIdToken:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Amazon Cognito ID token (token_use=id) for the Prometheus user pool —
        the terminal's own session credential. API consumers should use an API
        key instead.

````