Crawler Summary

debank-portfolio-scraper answer-first brief

Scrape comprehensive crypto portfolio data from DeBank using Playwright browser automation. Use when you need to capture wallet balances, DeFi positions (lending, staking, LP), chain allocations, claimable rewards, and health rates. Supports OpenSea integration for LP position NFTs with entry prices. Persists data to SQLite for historical tracking. --- name: debank-portfolio-scraper description: Scrape comprehensive crypto portfolio data from DeBank using Playwright browser automation. Use when you need to capture wallet balances, DeFi positions (lending, staking, LP), chain allocations, claimable rewards, and health rates. Supports OpenSea integration for LP position NFTs with entry prices. Persists data to SQLite for historical tracking. --- DeBank Portfolio Capability contract not published. No trust telemetry is available yet. Last updated 4/15/2026.

Freshness

Last checked 4/15/2026

Best For

debank-portfolio-scraper is best for general automation workflows where MCP compatibility matters.

Not Ideal For

Contract metadata is missing or unavailable for deterministic execution.

Evidence Sources Checked

editorial-content, GITHUB OPENCLEW, runtime-metrics, public facts pack

Claim this agent
Agent DossierGitHubSafety: 94/100

debank-portfolio-scraper

Scrape comprehensive crypto portfolio data from DeBank using Playwright browser automation. Use when you need to capture wallet balances, DeFi positions (lending, staking, LP), chain allocations, claimable rewards, and health rates. Supports OpenSea integration for LP position NFTs with entry prices. Persists data to SQLite for historical tracking. --- name: debank-portfolio-scraper description: Scrape comprehensive crypto portfolio data from DeBank using Playwright browser automation. Use when you need to capture wallet balances, DeFi positions (lending, staking, LP), chain allocations, claimable rewards, and health rates. Supports OpenSea integration for LP position NFTs with entry prices. Persists data to SQLite for historical tracking. --- DeBank Portfolio

MCPself-declared

Public facts

4

Change events

1

Artifacts

0

Freshness

Apr 15, 2026

Verifiededitorial-contentNo verified compatibility signals

Capability contract not published. No trust telemetry is available yet. Last updated 4/15/2026.

Trust evidence available

Trust score

Unknown

Compatibility

MCP

Freshness

Apr 15, 2026

Vendor

Roxsaita

Artifacts

0

Benchmarks

0

Last release

Unpublished

Executive Summary

Key links, install path, and a quick operational read before the deeper crawl record.

Verifiededitorial-content

Summary

Capability contract not published. No trust telemetry is available yet. Last updated 4/15/2026.

Setup snapshot

git clone https://github.com/RoXsaita/debank-portfolio-skill.git
  1. 1

    Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.

  2. 2

    Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Evidence Ledger

Everything public we have scraped or crawled about this agent, grouped by evidence type with provenance.

Verifiededitorial-content
Vendor (1)

Vendor

Roxsaita

profilemedium
Observed Apr 15, 2026Source linkProvenance
Compatibility (1)

Protocol compatibility

MCP

contractmedium
Observed Apr 15, 2026Source linkProvenance
Security (1)

Handshake status

UNKNOWN

trustmedium
Observed unknownSource linkProvenance
Integration (1)

Crawlable docs

6 indexed pages on the official domain

search_documentmedium
Observed Apr 15, 2026Source linkProvenance

Release & Crawl Timeline

Merged public release, docs, artifact, benchmark, pricing, and trust refresh events.

Self-declaredagent-index

Artifacts Archive

Extracted files, examples, snippets, parameters, dependencies, permissions, and artifact metadata.

Self-declaredGITHUB OPENCLEW

Extracted files

0

Examples

6

Snippets

0

Languages

typescript

Parameters

Executable Examples

text

scrape-portfolio <wallet_address>
scrape-portfolio --all  # Scrape multiple wallets from a config file

text

browser_navigate: https://debank.com/profile/{address}

text

browser_wait_for: time=5

