AP
MCP Tool · x402

Teardrop get_wallet_approvals: Inspect a wallet's current ERC-20 token authorization ex…

Teardrop get_wallet_approvals: Inspect a wallet's current ERC-20 token authorization exposure on one DeBank-supported chain. Returns discovered spenders, USD exposure, protocol attribution, and hacked or abandoned protocol flags. This is broader than the cura…

by api.teardrop.dev · discovered, not yet claimed by its owner · updated 2026-10-08

30d calls0
30d payers0
MethodHTTP
Outputjson

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Teardrop get_wallet_approvals: Inspect a wallet's current ERC-20 token authorization exposure on one DeBank-supported chain. Returns discovered spenders, USD exposure, protocol attribution, and hacked or abandoned protocol flags. This is broader than the curated block-accurate get_token_approvals tool.

Tags: bazaar

Call contract

Method
HTTP
Input
HTTP request
Output
json
Last paid call
2026-10-05
No input exampleProvider did not publish one in Bazaar metadata.
Output example
{
  "chain_id": "",
  "data_complete": false,
  "provenance": {
    "provider": "",
    "retrieved_at": ""
  },
  "wallet_address": ""
}

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/37920.json for the price and payment options.
  3. Pay. Call GET https://api.teardrop.dev/tools/mcp#get_wallet_approvals. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.005 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.0050xF2Eec9De86274913F85A8aA6427Ad65a9B0bC90a300s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xF2Eec9De86274913F85A8aA6427Ad65a9B0bC90a",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "5000",
    "amountUsd": 0.005,
    "maxTimeoutSeconds": 300
  }
]

Schemas

Output schema (JSON Schema)
{
  "properties": {
    "example": {
      "properties": {
        "approvals": {
          "items": {
            "properties": {
              "balance": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "chain": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "exposure_balance": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "id": {
                "type": "string"
              },
              "logo_url": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "name": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "price": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "spenders": {
                "items": {
                  "properties": {
                    "exposure_usd": {
                      "anyOf": [
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    },
                    "id": {
                      "type": "string"
                    },
                    "is_abandoned": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    },
                    "is_contract": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    },
                    "is_hacked": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    },
                    "is_open_source": {
                      "anyOf": [
                        {
                          "type": "boolean"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    },
                    "protocol": {
                      "anyOf": [
                        {
                          "additionalProperties": true,
                          "type": "object"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    },
                    "value": {
                      "anyOf": [
                        {
                          "type": "string"
                        },
                        {
                          "type": "integer"
                        },
                        {
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null
                    }
                  },
                  "required": [
                    "id"
                  ],
                  "type": "object"
                },
                "type": "array"
              },
              "sum_exposure_usd": {
                "anyOf": [
                  {
                    "type": "number"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              },
              "symbol": {
                "anyOf": [
                  {
                    "type": "string"
                  },
                  {
                    "type": "null"
                  }
                ],
                "default": null
              }
            },
            "required": [
              "id"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "chain_id": {
          "type": "string"
        },
        "data_complete": {
          "type": "boolean"
        },
        "errors": {
          "items": {
            "properties": {
              "error_type": {
                "type": "string"
              },
              "message": {
                "type": "string"
              },
              "operation": {
                "type": "string"
              }
            },
            "required": [
              "operation",
              "error_type",
              "message"
            ],
            "type": "object"
          },
          "type": "array"
        },
        "note": {
          "default": "DeBank authorization exposure is analytics data for one chain and may be stale. It does not inspect NFT approvals or off-chain Permit2 sub-permits.",
          "type": "string"
        },
        "provenance": {
          "description": "Machine-readable source and freshness metadata for a tool response.",
          "properties": {
            "cache_age_seconds": {
              "anyOf": [
                {
                  "minimum": 0,
                  "type": "number"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            },
            "cache_hit": {
              "default": false,
              "type": "boolean"
            },
            "cache_ttl_seconds": {
              "anyOf": [
                {
                  "minimum": 0,
                  "type": "integer"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            },
            "provider": {
              "type": "string"
            },
            "retrieved_at": {
              "type": "string"
            },
            "source_fetched_at": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "null"
                }
              ],
              "default": null
            },
            "source_urls": {
              "items": {
                "type": "string"
              },
              "type": "array"
            }
          },
          "required": [
            "provider",
            "retrieved_at"
          ],
          "type": "object"
        },
        "wallet_address": {
          "type": "string"
        }
      },
      "required": [
        "wallet_address",
        "chain_id",
        "data_complete",
        "provenance"
      ],
      "type": "object"
    },
    "type": {
      "type": "string"
    }
  },
  "required": [
    "type"
  ],
  "type": "object"
}
Example shape — generated from the schema, not a captured live response
{
  "example": {
    "approvals": [
      {
        "balance": null,
        "chain": null,
        "exposure_balance": null,
        "id": "string",
        "logo_url": null,
        "name": null,
        "price": null,
        "spenders": [
          {
            "exposure_usd": null,
            "id": "string",
            "is_abandoned": null,
            "is_contract": null,
            "is_hacked": null,
            "is_open_source": null,
            "protocol": null,
            "value": null
          }
        ],
        "sum_exposure_usd": null,
        "symbol": null
      }
    ],
    "chain_id": "string",
    "data_complete": true,
    "errors": [
      {
        "error_type": "string",
        "message": "string",
        "operation": "string"
      }
    ],
    "note": "DeBank authorization exposure is analytics data for one chain and may be stale. It does not inspect NFT approvals or off-chain Permit2 sub-permits.",
    "provenance": {
      "cache_age_seconds": null,
      "cache_hit": false,
      "cache_ttl_seconds": null,
      "provider": "string",
      "retrieved_at": "string",
      "source_fetched_at": null,
      "source_urls": [
        "string"
      ]
    },
    "wallet_address": "string"
  },
  "type": "string"
}

Examples

curl
curl "https://api.teardrop.dev/tools/mcp#get_wallet_approvals"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.teardrop.dev/tools/mcp#get_wallet_approvals");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://api.teardrop.dev/tools/mcp#get_wallet_approvals")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
api.teardrop.dev
Endpoint
https://api.teardrop.dev/tools/mcp#get_wallet_approvals
Machine-readable
/resources/37920.json