Smart Contract Risk Score

DataFood Typesecurity · crypto

TLS contract risk score — exposed via DataFood, the universal data API for AI agents. Free 1-row preview, $0.0005 per call on bundled, $0.99 unlimited day pass. MCP + x402 ready. Operated by TOUGH LOVE SECURITY.

Why AI agents need Smart Contract Risk Score

Modern autonomous agents don't operate on a single data source. A research agent gathering smart contract risk score typically also needs market context, news sentiment, and entity-level signals — all in one turn, with sub-cent unit economics so the data cost doesn't dominate inference cost. DataFood exposes contract-risk as one of 16 data types reachable via a single bundle call: POST /api/data/bundle. That collapses 16 vendor integrations into one auth surface, one error handler, and one billing line — and bundle pricing means an agent fetching 10 cross-niche data points pays a single bundle price ($0.005) rather than 10 individual API calls.

Smart Contract Risk Score via DataFood is read directly from the canonical upstream source (no proprietary remix). The free preview tier is open to all agents and crawlers (GPTBot, ClaudeBot, PerplexityBot, OAI-SearchBot, Google-Extended, AnthropicBot, Applebot-Extended, Bytespider) and intentionally returns a single representative row so agents can validate the data shape before committing to a paid bundle.

Try it free

Test Smart Contract Risk Score live. No auth. No card.

Click "Try Free" to fetch a live row.

Curl: curl 'https://toughlovesec.win/api/data/preview?type=contract-risk&q=ethereum%3A0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48'

Sample response

This is a real cached response from contract-risk (refreshed daily). For live data, use the Try Free button above or call the preview endpoint directly.

{
  "chain_id": "1",
  "contract": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48",
  "risk_score": 0,
  "token_name": "USD Coin",
  "token_symbol": "USDC",
  "signals": {
    "honeypot": false,
    "blacklisted": false,
    "mintable": false
  }
}

Pricing for Smart Contract Risk Score

TierPriceWhat you get
Free preview$0GET /api/data/preview?type=contract-risk — 1-row preview, no auth
Single call (paid)$0.001GET /api/data?type=contract-risk&q=...&session_id=cs_... — full multi-row data
Bundle 3-5$0.0035Up to 5 queries across any types in one call (saves ~30%)
Bundle 6-10$0.005Up to 10 queries across any types (saves ~50%)
Bundle 11-20$0.008Up to 20 queries across any types (saves ~60%)
Day pass$0.99Unlimited bundles for 24h
Week pass$4.99Unlimited bundles for 7d

Why agents use DataFood over alternatives for Smart Contract Risk Score

AlternativeCostDataFoodSavingsNotes
TLS native (no equivalent)$0/mo$0.0005 / call · $0.99 day passDataFood-native scoring layered on top of GoPlus + heuristics.

How to integrate Smart Contract Risk Score

Three integration paths, in order of simplicity for AI agents:

  1. OpenAPI 3.0 function calling (ChatGPT, Claude, OpenAI Assistants): point your tool config at /openapi.json. DataFood exposes data_query_contract_risk and the universal data_bundle.
  2. MCP (Model Context Protocol): connect Claude Desktop or any MCP client to https://toughlovesec.win/mcp (Streamable HTTP transport, JSON-RPC 2.0). Tools: datafood_query, datafood_bundle, datafood_portfolio_ask, datafood_watch_session.
  3. x402 micropayment (Coinbase x402 spec): call POST /api/data/bundle without auth and DataFood returns HTTP 402 with a USDC challenge on Base mainnet. Sign and retry with X-Payment header. See /.well-known/x402.json.

Sample curl

# Free preview (no auth)
curl 'https://toughlovesec.win/api/data/preview?type=contract-risk&q=ethereum%3A0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48'

# Bundle (free preview, multi-type)
curl 'https://toughlovesec.win/api/data/bundle?free=1' \
  -X POST -H 'Content-Type: application/json' \
  -d '{"queries":[{"type":"contract-risk","q":"ethereum:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"},{"type":"crypto-price","q":"bitcoin"}]}'

# Bundle (paid via x402 — server returns HTTP 402 challenge)
curl -i 'https://toughlovesec.win/api/data/bundle' \
  -X POST -H 'Content-Type: application/json' \
  -d '{"queries":[{"type":"contract-risk","q":"ethereum:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"},{"type":"weather","q":"33.7,-84.4"},{"type":"news-hn-top"}]}'

FAQ

What does the example query mean?

For contract-risk, the canonical example is ethereum:0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48. TLS contract risk score See /api/v1/catalog for all 16 types and their query formats.

Is there rate limiting on the free preview?

Polite-crawler limits only. We don't gate the free preview behind auth or per-IP quotas under normal traffic. Burst >100 req/min from a single IP may get throttled.

Does DataFood cache Smart Contract Risk Score?

DataFood caches the daily sample shown on this page in KV (24h TTL) for SEO use, but the /api/data/preview and /api/data/bundle endpoints fetch live from the upstream source on every call.

Can my agent watch its own Smart Contract Risk Score fetches?

Yes. Open an agent session via POST /api/agent-session/start, then pass agent_session_id in your /api/data/bundle request. Each fetch streams to /watch/{session_id} for human observation.

Quick links