text

browser_snapshot

text

browser_click: ref=<unfold_button_ref>
browser_wait_for: time=2
browser_snapshot

text

get_nft_balances:
  address: {wallet_address}
  sortBy: RECEIVED_DATE
  limit: 100

Docs & README

Full documentation captured from public sources, including the complete README when available.

Self-declaredGITHUB OPENCLEW

Docs source

GITHUB OPENCLEW

Editorial quality

ready

Scrape comprehensive crypto portfolio data from DeBank using Playwright browser automation. Use when you need to capture wallet balances, DeFi positions (lending, staking, LP), chain allocations, claimable rewards, and health rates. Supports OpenSea integration for LP position NFTs with entry prices. Persists data to SQLite for historical tracking. --- name: debank-portfolio-scraper description: Scrape comprehensive crypto portfolio data from DeBank using Playwright browser automation. Use when you need to capture wallet balances, DeFi positions (lending, staking, LP), chain allocations, claimable rewards, and health rates. Supports OpenSea integration for LP position NFTs with entry prices. Persists data to SQLite for historical tracking. --- DeBank Portfolio

Full README

name: debank-portfolio-scraper description: Scrape comprehensive crypto portfolio data from DeBank using Playwright browser automation. Use when you need to capture wallet balances, DeFi positions (lending, staking, LP), chain allocations, claimable rewards, and health rates. Supports OpenSea integration for LP position NFTs with entry prices. Persists data to SQLite for historical tracking.

DeBank Portfolio Scraper

Scrape comprehensive portfolio snapshots from DeBank using browser automation, with optional OpenSea integration for LP position entry prices.

Prerequisites

  • Playwright MCP - Browser automation for DeBank navigation
  • OpenSea MCP - NFT/LP position data (optional but recommended)
  • Node.js 18+ - For running persistence scripts
  • SQLite - Database for historical data

See references/setup-guide.md for installation details.

Usage

scrape-portfolio <wallet_address>
scrape-portfolio --all  # Scrape multiple wallets from a config file

Data Sources

  1. DeBank (Playwright) - DeFi positions, wallet balances, health rates
  2. OpenSea API - NFT holdings (Uniswap LP position NFTs with entry prices)

Instructions

Step 1: Navigate to DeBank

browser_navigate: https://debank.com/profile/{address}

Step 2: Wait for Page Load

browser_wait_for: time=5

Step 3: Take Snapshot

browser_snapshot

Step 4: Expand Hidden Chains

Look for "Unfold X chains" in the snapshot. If present:

browser_click: ref=<unfold_button_ref>
browser_wait_for: time=2
browser_snapshot

Step 5: Extract Portfolio Data

Parse the snapshot and extract:

Profile:

  • Total value (e.g., $36,694)
  • 24h change percentage
  • Account age in days

Chain Allocation:

  • Chain name, value, percentage

Wallet Tokens:

  • Symbol, chain, price, amount, USD value

Protocol Positions: For each protocol (Aave, Compound, Uniswap, etc.):

  • Protocol name and chain
  • Position type (Lending, Yield, Liquidity Pool)
  • Health rate (for lending positions)
  • Supplied assets with amounts and values
  • Borrowed assets with amounts and values
  • LP balances and pool IDs
  • Claimable rewards

Step 6: Get NFT Data (OpenSea)

Call the OpenSea MCP tool:

get_nft_balances:
  address: {wallet_address}
  sortBy: RECEIVED_DATE
  limit: 100

This returns Uniswap LP position NFTs with:

  • Token ID (pool ID)
  • Creation date (position entry date)
  • Pool details (token pair, fee tier)

Step 7: Get NFT Activity History

get_activity:
  entityType: profile
  entityId: {wallet_address}
  limit: 100

This provides:

  • Entry prices for LP positions
  • Transaction hashes
  • Historical mints/transfers

Step 8: Structure the Data

Create JSON matching the schema in references/debank-portfolio-schema.json:

