---
updatedAt: 2026-06-05T20:12:18.000Z
agentTools:
  projectIndex: https://docs.greynoise.io/llms.txt
---

# BSI Trust-Level Stats

Returns counts of BSI IPs and CIDRs grouped by trust level.
Use `date=now` for current information or
`date=YYYY-MM-DD` for historical information.

This endpoint requires the proper BSI entitlements.


# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "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.",
    "version": "3.0.0",
    "title": "GreyNoise API",
    "contact": {
      "email": "hello@greynoise.io"
    },
    "license": {
      "name": "Proprietary",
      "url": "https://www.greynoise.io/terms"
    }
  },
  "tags": [
    {
      "name": "Business Service Intelligence",
      "description": "Endpoints that surface aggregate statistics for the GreyNoise Business Service\nIntelligence catalog (formerly RIOT). Use `date=now` for current information\nor `date=YYYY-MM-DD` for historical information. All BSI\nendpoints require the proper entitlement.\n"
    }
  ],
  "security": [
    {
      "APIKeyHeaderAuth": []
    }
  ],
  "paths": {
    "/v3/bsi/trust": {
      "get": {
        "tags": [
          "Business Service Intelligence"
        ],
        "summary": "BSI Trust-Level Stats",
        "operationId": "getBSITrust",
        "description": "Returns counts of BSI IPs and CIDRs grouped by trust level.\nUse `date=now` for current information or\n`date=YYYY-MM-DD` for historical information.\n\nThis endpoint requires the proper BSI entitlements.\n",
        "parameters": [
          {
            "$ref": "#/components/parameters/bsiDate"
          }
        ],
        "responses": {
          "200": {
            "description": "OK - request successful.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/BSITrustResponse"
                }
              }
            }
          },
          "400": {
            "$ref": "#/components/responses/BadRequest"
          },
          "401": {
            "$ref": "#/components/responses/Unauthorized"
          },
          "403": {
            "$ref": "#/components/responses/Forbidden"
          },
          "404": {
            "$ref": "#/components/responses/NotFound"
          },
          "500": {
            "$ref": "#/components/responses/UnexpectedError"
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://api.greynoise.io"
    },
    {
      "url": "http://api.greynoise.io"
    }
  ],
  "components": {
    "securitySchemes": {
      "APIKeyHeaderAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "key"
      }
    },
    "responses": {
      "NotFound": {
        "description": "Resource not found.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorMessage"
            },
            "example": {
              "message": "IP not found"
            }
          }
        }
      },
      "BadRequest": {
        "description": "Bad request - request syntax is invalid for the specified endpoint.\nVerify request syntax and try again.\n",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorMessage"
            },
            "example": {
              "message": "Invalid parameter"
            }
          }
        }
      },
      "Unauthorized": {
        "description": "Unauthorized. Please check your API key.",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorMessage"
            },
            "example": {
              "message": "Unauthorized"
            }
          }
        }
      },
      "Forbidden": {
        "description": "Forbidden - request is not authorized due to an invalid API key or plan limitations.\nIf due to plan limitations, contact sales@greynoise.io to upgrade your plan and unlock full results.\n",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorMessage"
            },
            "example": {
              "message": "Forbidden"
            }
          }
        }
      },
      "UnexpectedError": {
        "description": "Unexpected error",
        "content": {
          "application/json": {
            "schema": {
              "$ref": "#/components/schemas/ErrorMessage"
            },
            "example": {
              "message": "Encountered error while performing request"
            }
          }
        }
      }
    },
    "parameters": {
      "bsiDate": {
        "name": "date",
        "in": "query",
        "description": "Snapshot date for the requested stats. `now` (the default) reads\ncurrent data from the BSI IP database. A value of the form\n`YYYY-MM-DD` reads historical data for that day; returns\n`404` if no data is available.\n",
        "required": false,
        "schema": {
          "type": "string",
          "default": "now",
          "example": "2026-05-12"
        }
      }
    },
    "schemas": {
      "ErrorMessage": {
        "type": "object",
        "properties": {
          "message": {
            "type": "string"
          }
        },
        "required": [
          "message"
        ]
      },
      "BSITrustResponse": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "description": "The snapshot date the response was rendered against. Echoes the\n`date` query parameter when supplied, or the literal string `now`\nfor live queries.\n",
            "example": "now"
          },
          "source": {
            "type": "string",
            "description": "Where the data was sourced from. `db` indicates current BSI\nIP data; `s3` indicates historical data.\n",
            "example": "db"
          },
          "stats": {
            "type": "object",
            "properties": {
              "trust_levels": {
                "type": "array",
                "items": {
                  "type": "object",
                  "properties": {
                    "trust_level": {
                      "type": "string",
                      "example": "1"
                    },
                    "ip_count": {
                      "type": "integer",
                      "format": "int64",
                      "example": 42315
                    },
                    "cidr_count": {
                      "type": "integer",
                      "format": "int64",
                      "example": 218
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
```