PodcastIndex · Capability

PodcastIndex.org API — Stats

PodcastIndex.org API — Stats. 1 operations. Lead operation: Current. Self-contained Naftiko capability covering one Podcastindex business surface.

Run with Naftiko PodcastindexStats

What You Can Do

GET
Statscurrent — Current
/v1/stats/current

MCP Tools

current

Current

read-only idempotent

Capability Spec

podcastindex-stats.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: PodcastIndex.org API — Stats
  description: 'PodcastIndex.org API — Stats. 1 operations. Lead operation: Current. Self-contained Naftiko capability covering
    one Podcastindex business surface.'
  tags:
  - Podcastindex
  - Stats
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    PODCASTINDEX_API_KEY: PODCASTINDEX_API_KEY
capability:
  consumes:
  - type: http
    namespace: podcastindex-stats
    baseUri: https://api.podcastindex.org/api/1.0
    description: PodcastIndex.org API — Stats business capability. Self-contained, no shared references.
    resources:
    - name: stats-current
      path: /stats/current
      operations:
      - name: statscurrent
        method: GET
        description: Current
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: apikey
      key: User-Agent
      value: '{{env.PODCASTINDEX_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: podcastindex-stats-rest
    port: 8080
    description: REST adapter for PodcastIndex.org API — Stats. One Spectral-compliant resource per consumed operation, prefixed
      with /v1.
    resources:
    - path: /v1/stats/current
      name: stats-current
      description: REST surface for stats-current.
      operations:
      - method: GET
        name: statscurrent
        description: Current
        call: podcastindex-stats.statscurrent
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: podcastindex-stats-mcp
    port: 9090
    transport: http
    description: MCP adapter for PodcastIndex.org API — Stats. One tool per consumed operation, routed inline through this
      capability's consumes block.
    tools:
    - name: current
      description: Current
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: podcastindex-stats.statscurrent
      outputParameters:
      - type: object
        mapping: $.