SEON · Capability

SEON API — IP

SEON API — IP. 1 operations. Lead operation: Lookup IP address intelligence. Self-contained Naftiko capability covering one Seon Docs business surface.

Run with Naftiko Seon DocsIP

What You Can Do

GET
Lookupip — Lookup IP address intelligence
/v1/seonrestservice/ip-api/v1/{ip}

MCP Tools

lookup-ip-address-intelligence

Lookup IP address intelligence

read-only idempotent

Capability Spec

seon-docs-ip.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: SEON API — IP
  description: 'SEON API — IP. 1 operations. Lead operation: Lookup IP address intelligence. Self-contained Naftiko capability
    covering one Seon Docs business surface.'
  tags:
  - Seon Docs
  - IP
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    SEON_DOCS_API_KEY: SEON_DOCS_API_KEY
capability:
  consumes:
  - type: http
    namespace: seon-docs-ip
    baseUri: https://api.seon.io
    description: SEON API — IP business capability. Self-contained, no shared references.
    resources:
    - name: SeonRestService-ip-api-v1-ip
      path: /SeonRestService/ip-api/v1/{ip}
      operations:
      - name: lookupip
        method: GET
        description: Lookup IP address intelligence
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: ip
          in: path
          type: string
          description: IPv4 or IPv6 address to evaluate.
          required: true
        - name: include
          in: query
          type: string
          description: Comma-separated list of additional fields (history, flags, id).
        - name: flags_timeframe_days
          in: query
          type: integer
          description: Timeframe in days used when evaluating flags.
    authentication:
      type: apikey
      key: X-API-KEY
      value: '{{env.SEON_DOCS_API_KEY}}'
      placement: header
  exposes:
  - type: rest
    namespace: seon-docs-ip-rest
    port: 8080
    description: REST adapter for SEON API — IP. One Spectral-compliant resource per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/seonrestservice/ip-api/v1/{ip}
      name: seonrestservice-ip-api-v1-ip
      description: REST surface for SeonRestService-ip-api-v1-ip.
      operations:
      - method: GET
        name: lookupip
        description: Lookup IP address intelligence
        call: seon-docs-ip.lookupip
        with:
          ip: rest.ip
          include: rest.include
          flags_timeframe_days: rest.flags_timeframe_days
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: seon-docs-ip-mcp
    port: 9090
    transport: http
    description: MCP adapter for SEON API — IP. One tool per consumed operation, routed inline through this capability's consumes
      block.
    tools:
    - name: lookup-ip-address-intelligence
      description: Lookup IP address intelligence
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: seon-docs-ip.lookupip
      with:
        ip: tools.ip
        include: tools.include
        flags_timeframe_days: tools.flags_timeframe_days
      outputParameters:
      - type: object
        mapping: $.