GreyNoise Intelligence · Arazzo Workflow

GreyNoise GNQL Investigate Top Result

Version 1.0.0

Run a GNQL query, then pull full context for the first matching IP.

1 workflow 2 source APIs 1 provider
View Spec View on GitHub SecurityThreat IntelligenceCybersecurityIP ReputationVulnerability ManagementNetwork TelemetrySOC AutomationPublic APIsArazzoWorkflows

Provider

greynoise

Workflows

gnql-investigate-top-result
GNQL search then deep-context the first matching IP.
Executes a GNQL query, checks that results exist, and fetches the full IP context for the first result so the top hit can be investigated in detail.
2 steps inputs: apiKey, query, size outputs: actor, classification, count, firstIp
1
runQuery
Execute the GNQL query against the GreyNoise dataset and return matching IP records along with request metadata.
2
contextFirst
Retrieve the full IP context for the first IP returned by the GNQL query, including metadata, associated actor, activity tags, and raw scan data.

Source API Descriptions

Arazzo Workflow Specification

Raw ↑
arazzo: 1.0.1
info:
  title: GreyNoise GNQL Investigate Top Result
  summary: Run a GNQL query, then pull full context for the first matching IP.
  description: >-
    Runs a GreyNoise Query Language (GNQL) search across the GreyNoise dataset,
    confirms at least one result was returned, and then retrieves the full IP
    context for the first matching IP address. This chains a broad hunt into a
    focused, single-IP investigation. Every step spells out its request inline
    so the flow can be read and executed without opening the underlying OpenAPI
    description.
  version: 1.0.0
sourceDescriptions:
- name: gnqlApi
  url: ../openapi/greynoise-gnql-api-openapi.yml
  type: openapi
- name: ipLookupApi
  url: ../openapi/greynoise-ip-lookup-api-openapi.yml
  type: openapi
workflows:
- workflowId: gnql-investigate-top-result
  summary: GNQL search then deep-context the first matching IP.
  description: >-
    Executes a GNQL query, checks that results exist, and fetches the full IP
    context for the first result so the top hit can be investigated in detail.
  inputs:
    type: object
    required:
    - apiKey
    - query
    properties:
      apiKey:
        type: string
        description: GreyNoise API key passed via the 'key' HTTP header.
      query:
        type: string
        description: The GNQL query string (e.g. tags:Mirai classification:malicious).
      size:
        type: integer
        description: Number of results per page to return from the query.
        default: 10
  steps:
  - stepId: runQuery
    description: >-
      Execute the GNQL query against the GreyNoise dataset and return matching
      IP records along with request metadata.
    operationId: gnqlV3Query
    parameters:
    - name: key
      in: header
      value: $inputs.apiKey
    - name: query
      in: query
      value: $inputs.query
    - name: size
      in: query
      value: $inputs.size
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      count: $response.body#/request_metadata/count
      firstIp: $response.body#/data/0/ip
    onSuccess:
    - name: haveResults
      type: goto
      stepId: contextFirst
      criteria:
      - context: $response.body
        condition: $.data.length > 0
        type: jsonpath
    - name: noResults
      type: end
      criteria:
      - context: $response.body
        condition: $.data.length == 0
        type: jsonpath
  - stepId: contextFirst
    description: >-
      Retrieve the full IP context for the first IP returned by the GNQL query,
      including metadata, associated actor, activity tags, and raw scan data.
    operationId: V3IP
    parameters:
    - name: key
      in: header
      value: $inputs.apiKey
    - name: ip
      in: path
      value: $steps.runQuery.outputs.firstIp
    - name: quick
      in: query
      value: false
    successCriteria:
    - condition: $statusCode == 200
    outputs:
      ip: $response.body#/ip
      classification: $response.body#/internet_scanner_intelligence/classification
      actor: $response.body#/internet_scanner_intelligence/actor
  outputs:
    count: $steps.runQuery.outputs.count
    firstIp: $steps.runQuery.outputs.firstIp
    classification: $steps.contextFirst.outputs.classification
    actor: $steps.contextFirst.outputs.actor

Work with this as data

Every workflow here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for arazzo workflows

4 MCP tools reach this
  • find_arazzoBrowse and filter every workflow in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This workflow
curl "https://apis.io/api/v1/arazzo/greynoise-gnql-investigate-top-result-workflow"
All arazzo workflows
curl "https://apis.io/api/v1/arazzo?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.