---
updatedAt: 2025-06-05T21:08:17.000Z
agentTools:
  projectIndex: https://docs.securitytrails.com/llms.txt
---

# Usage

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "SecurityTrails API",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.securitytrails.com/v1"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/account/usage": {
      "get": {
        "summary": "Usage",
        "description": "",
        "operationId": "usage-old",
        "parameters": [
          {
            "name": "apikey",
            "in": "query",
            "description": "Your SecurityTrails API key. See [authentication documentation](https://docs.securitytrails.com/docs/authentication)",
            "schema": {
              "type": "string",
              "default": "your_api_key"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n \"current_monthly_usage\": 100,\n \"allowed_monthly_usage\": 10000\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "current_monthly_usage": {
                      "type": "integer",
                      "example": 100,
                      "default": 0
                    },
                    "allowed_monthly_usage": {
                      "type": "integer",
                      "example": 10000,
                      "default": 0
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  }
}
```