GreyNoise Intelligence Sessions API

Endpoints for querying, analyzing, and exporting raw network session (PCAP) data captured by GreyNoise sensors. Use the `scope` parameter to control data access (workspace or demo). Required entitlements vary by scope.

GitHub OpenAPI
Business capability
Threat Detection & Response Management BC-620.30

Operations 10

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /v3/sessions List network sessions over a time range · Get Sessions #
Ask an LLM
“Which IP addresses connected to my network between two dates?”
“Can I filter sessions by a Lucene query and page through the results?”
Tell an agent
List sessions from {start_time} to {end_time}.
Show sessions matching {query} between {start_time} and {end_time}.
GET /v3/sessions/connections Show source-to-destination connections · Get Session Connections #
Ask an LLM
“Which source IPs talk to which destination IPs in a time window?”
“Can I limit the connection graph to only the most connected nodes?”
Tell an agent
Show connections from {src_field} to {dest_field} between {start_time} and {end_time}.
Build a connection graph for {query} from {start_time} to {end_time}, keeping only nodes with at least {min_connections} connections.
GET /v3/sessions/counts Count sessions grouped by fields · Get Session Counts #
Ask an LLM
“How many sessions happened each day in a time range?”
“Can I break down session counts by IP address or port?”
Tell an agent
Count sessions between {start_time} and {end_time} grouped by {fields}.
Show {size} top {fields} session counts from {start_time} to {end_time}.
GET /v3/sessions/export Export PCAP for sessions · Export PCAP for Multiple Sessions #
Ask an LLM
“Can I download a PCAP file of network sessions for a time range?”
“Is PCAP export available when using the demo scope?”
Tell an agent
Export a PCAP of sessions between {start_time} and {end_time}.
Export PCAP for {query} sessions from {start_time} to {end_time}, at most {size} sessions.
GET /v3/sessions/fields List session fields available for queries · Get Session Fields #
Ask an LLM
“What fields can I query or aggregate on for sessions?”
“Which session fields are available in my workspace?”
Tell an agent
List the session fields available for querying.
Show every field I can use in a session query.
GET /v3/sessions/timeseries Get session volume over time · Get Session Timeseries #
Ask an LLM
“How has session volume changed day by day?”
“Can I see traffic trends grouped by a field?”
Tell an agent
Get a session timeseries from {start_time} to {end_time}.
Show {interval} session counts between {start_time} and {end_time} grouped by {field}.
GET /v3/sessions/unique Extract unique field values · Get Unique Field Values #
Ask an LLM
“What unique IP addresses or ports appear in sessions?”
“Can I get unique values with their counts for a field?”
Tell an agent
Get the unique {field} values between {start_time} and {end_time}.
Export unique {field} values matching {query} between {start_time} and {end_time}, including counts.
GET /v3/sessions/{session_id} Get one session by ID · Get Session by ID #
Ask an LLM
“What full details are stored for a single session?”
“Can I look up a session by its ID?”
Tell an agent
Get session {session_id}.
Show the full metadata for session {session_id}.
GET /v3/sessions/{session_id}/export Export a session's data as PCAP or raw · Export Session Data #
Ask an LLM
“Can I download the raw packets of one session?”
“What export formats are available for a single session?”
Tell an agent
Export session {session_id} as {type}.
Download the raw payload of session {session_id}.
GET /v3/sessions/{session_id}/frames Get raw PCAP bytes for a session · Get Session PCAP #
Ask an LLM
“Can I get the raw packet bytes for a session?”
“Is there a binary PCAP of one session?”
Tell an agent
Get the raw PCAP bytes for session {session_id}.
Download session {session_id} as a PCAP file.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/greynoise:greynoise-sessions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

greynoise-sessions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: GreyNoise Sessions API
  version: 3.0.0
  description: GreyNoise is a cybersecurity company that collects and analyzes Internet-wide scan and attack traffic. Use GreyNoise to contextualize existing alerts, filter false-positives, identify compromised devices, and track emerging threats.
  contact:
    email: hello@greynoise.io
  license:
    name: Proprietary
    url: https://www.greynoise.io/terms
servers:
- url: https://api.greynoise.io
  description: Production
security:
- APIKeyHeaderAuth: []
tags:


# --- truncated at 32 KB (34 KB total) ---
# Full source: https://artifacts.apis.io/greynoise/openapi/greynoise-sessions-api-openapi.yml