Polygon · Capability

Polygon Crypto REST API — Snapshots

Crypto — Snapshots. 1 operation. Lead operation: Get Snapshot For A Crypto Ticker. Self-contained Naftiko capability covering one Polygon business surface.

Run with Naftiko PolygonCryptoSnapshots

What You Can Do

GET
Getcryptosnapshotforticker — Get Snapshot For A Crypto Ticker
/v1/v2/snapshot/locale/global/markets/crypto/tickers/{ticker}

MCP Tools

get-snapshot-crypto-ticker

Get Snapshot For A Crypto Ticker

read-only idempotent

Capability Spec

crypto-snapshots.yaml Raw ↑
naftiko: "1.0.0-alpha2"

info:
  label: "Polygon Crypto REST API — Snapshots"
  description: >-
    Crypto — Snapshots. 1 operation. Lead operation: Get Snapshot For A Crypto Ticker.
    Self-contained Naftiko capability covering one Polygon business surface.
  tags:
    - Polygon
    - Crypto
    - Snapshots
  created: "2026-05-29"
  modified: "2026-05-29"

binds:
  - namespace: env
    keys:
      POLYGON_API_KEY: POLYGON_API_KEY

capability:

  consumes:
    - type: http
      namespace: "crypto-snapshots"
      baseUri: "https://api.polygon.io"
      description: "Polygon Crypto REST API — Snapshots business capability."
      authentication:
        type: bearer
        token: "{{env.POLYGON_API_KEY}}"
      resources:
        - name: "snapshot-locale-global-markets-crypto-tickers-ticker"
          path: "/v2/snapshot/locale/global/markets/crypto/tickers/{ticker}"
          operations:
            - name: "getCryptoSnapshotForTicker"
              method: GET
              description: "Get Snapshot For A Crypto Ticker"
              inputParameters:
                - name: "ticker"
                  in: path
                  type: string
                  required: true
              outputRawFormat: json
              outputParameters:
                - name: result
                  type: object
                  value: "$."

  exposes:
    - type: rest
      namespace: "crypto-snapshots-rest"
      port: 8080
      description: "REST adapter for Polygon Crypto REST API — Snapshots."
      resources:
        - path: "/v1/v2/snapshot/locale/global/markets/crypto/tickers/{ticker}"
          name: "snapshot-locale-global-markets-crypto-tickers-ticker"
          description: "REST surface for snapshot-locale-global-markets-crypto-tickers-ticker."
          operations:
            - method: GET
              name: "getCryptoSnapshotForTicker"
              description: "Get Snapshot For A Crypto Ticker"
              call: "crypto-snapshots.getCryptoSnapshotForTicker"
              with:
                ticker: "rest.ticker"
              outputParameters:
                - type: object
                  mapping: "$."

    - type: mcp
      namespace: "crypto-snapshots-mcp"
      port: 9090
      transport: http
      description: "MCP adapter for Polygon Crypto REST API — Snapshots."
      tools:
        - name: "get-snapshot-crypto-ticker"
          description: "Get Snapshot For A Crypto Ticker"
          hints:
            readOnly: true
            destructive: false
            idempotent: true
          call: "crypto-snapshots.getCryptoSnapshotForTicker"
          with:
            ticker: "tools.ticker"
          outputParameters:
            - type: object
              mapping: "$."