TEGNA · Capability

TEGNA AudienceOne API — Markets

TEGNA AudienceOne API — Markets. 1 operations. Lead operation: List Markets. Self-contained Naftiko capability covering one Tegna business surface.

Run with Naftiko TegnaMarkets

What You Can Do

GET
Listmarkets — List Markets
/v1/markets

MCP Tools

list-markets

List Markets

read-only idempotent

Capability Spec

audience-one-markets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: TEGNA AudienceOne API — Markets
  description: 'TEGNA AudienceOne API — Markets. 1 operations. Lead operation: List Markets. Self-contained Naftiko capability
    covering one Tegna business surface.'
  tags:
  - Tegna
  - Markets
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    TEGNA_API_KEY: TEGNA_API_KEY
capability:
  consumes:
  - type: http
    namespace: audience-one-markets
    baseUri: https://api.tegna.com/v1
    description: TEGNA AudienceOne API — Markets business capability. Self-contained, no shared references.
    resources:
    - name: markets
      path: /markets
      operations:
      - name: listmarkets
        method: GET
        description: List Markets
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.TEGNA_API_KEY}}'
  exposes:
  - type: rest
    namespace: audience-one-markets-rest
    port: 8080
    description: REST adapter for TEGNA AudienceOne API — Markets. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/markets
      name: markets
      description: REST surface for markets.
      operations:
      - method: GET
        name: listmarkets
        description: List Markets
        call: audience-one-markets.listmarkets
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: audience-one-markets-mcp
    port: 9090
    transport: http
    description: MCP adapter for TEGNA AudienceOne API — Markets. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: list-markets
      description: List Markets
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: audience-one-markets.listmarkets
      outputParameters:
      - type: object
        mapping: $.