The New York Times · Capability

The New York Times Semantic API — Name

The New York Times Semantic API — Name. 1 operations. Lead operation: Name. Self-contained Naftiko capability covering one The New York Times business surface.

Run with Naftiko The New York TimesName

What You Can Do

GET
Get — get
/v1/name/{concept-type}/specific-concept-json

MCP Tools

get

get

read-only idempotent

Capability Spec

new-york-times-semantic-name.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: The New York Times Semantic API — Name
  description: 'The New York Times Semantic API — Name. 1 operations. Lead operation: Name. Self-contained Naftiko capability
    covering one The New York Times business surface.'
  tags:
  - The New York Times
  - Name
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    THE_NEW_YORK_TIMES_API_KEY: THE_NEW_YORK_TIMES_API_KEY
capability:
  consumes:
  - type: http
    namespace: new-york-times-semantic-name
    baseUri: http://api.nytimes.com/svc/semantic/v2/concept
    description: The New York Times Semantic API — Name business capability. Self-contained, no shared references.
    resources:
    - name: name-concept-type-specific-concept}.json
      path: /name/{concept-type}/{specific-concept}.json
      operations:
      - name: get
        method: GET
        description: ''
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: concept-type
          in: path
          type: string
          description: 'The type of the concept, used for Constructing a Semantic API Request by Concept Type and Specific
            Concept Name. The parameter is defined as a name-value pair, '
          required: true
        - name: specific-concept
          in: path
          type: string
          description: The name of the concept, used for Constructing a Semantic API Request by Concept Type and Specific
            Concept Name. The parameter is defined in the URI path, as th
          required: true
        - name: fields
          in: query
          type: string
          description: '"all" or comma-separated list of specific optional fields: pages, ticker_symbol, links, taxonomy,
            combinations, geocodes, article_list, scope_notes, search_api_'
        - name: query
          in: query
          type: string
          description: Precedes the search term string. Used in a Search Query. Except for <specific_concept_name>,
            Search Query will take the required parameters listed above (
          required: true
    authentication:
      type: apikey
      key: api-key
      value: '{{env.THE_NEW_YORK_TIMES_API_KEY}}'
      placement: query
  exposes:
  - type: rest
    namespace: new-york-times-semantic-name-rest
    port: 8080
    description: REST adapter for The New York Times Semantic API — Name. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/name/{concept-type}/specific-concept-json
      name: name-concept-type-specific-concept-json
      description: REST surface for name-concept-type-specific-concept}.json.
      operations:
      - method: GET
        name: get
        description: get
        call: new-york-times-semantic-name.get
        with:
          concept-type: rest.concept-type
          specific-concept: rest.specific-concept
          fields: rest.fields
          query: rest.query
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: new-york-times-semantic-name-mcp
    port: 9090
    transport: http
    description: MCP adapter for The New York Times Semantic API — Name. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: get
      description: get
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: new-york-times-semantic-name.get
      with:
        concept-type: tools.concept-type
        specific-concept: tools.specific-concept
        fields: tools.fields
        query: tools.query
      outputParameters:
      - type: object
        mapping: $.