Security
Secret scanner API
Scan text for common secret patterns and high-entropy tokens while returning redacted findings by default.
Price$0.01per request
MethodPOST
Route/v1/security/secrets-scan
StatusLive
MIME typeapplication/json
Rate limit90/minute
CacheNo cache
securitysecretsscanentropydeveloper-tools
API URL
Integration docshttps://x402.hexl.dev/v1/security/secrets-scanExample request
{
"text": "OPENAI_API_KEY=sk-proj-example"
}Example response
{
"totalFindings": 1,
"risk": "high",
"findings": [
{
"type": "openai_api_key",
"severity": "high",
"redacted": "sk-p...mple"
}
],
"provider": "local-secret-patterns"
}Input schema
{
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 50000
},
"reveal": {
"type": "boolean",
"default": false
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}