Demandbase · Capability

Demandbase IP API — IP Identification

Demandbase IP API — IP Identification. 2 operations. Lead operation: Demandbase Identify company by IP address. Self-contained Naftiko capability covering one Demandbase business surface.

Run with Naftiko DemandbaseIP Identification

What You Can Do

GET
Identifycompanybyip — Demandbase Identify company by IP address
/v1/api/v3/ip-json
GET
Identifycompanybyippath — Demandbase Identify company by IP address (path)
/v1/api/v3/ip-json/{ip}

MCP Tools

demandbase-identify-company-ip-address

Demandbase Identify company by IP address

read-only idempotent
demandbase-identify-company-ip-address-2

Demandbase Identify company by IP address (path)

read-only idempotent

Capability Spec

ip-ip-identification.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Demandbase IP API — IP Identification
  description: 'Demandbase IP API — IP Identification. 2 operations. Lead operation: Demandbase Identify company by IP address.
    Self-contained Naftiko capability covering one Demandbase business surface.'
  tags:
  - Demandbase
  - IP Identification
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    DEMANDBASE_API_KEY: DEMANDBASE_API_KEY
capability:
  consumes:
  - type: http
    namespace: ip-ip-identification
    baseUri: https://api.demandbase.com
    description: Demandbase IP API — IP Identification business capability. Self-contained, no shared references.
    resources:
    - name: api-v3-ip.json
      path: /api/v3/ip.json
      operations:
      - name: identifycompanybyip
        method: GET
        description: Demandbase Identify company by IP address
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: key
          in: query
          type: string
          description: Demandbase API key
          required: true
        - name: query
          in: query
          type: string
          description: IPv4 address to look up
          required: true
        - name: callback
          in: query
          type: string
          description: JSONP callback function name for cross-domain requests
        - name: var
          in: query
          type: string
          description: Variable name for JSONP response assignment
    - name: api-v3-ip.json-ip
      path: /api/v3/ip.json/{ip}
      operations:
      - name: identifycompanybyippath
        method: GET
        description: Demandbase Identify company by IP address (path)
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ip
          in: path
          type: string
          description: IPv4 address to look up
          required: true
        - name: key
          in: query
          type: string
          description: Demandbase API key
          required: true
    authentication:
      type: apikey
      key: key
      value: '{{env.DEMANDBASE_API_KEY}}'
      placement: query
  exposes:
  - type: rest
    namespace: ip-ip-identification-rest
    port: 8080
    description: REST adapter for Demandbase IP API — IP Identification. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/api/v3/ip-json
      name: api-v3-ip-json
      description: REST surface for api-v3-ip.json.
      operations:
      - method: GET
        name: identifycompanybyip
        description: Demandbase Identify company by IP address
        call: ip-ip-identification.identifycompanybyip
        with:
          key: rest.key
          query: rest.query
          callback: rest.callback
          var: rest.var
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v3/ip-json/{ip}
      name: api-v3-ip-json-ip
      description: REST surface for api-v3-ip.json-ip.
      operations:
      - method: GET
        name: identifycompanybyippath
        description: Demandbase Identify company by IP address (path)
        call: ip-ip-identification.identifycompanybyippath
        with:
          ip: rest.ip
          key: rest.key
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: ip-ip-identification-mcp
    port: 9090
    transport: http
    description: MCP adapter for Demandbase IP API — IP Identification. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: demandbase-identify-company-ip-address
      description: Demandbase Identify company by IP address
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: ip-ip-identification.identifycompanybyip
      with:
        key: tools.key
        query: tools.query
        callback: tools.callback
        var: tools.var
      outputParameters:
      - type: object
        mapping: $.
    - name: demandbase-identify-company-ip-address-2
      description: Demandbase Identify company by IP address (path)
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: ip-ip-identification.identifycompanybyippath
      with:
        ip: tools.ip
        key: tools.key
      outputParameters:
      - type: object
        mapping: $.