Skip to main content

scrapling-data

Lead-magnet Python SDK for Scrapling Data — pay-per-call crypto & web intel for AI agents via x402 (USDC on Base, no API key).

Install once. Get free local address tools and free store teasers. When you need the real answer, the same client speaks HTTP 402 → pay → retry against the live catalog.

This package is the public thin SDK. It does not include Scrapling's private scrapers, label builders, or secrets.

Install

pip install scrapling-data

(Until published: pip install -e /path/to/scrapling-data)

30-second sticky start

# Free local checksum + free wallet-label teaser + paid price menu
scrapling-data check 0x28C6c06298d514Db089934071355E5743bf21d60

# Lookalike / address-poisoning heuristic (local, free)
scrapling-data check 0x28C6c06298d514Db089934071355E5743bf21d60 \
  --compare 0x28C6c06298d514Db089934071355E5743bf21d61
from scrapling_data import ScraplingData, inspect_address, to_checksum_address

print(inspect_address("0x28c6c06298d514db089934071355e5743bf21d60"))
print(to_checksum_address("0x28c6c06298d514db089934071355e5743bf21d60"))

with ScraplingData() as sd:
    print(sd.free_crypto_top10())          # free
    print(sd.free_wallet_label("0x28C6c06298d514Db089934071355E5743bf21d60"))
    # Paid — raises PaymentRequiredError with accepts[] unless you attach a signer:
    # sd.counterparty("0x28C6c06298d514Db089934071355E5743bf21d60")

What's free vs paid

Layer What you get Cost
Local EVM validate, EIP-55 checksum, ENS/Solana detect, lookalike/poison heuristic, chain id hints Free, offline
Free API /v1/free/* teasers (wallet-label sample, hack-tracker headline, top10, yields, 3×/day risk-check, …) Free (rate-limited)
Paid API Full counterparty, risk-check, hack-tracker, yields, market-pulse, tokenized assets, whales, DD, … From $0.0009 USDC via x402

Sticky funnel (by design)

  1. scrapling-data check <addr> → valid + checksum + free label teaser.
  2. See the paid menu with live catalog prices.
  3. Call ScraplingData(...).counterparty(addr) (or risk-check / hack-tracker / …).
  4. Without a wallet: clear 402 payload + docs link. With payment_handler: auto-retry with PAYMENT-SIGNATURE.

Paying with x402

from scrapling_data import ScraplingData, PaymentRequiredError

def my_signer(payment):
    """Return a PAYMENT-SIGNATURE string. Use your own wallet / x402 client.
    Never put a private key in this library or in source control."""
    accept = payment.preferred_accept()
    # ... sign accept with your viem / eth-account / Coinbase AgentKit / x402 SDK ...
    raise NotImplementedError("wire your signer here")

sd = ScraplingData(payment_handler=my_signer)
try:
    print(sd.counterparty("0x28C6c06298d514Db089934071355E5743bf21d60"))
except PaymentRequiredError as e:
    print(e.payment.to_dict())  # accepts, amount, payTo, how_to_pay

Also supported: pass_token= (day/month pass), api_key= (Bearer sk_scrapling_...), trial_code=.

Day pass $2 · month pass $25 · settlement payTo (EVM): 0x72C80C01fD89Bac74f47cf604b61ACd119c9BCdb.

Highlight paid routes (catalog hints)

Prices from live /llms.txt + OpenAPI (Nov 2026). 402 body is authoritative.

Route USD Use
/v1/lookup/address-poisoning 0.0009 Live Base USDC lookalike flags
/v1/bundle/market-pulse 0.001 Whole-market pulse
/v1/wallet-label 0.002 Full label + sources
/v1/check/counterparty 0.004 safe / caution / block
/v1/intel/risk-check 0.0045 MALICIOUS…UNKNOWN (3 free/day)
/v1/wallet/profile 0.005 Who is this wallet?
/v1/lookup/tokenized-stocks 0.005 Ondo / xStocks
/v1/lookup/hack-tracker 0.03 Stolen-funds tracker
/v1/trust/agent 0.04 Agent trust bundle
/v1/dd/report 1.00 Full due-diligence
/v1/bundles/stolen-funds/download 12 Pack download (not on passes)

Full machine list: https://scraplingdata.xyz/llms.txt · https://scraplingdata.xyz/openapi.json

CLI

scrapling-data check <address> [--compare 0x...] [--offline] [--json]
scrapling-data catalog [--max-price 0.01]
scrapling-data ping

For agents / MCP

See AGENT.md. Remote MCP (same store): https://scraplingdata.xyz/mcp.

License

MIT © Scrapling Data

Metadata

Release files for scrapling-data 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for scrapling-data 0.1.0
File Size Uploaded Provenance Actions
scrapling_data-0.1.0.tar.gz 17.6 kB Without provenance Details for scrapling_data-0.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for scrapling-data 0.1.0
File Interpreter ABI Platform Actions
scrapling_data-0.1.0-py3-none-any.whl Python 3 none any Details for scrapling_data-0.1.0-py3-none-any.whl

Total release size: 36.6 kB

Release files / scrapling_data-0.1.0.tar.gz

Download URL scrapling_data-0.1.0.tar.gz
Size 17.6 kB
Tags Source
SHA-256 checksum
How to use checksums
71c08ad08a703c3fb91cdf29f5f20d47c7e71e9f404b1e887ab72b6715bb0c55
BLAKE2b-256 checksum
How to use checksums
8197dcf8fc9d92aedfa2db46b170f535d03af094fa83e991ad32c10771c22c76
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Release files / scrapling_data-0.1.0-py3-none-any.whl

Download URL scrapling_data-0.1.0-py3-none-any.whl
Size 18.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a68e4c7a61fa22b0f86238aa6cb9b5a1f4832f87bdcda8fb637d53a7b290d110
BLAKE2b-256 checksum
How to use checksums
8112e5f0764345b3d20fa639f7f7cce1ad673d624562baded4672e75ea048847
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.5

Security for scrapling-data 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page