{
  "metadata": {
    "source": "debank.com + opensea",
    "scrapeTimestamp": "<ISO timestamp>",
    "profileUrl": "https://debank.com/profile/{address}"
  },
  "profile": {
    "address": "0x...",
    "accountAgeDays": 510
  },
  "portfolio": {
    "totalValueUsd": 36694,
    "change24h": { "percent": 0.11, "direction": "up" },
    "chainAllocation": [...],
    "protocolAllocation": [...]
  },
  "wallet": {
    "totalValueUsd": 374,
    "tokens": [...]
  },
  "protocols": [...],
  "nfts": {
    "lpPositions": [...],
    "other": [...]
  },
  "summary": {
    "totalWalletValue": 374,
    "totalDeFiValue": 36320,
    "totalSupplied": 18810,
    "totalBorrowed": 5167,
    "totalLiquidityProvided": 12042,
    "totalClaimableRewards": 105,
    "activeProtocols": ["Aave V3", "Compound V3", "Uniswap V4", "Uniswap V3"],
    "activeChains": ["Arbitrum", "Base", "Scroll"]
  }
}

Step 9: Save Data

After structuring the JSON:

1. Write to temp file: Save the JSON to a temp file (e.g., /tmp/portfolio-snapshot.json)

2. Save JSON snapshot (backup):

mkdir -p data/snapshots/{address}
# Write to data/snapshots/{address}/{YYYY-MM-DD}.json

3. Persist to database:

cd scripts && npx ts-node debank-snapshot-saver.ts --file /tmp/portfolio-snapshot.json

Set environment variables for database location:

  • DB_PATH - Path to SQLite database (default: ../data/portfolio.db)
  • SNAPSHOTS_DIR - Path to JSON snapshots (default: ../data/snapshots)

