# GreyNoise API reference

> The GreyNoise v3 API tells you what GreyNoise has seen an IP address do on the internet: whether it is a mass scanner, how it is classified (benign, malicious, unknown), tags, CVEs, and whether it belongs to a known business service. The GNQL endpoint searches that data with a query. Send your API…

Source: https://osinttools.io/apis/greynoise/ (Markdown view of an OSINTtools.io page; append `.md` to any page URL for this format).

Compiled by OSINTtools.io editors from the vendor's docs, updated Nov 29, 2026. Listing: https://osinttools.io/tools/greynoise/

- Base URL: https://api.greynoise.io
- Authentication: API key in the `key` header.
- Rate limits: Not stated in the docs
- Vendor docs: https://docs.greynoise.io

## Overview

The GreyNoise v3 API tells you what GreyNoise has seen an IP address do on the internet: whether it is a mass scanner, how it is classified (benign, malicious, unknown), tags, CVEs, and whether it belongs to a known business service. The GNQL endpoint searches that data with a query.

Send your API key in the `key` header to `https://api.greynoise.io`. What comes back depends on your plan: plan limits can return 206 with a subset of fields, and `request_metadata.restricted_fields` names the withheld ones. Business service data needs the BSI module.

The docs list many more endpoint groups (tags, CVEs, sessions, blocklists, feeds); only IP lookup, GNQL query and ping are covered here. Numeric rate limits are not stated on these pages.

## Errors

| Status | Meaning |
| --- | --- |
| 400 | Invalid syntax or parameters |
| 401 | Unauthorized; check the API key |
| 403 | Invalid API key or plan limitation |
| 429 | Rate limit exceeded |

## IP lookup

### Everything GreyNoise knows about one IP address.

`GET /v3/ip/{ip}`

- Takes: IP address
- Footprint: passive (the target is not contacted)

Returns internet scanner intelligence and business service intelligence for the IP. quick=true returns only the IP, classification and trust level. 206 means plan limits returned a subset.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `ip` | path | string | yes | IP address to query Example: 203.0.113.7 |
| `quick` | query | boolean | no | Return only the IP, classification and trust level Example: true |
| `workspace_labels` | query | string | no | Comma-separated dataset scopes: greynoise, community, personal. Needs the Community Dataset entitlement, else 403. Example: greynoise |

Response fields:

- `ip` (string): The address looked up
- `internet_scanner_intelligence.found` (boolean): Whether GreyNoise has seen the IP
- `internet_scanner_intelligence.classification` (string): benign, malicious or unknown
- `internet_scanner_intelligence.first_seen` (string): First seen date
- `internet_scanner_intelligence.last_seen` (string): Last seen date
- `internet_scanner_intelligence.actor` (string): Actor name, if known
- `internet_scanner_intelligence.tor` (boolean): Tor exit node
- `internet_scanner_intelligence.vpn` (boolean): VPN address
- `internet_scanner_intelligence.cves[]` (string): CVEs the IP was seen using
- `internet_scanner_intelligence.tags[]` (object): Tags describing behaviour
- `internet_scanner_intelligence.metadata.asn` (string): Autonomous system number
- `internet_scanner_intelligence.metadata.organization` (string): Network organization
- `internet_scanner_intelligence.metadata.source_country` (string): Source country
- `business_service_intelligence.found` (boolean): Whether the IP is a known business service
- `business_service_intelligence.name` (string): Service name
- `business_service_intelligence.trust_level` (string): Trust level
- `request_metadata.restricted_fields[]` (string): Fields withheld by plan limits

```bash
curl 'https://api.greynoise.io/v3/ip/203.0.113.7' \
  -H 'key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "ip": "203.0.113.7",
  "business_service_intelligence": {
    "found": false
  },
  "internet_scanner_intelligence": {
    "found": true,
    "classification": "malicious",
    "first_seen": "2024-01-01",
    "last_seen": "2024-06-01",
    "tor": false,
    "vpn": false,
    "cves": [
      "CVE-2024-0001"
    ],
    "metadata": {
      "asn": "AS64500",
      "organization": "Example Networks",
      "source_country": "Exampleland"
    }
  }
}
```

## GNQL

### Search GreyNoise data with a GNQL query.

`GET /v3/gnql`

- Takes: IP address
- Footprint: passive (the target is not contacted)

Returns matching IPs with the same intelligence objects as IP lookup, 10000 per page at most. Use scroll for the next page. Business service fields need the BSI module.

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `query` | query | string | yes | GNQL query string Example: last_seen:1d classification:malicious |
| `size` | query | integer | no | Results per page, 1 to 10000 Example: 100 |
| `scroll` | query | string | no | Pagination token from a previous response; not usable with format=csv Example: YOUR_SCROLL_TOKEN |
| `quick` | query | boolean | no | Return only IP and classification or trust level Example: false |
| `format` | query | string | no | json or csv Example: json One of: json, csv |
| `exclude` | query | string | no | Comma-separated fields to omit; unknown names return 400 Example: raw_data.ja3 |

Response fields:

- `request_metadata.complete` (boolean): False means another page exists
- `request_metadata.scroll` (string): Token for the next page
- `request_metadata.query` (string): The submitted query
- `request_metadata.adjusted_query` (string): Query after GreyNoise adjusted it
- `request_metadata.count` (integer): Total matching results
- `request_metadata.restricted_fields[]` (string): Fields withheld by plan limits
- `data[].ip` (string): Matching IP
- `data[].internet_scanner_intelligence.classification` (string): benign, malicious or unknown
- `data[].business_service_intelligence.trust_level` (string): 1, 2 or 3

```bash
curl 'https://api.greynoise.io/v3/gnql?query=last_seen%3A1d%20classification%3Amalicious' \
  -H 'key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "request_metadata": {
    "complete": true,
    "scroll": "",
    "query": "last_seen:1d classification:malicious",
    "count": 1,
    "restricted_fields": []
  },
  "data": [
    {
      "ip": "203.0.113.7",
      "internet_scanner_intelligence": {
        "found": true,
        "classification": "malicious"
      },
      "business_service_intelligence": {
        "found": false
      }
    }
  ]
}
```

## Account

### Check the API key and see the plan behind it.

`GET /ping`

- Footprint: passive (the target is not contacted)

Returns pong with the key's expiration, plan, active modules and the client IP. A 401 means the key is invalid.

Response fields:

- `message` (string): pong
- `expiration` (string): API key expiration date
- `offering` (string): Always enterprise for authenticated requests
- `address` (string): Client IP address
- `plan` (string): Active plan name
- `modules` (string): Comma-separated active add-on modules

```bash
curl 'https://api.greynoise.io/ping' \
  -H 'key: YOUR_API_KEY'
```

Example response (200):

```json
{
  "message": "pong",
  "expiration": "2026-12-31",
  "offering": "enterprise",
  "address": "198.51.100.5",
  "plan": "Example",
  "modules": "Example Module"
}
```

---

Listings on OSINTtools.io are reviewed by editors and re-verified on a schedule; check pricing and availability on the vendor's site before relying on them, and use OSINT tools only with a lawful basis.
Site index for agents: https://osinttools.io/llms.txt · Full catalog: https://osinttools.io/llms-full.txt · MCP server (Streamable HTTP, no auth): https://osinttools.io/mcp/
