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.
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.
Test Smart Contract Risk Score live. No auth. No card.
Curl: curl 'https://toughlovesec.win/api/data/preview?type=contract-risk&q=ethereum%3A0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48'
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
}
}
| Tier | Price | What you get |
|---|---|---|
| Free preview | $0 | GET /api/data/preview?type=contract-risk — 1-row preview, no auth |
| Single call (paid) | $0.001 | GET /api/data?type=contract-risk&q=...&session_id=cs_... — full multi-row data |
| Bundle 3-5 | $0.0035 | Up to 5 queries across any types in one call (saves ~30%) |
| Bundle 6-10 | $0.005 | Up to 10 queries across any types (saves ~50%) |
| Bundle 11-20 | $0.008 | Up to 20 queries across any types (saves ~60%) |
| Day pass | $0.99 | Unlimited bundles for 24h |
| Week pass | $4.99 | Unlimited bundles for 7d |
| Alternative | Cost | DataFood | Savings | Notes |
|---|---|---|---|---|
| TLS native (no equivalent) | $0/mo | $0.0005 / call · $0.99 day pass | — | DataFood-native scoring layered on top of GoPlus + heuristics. |
Three integration paths, in order of simplicity for AI agents:
data_query_contract_risk and the universal data_bundle.https://toughlovesec.win/mcp (Streamable HTTP transport, JSON-RPC 2.0). Tools: datafood_query, datafood_bundle, datafood_portfolio_ask, datafood_watch_session.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.# 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"}]}'
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.
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.
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.
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.