Data Commons · Capability

Data Commons REST API V2 — Resolve

Data Commons REST API V2 — Resolve. 2 operations. Lead operation: Resolve entities to Data Commons IDs. Self-contained Naftiko capability covering one Data Commons business surface.

Run with Naftiko Data CommonsResolve

What You Can Do

GET
Get — Resolve entities to Data Commons IDs
/v1/resolve
POST
Post — Resolve entities to Data Commons IDs
/v1/resolve

MCP Tools

resolve-entities-data-commons-ids

Resolve entities to Data Commons IDs

read-only idempotent
resolve-entities-data-commons-ids-2

Resolve entities to Data Commons IDs

Capability Spec

data-commons-resolve.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Data Commons REST API V2 — Resolve
  description: 'Data Commons REST API V2 — Resolve. 2 operations. Lead operation: Resolve entities to Data Commons IDs. Self-contained
    Naftiko capability covering one Data Commons business surface.'
  tags:
  - Data Commons
  - Resolve
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DATA_COMMONS_API_KEY: DATA_COMMONS_API_KEY
capability:
  consumes:
  - type: http
    namespace: data-commons-resolve
    baseUri: https://api.datacommons.org/v2
    description: Data Commons REST API V2 — Resolve business capability. Self-contained, no shared references.
    resources:
    - name: resolve
      path: /resolve
      operations:
      - name: get
        method: GET
        description: Resolve entities to Data Commons IDs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: nodes
          in: query
          type: array
        - name: property
          in: query
          type: string
      - name: post
        method: POST
        description: Resolve entities to Data Commons IDs
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    authentication:
      type: apikey
      key: X-API-Key
      value: '{{env.DATA_COMMONS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: data-commons-resolve-rest
    port: 8080
    description: REST adapter for Data Commons REST API V2 — Resolve. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/resolve
      name: resolve
      description: REST surface for resolve.
      operations:
      - method: GET
        name: get
        description: Resolve entities to Data Commons IDs
        call: data-commons-resolve.get
        with:
          nodes: rest.nodes
          property: rest.property
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: post
        description: Resolve entities to Data Commons IDs
        call: data-commons-resolve.post
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: data-commons-resolve-mcp
    port: 9090
    transport: http
    description: MCP adapter for Data Commons REST API V2 — Resolve. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: resolve-entities-data-commons-ids
      description: Resolve entities to Data Commons IDs
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: data-commons-resolve.get
      with:
        nodes: tools.nodes
        property: tools.property
      outputParameters:
      - type: object
        mapping: $.
    - name: resolve-entities-data-commons-ids-2
      description: Resolve entities to Data Commons IDs
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: data-commons-resolve.post
      with:
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.