Database records created (each scrape ADDS new rows, doesn't overwrite):

  • portfolio_snapshots - Total value + chain breakdown (timestamped)
  • position_snapshots - Individual DeFi positions (timestamped)
  • reward_history - Claimable rewards (timestamped)

This builds historical data for trend analysis. Query examples:

-- Portfolio value over time
SELECT datetime(timestamp, 'unixepoch') as date, total_value
FROM portfolio_snapshots WHERE address = '0x...' ORDER BY timestamp;

-- Position changes over time
SELECT datetime(timestamp, 'unixepoch') as date, protocol, net_value
FROM position_snapshots WHERE address = '0x...' ORDER BY timestamp;

Step 10: Report Results

Provide summary:

Portfolio scraped for 0x5a8a...ed45:

TOTAL VALUE: $36,694 (+0.11% 24h)

CHAIN ALLOCATION:
- Arbitrum: $26,011 (71%)
- Base: $10,650 (29%)

DEFI POSITIONS:
- Aave V3 (Arbitrum): $13,643 net (Health: 2.84)
  - Supplied: 18,784 USDC ($18,811)
  - Borrowed: 1.0168 WETH ($3,011) + 0.0241 WBTC ($2,156)
- Compound V3 (Base): $10,635
  - Supplied: 10,584 USDC
  - Rewards: 1.5 COMP ($36)
- Uniswap V4: $6,900
  - Pool #103120: WBTC/USDC
  - Rewards: $50.21
- Uniswap V3: $5,142
  - Pool #4721026: WBTC/WETH
  - Rewards: $18.92

LP POSITIONS (from OpenSea):
- 11 Uniswap position NFTs
- Entry history tracked from Feb 2025

CLAIMABLE REWARDS: $105.27
- COMP: $36.12
- LP Fees: $69.15

Data saved to:
- data/snapshots/{address}/{date}.json
- data/portfolio.db

Rate Limiting

  • Wait 30 seconds between multiple wallet scrapes
  • If DeBank shows rate limiting, wait 60 seconds and retry

Error Handling

  • Page doesn't load: Report "DeBank unreachable", skip wallet
  • No data found: Report "Wallet may be empty or invalid"
  • Partial failure: Save what was collected, note errors

Database Schema

See references/schema.sql for full table definitions:

| Table | Purpose | |-------|---------| | portfolio_snapshots | Total value + chain breakdown per timestamp | | position_snapshots | Individual DeFi positions with tokens/rewards | | reward_history | Claimable rewards over time | | apy_history | APY tracking for protocols | | transactions | Full transaction history |

Contract & API

Machine endpoints, protocol fit, contract coverage, invocation examples, and guardrails for agent-to-agent use.

MissingGITHUB OPENCLEW

Contract coverage

Status

missing

Auth

None

Streaming

No

Data region

Unspecified

Protocol support

MCP: self-declared

Requires: none

Forbidden: none

Guardrails

Operational confidence: low

No positive guardrails captured.
Invocation examples
curl -s "https://xpersona.co/api/v1/agents/roxsaita-debank-portfolio-skill/snapshot"
curl -s "https://xpersona.co/api/v1/agents/roxsaita-debank-portfolio-skill/contract"
curl -s "https://xpersona.co/api/v1/agents/roxsaita-debank-portfolio-skill/trust"

Reliability & Benchmarks

Trust and runtime signals, benchmark suites, failure patterns, and practical risk constraints.

Missingruntime-metrics

Trust signals

Handshake

UNKNOWN

Confidence

unknown

Attempts 30d

unknown

Fallback rate

unknown

Runtime metrics

Observed P50

unknown

Observed P95

unknown

Rate limit

unknown

Estimated cost

unknown

Do not use if

Contract metadata is missing or unavailable for deterministic execution.
No benchmark suites or observed failure patterns are available.

Media & Demo

Every public screenshot, visual asset, demo link, and owner-provided destination tied to this agent.

Missingno-media
No screenshots, media assets, or demo links are available.

Related Agents

Neighboring agents from the same protocol and source ecosystem for comparison and shortlist building.

Self-declaredprotocol-neighbors
GITLAB_AI_CATALOGgitlab-mcp

Rank

83

A Model Context Protocol (MCP) server for GitLab

Traction

No public download signal

Freshness

Updated 2d ago

MCP
GITLAB_PUBLIC_PROJECTSgitlab-mcp

Rank

80

A Model Context Protocol (MCP) server for GitLab

Traction

No public download signal

Freshness

Updated 2d ago

MCP
GITLAB_AI_CATALOGrmcp-openapi

Rank

74

Expose OpenAPI definition endpoints as MCP tools using the official Rust SDK for the Model Context Protocol (https://github.com/modelcontextprotocol/rust-sdk)

Traction

No public download signal

Freshness

Updated 2d ago

MCP
GITLAB_AI_CATALOGrmcp-actix-web

Rank

72

An actix_web backend for the official Rust SDK for the Model Context Protocol (https://github.com/modelcontextprotocol/rust-sdk)

Traction

No public download signal

Freshness

Updated 2d ago

MCP
Machine Appendix

Contract JSON

{
  "contractStatus": "missing",
  "authModes": [],
  "requires": [],
  "forbidden": [],
  "supportsMcp": false,
  "supportsA2a": false,
  "supportsStreaming": false,
  "inputSchemaRef": null,
  "outputSchemaRef": null,
  "dataRegion": null,
  "contractUpdatedAt": null,
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Invocation Guide

{
  "preferredApi": {
    "snapshotUrl": "https://xpersona.co/api/v1/agents/roxsaita-debank-portfolio-skill/snapshot",
    "contractUrl": "https://xpersona.co/api/v1/agents/roxsaita-debank-portfolio-skill/contract",
    "trustUrl": "https://xpersona.co/api/v1/agents/roxsaita-debank-portfolio-skill/trust"
  },
  "curlExamples": [
    "curl -s \"https://xpersona.co/api/v1/agents/roxsaita-debank-portfolio-skill/snapshot\"",
    "curl -s \"https://xpersona.co/api/v1/agents/roxsaita-debank-portfolio-skill/contract\"",
    "curl -s \"https://xpersona.co/api/v1/agents/roxsaita-debank-portfolio-skill/trust\""
  ],
  "jsonRequestTemplate": {
    "query": "summarize this repo",
    "constraints": {
      "maxLatencyMs": 2000,
      "protocolPreference": [
        "MCP"
      ]
    }
  },
  "jsonResponseTemplate": {
    "ok": true,
    "result": {
      "summary": "...",
      "confidence": 0.9
    },
    "meta": {
      "source": "GITHUB_OPENCLEW",
      "generatedAt": "2026-04-17T01:03:44.350Z"
    }
  },
  "retryPolicy": {
    "maxAttempts": 3,
    "backoffMs": [
      500,
      1500,
      3500
    ],
    "retryableConditions": [
      "HTTP_429",
      "HTTP_503",
      "NETWORK_TIMEOUT"
    ]
  }
}

Trust JSON

{
  "status": "unavailable",
  "handshakeStatus": "UNKNOWN",
  "verificationFreshnessHours": null,
  "reputationScore": null,
  "p95LatencyMs": null,
  "successRate30d": null,
  "fallbackRate": null,
  "attempts30d": null,
  "trustUpdatedAt": null,
  "trustConfidence": "unknown",
  "sourceUpdatedAt": null,
  "freshnessSeconds": null
}

Capability Matrix

{
  "rows": [
    {
      "key": "MCP",
      "type": "protocol",
      "support": "unknown",
      "confidenceSource": "profile",
      "notes": "Listed on profile"
    }
  ],
  "flattenedTokens": "protocol:MCP|unknown|profile"
}

Facts JSON

[
  {
    "factKey": "docs_crawl",
    "category": "integration",
    "label": "Crawlable docs",
    "value": "6 indexed pages on the official domain",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  },
  {
    "factKey": "vendor",
    "category": "vendor",
    "label": "Vendor",
    "value": "Roxsaita",
    "href": "https://github.com/RoXsaita/debank-portfolio-skill",
    "sourceUrl": "https://github.com/RoXsaita/debank-portfolio-skill",
    "sourceType": "profile",
    "confidence": "medium",
    "observedAt": "2026-04-15T03:12:33.314Z",
    "isPublic": true
  },
  {
    "factKey": "protocols",
    "category": "compatibility",
    "label": "Protocol compatibility",
    "value": "MCP",
    "href": "https://xpersona.co/api/v1/agents/roxsaita-debank-portfolio-skill/contract",
    "sourceUrl": "https://xpersona.co/api/v1/agents/roxsaita-debank-portfolio-skill/contract",
    "sourceType": "contract",
    "confidence": "medium",
    "observedAt": "2026-04-15T03:12:33.314Z",
    "isPublic": true
  },
  {
    "factKey": "handshake_status",
    "category": "security",
    "label": "Handshake status",
    "value": "UNKNOWN",
    "href": "https://xpersona.co/api/v1/agents/roxsaita-debank-portfolio-skill/trust",
    "sourceUrl": "https://xpersona.co/api/v1/agents/roxsaita-debank-portfolio-skill/trust",
    "sourceType": "trust",
    "confidence": "medium",
    "observedAt": null,
    "isPublic": true
  }
]

Change Events JSON

[
  {
    "eventType": "docs_update",
    "title": "Docs refreshed: Sign in to GitHub · GitHub",
    "description": "Fresh crawlable documentation was indexed for the official domain.",
    "href": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceUrl": "https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fopenclaw%2Fskills%2Ftree%2Fmain%2Fskills%2Fasleep123%2Fcaldav-calendar",
    "sourceType": "search_document",
    "confidence": "medium",
    "observedAt": "2026-04-15T05:03:46.393Z",
    "isPublic": true
  }
]

Sponsored

Ads related to debank-portfolio-scraper and adjacent AI workflows.