HashDit · Schema
TokenApprovalSecurityRequest
Crypto SecurityScam ProtectionToken ScannerWeb3 ToolsMonitoring Platform
Properties
| Name | Type | Description |
|---|---|---|
| chain_id | string | `int` or `string`. Only `1` (Ethereum), `56` (BSC), or `728126428` / `"tron"` (TRON). Any other chain is rejected with `400`. See [Supported Chains](/api-reference/supported-chains). |
| owner | string | Owner / approver address. At least one of `owner` or `spender` is required. |
| spender | string | Spender address. At least one of `owner` or `spender` is required. |
| token | string | Restrict to one token contract. Cannot be sent on its own — `token` alone returns `400`. |
| page | integer | 1-based page number. Values below 1 are treated as 1. |
| limit | integer | Rows per page. Ceiling `100` — higher values are clamped, not rejected. |
| filter | string | Only `"only-valid"` is accepted; it drops rows whose `valid_allowance` is `0`. Any other value is a validation error. |
| include_balance | boolean | Read each token's live on-chain balance for the owner. |
| include_spender_risk | boolean | Add `spender_risk` to every row. |
| include_token_risk | boolean | Add `token_risk` to every row. |
| include_owner_risk | boolean | Add `owner_risk` to every row. |
| include_address_types | boolean | Classify each spender and owner as `"eoa"` or `"contract"`. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/hashdit/json-schema/hashdit-token-approval-security-request-schema.json",
"title": "TokenApprovalSecurityRequest",
"x-generated": "2026-11-16",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/hashdit-openapi.json#/components/schemas/TokenApprovalSecurityRequest",
"type": "object",
"required": [
"chain_id"
],
"properties": {
"chain_id": {
"type": "string",
"description": "`int` or `string`. Only `1` (Ethereum), `56` (BSC), or `728126428` / `\"tron\"` (TRON). Any other chain is rejected with `400`. See [Supported Chains](/api-reference/supported-chains)."
},
"owner": {
"type": "string",
"description": "Owner / approver address. At least one of `owner` or `spender` is required."
},
"spender": {
"type": "string",
"description": "Spender address. At least one of `owner` or `spender` is required."
},
"token": {
"type": "string",
"description": "Restrict to one token contract. Cannot be sent on its own — `token` alone returns `400`."
},
"page": {
"type": "integer",
"default": 1,
"description": "1-based page number. Values below 1 are treated as 1."
},
"limit": {
"type": "integer",
"default": 50,
"description": "Rows per page. Ceiling `100` — higher values are clamped, not rejected."
},
"filter": {
"type": "string",
"description": "Only `\"only-valid\"` is accepted; it drops rows whose `valid_allowance` is `0`. Any other value is a validation error."
},
"include_balance": {
"type": "boolean",
"default": false,
"description": "Read each token's live on-chain balance for the owner."
},
"include_spender_risk": {
"type": "boolean",
"default": false,
"description": "Add `spender_risk` to every row."
},
"include_token_risk": {
"type": "boolean",
"default": false,
"description": "Add `token_risk` to every row."
},
"include_owner_risk": {
"type": "boolean",
"default": false,
"description": "Add `owner_risk` to every row."
},
"include_address_types": {
"type": "boolean",
"default": false,
"description": "Classify each spender and owner as `\"eoa\"` or `\"contract\"`."
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/hashdit-token-approval-security-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.