DEV Community

TrustBoost-PII-Sanitizer
TrustBoost-PII-Sanitizer

Posted on • Edited on

I paid $0.05 to analyze Notion's competitive position. Here's what an AI agent found in 1.2 seconds.

The problem with competitive research

Every startup, VC analyst, and product team does competitive research. It's manual, slow, and expensive — consultants, reports, hours of reading.

But what if your AI agent could do it autonomously, on demand, for $0.05 per analysis?

That's what I built with Intelica — a competitive intelligence API that accepts a URL or text description and returns structured JSON with market positioning, user pain points, detected competitors, unique angles, and an executable Market Score.

Pay per call via x402 on Base or Solana. No accounts. No API keys.

The actual output

I sent Notion's description to the API. Here's what came back in 1.2 seconds:

{
  "company_or_product": "Notion",
  "positioning_summary": "Notion is a flexible, all-in-one workspace platform that combines notes, databases, wikis, and project management in a single interface.",
  "target_customer": "Remote teams, knowledge workers, product teams, and enterprises seeking consolidated workspace solutions",
  "core_value_props": [
    "Unified workspace eliminating tool fragmentation",
    "Highly customizable database and content organization",
    "Flexible block-based architecture for diverse use cases"
  ],
  "user_pain_points": [
    "Slow performance on large pages and complex databases",
    "Steep learning curve requiring significant onboarding time",
    "Migration challenges from incumbent tools"
  ],
  "detected_competitors": ["Confluence", "Coda", "Obsidian"],
  "unique_angle": "Notion's primary differentiator is its all-in-one flexibility via block-based design, but this advantage is undermined by performance degradation at scale.",
  "sources": ["https://...", "https://...", "https://..."],
  "market_score": {
    "threat_level": "high",
    "moat_strength": 0.65,
    "market_maturity": "growing",
    "agent_recommendation": "counter"
  }
}
Enter fullscreen mode Exit fullscreen mode

agent_recommendation: "counter" — the API doesn't just describe the market. It tells your agent what to do next.

Try it yourself (free)

curl -X POST https://api.intelica.dev/demo \
  -H "Content-Type: application/json" \
  -d '{"text": "Notion is an all-in-one workspace for notes, databases, and project management."}'
Enter fullscreen mode Exit fullscreen mode

The /demo endpoint is free with a 300-character limit. For full analysis including URL fetching, trend tracking, and competitive graph updates — use /intel with x402 payment.

What makes this useful for agents

10 context modes

Mode Use when
competitive Standard competitor analysis (default) — $0.05
fundraising Investor narrative, TAM, traction signals — $0.05
partnership Strategic fit — complement or rival? — $0.05
acquisition Due diligence, moat, technical risk — $0.05
market_entry Market gaps, saturation, barriers to entry — $0.05
crypto_protocol DeFi moat, tokenomics, regulatory risk — $0.05
venture_screening Investment thesis + deal-breakers — $1.00
regulatory_compliance EU AI Act, GDPR, HIPAA exposure — $1.00
risk_assessment Business model stability, operational risk — $1.00
sales_enablement Battlecard + objection handler — $1.00
POST /intel
{
  "url": "https://notion.so",
  "mode": "acquisition",
  "context": "I'm evaluating Notion as an acquisition target"
}
Enter fullscreen mode Exit fullscreen mode

Battlecard output (sales_enablement mode)

"battlecard": {
  "headline": "Notion owns 'all-in-one' but sacrifices depth for breadth",
  "their_weakness": "Performance degrades at scale — large databases become unusable",
  "your_angle": "Position as specialized depth vs Notion's generalist approach",
  "proof_point": "Teams using Notion for PM often layer Asana on top for advanced workflows",
  "objection_handler": "Flexibility comes at the cost of depth — we're built for your specific workflow"
}
Enter fullscreen mode Exit fullscreen mode

Trend Tracking

Call the same company twice. The second response includes a trend block showing what changed:

"trend": {
  "status": "changed",
  "changes": [
    { "field": "threat_level", "from": "medium", "to": "high" },
    { "field": "detected_competitors", "added": ["Linear"] }
  ]
}
Enter fullscreen mode Exit fullscreen mode

Verified sources

Every analysis includes sources[] — verified URLs from Exa web search backing the conclusions:

"sources": [
  "https://example.com/notion-competitive-analysis",
  "https://example.com/notion-market-position",
  "https://example.com/notion-vs-competitors"
]
Enter fullscreen mode Exit fullscreen mode

8 languages, auto-detected

Send content in Spanish, Portuguese, German, Japanese, Korean, French, Italian, or Chinese. Intelica auto-detects and applies regional market context automatically.

A2A Protocol

Compatible with LangGraph, CrewAI, AutoGen, and Google ADK:

POST /message/send
{
  "message": {
    "role": "user",
    "parts": [{ "type": "text", "text": "mode: fundraising\nAnalyze Figma as a competitor" }]
  }
}
Enter fullscreen mode Exit fullscreen mode

Paying with x402

The API uses x402 — the HTTP-native payment protocol for AI agents. No accounts, no API keys, no subscriptions.

When you call /intel without payment, you get back a 402 Payment Required:

{
  "x402Version": 1,
  "accepts": [
    {
      "scheme": "exact",
      "network": "base-mainnet",
      "maxAmountRequired": "50000",
      "payTo": "0x1d6bA7ac2461fd0E17D6A4C7bc1c9Ce365EfC4FF",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
    },
    {
      "scheme": "exact",
      "network": "solana-mainnet",
      "maxAmountRequired": "50000",
      "payTo": "45q8KyCAGSHHd6qYP2ZkEJh22SzeQeXRfyFsENcx3KN6",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v"
    }
  ]
}
Enter fullscreen mode Exit fullscreen mode

Using @x402/fetch (Node.js)

import { wrapFetchWithPayment } from "@x402/fetch";
import { createWalletClient } from "viem";

const client = createWalletClient({ /* your wallet config */ });
const fetchWithPayment = wrapFetchWithPayment(fetch, client);

const response = await fetchWithPayment("https://api.intelica.dev/intel", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({
    url: "https://notion.so",
    mode: "competitive"
  })
});

const analysis = await response.json();
console.log(analysis.analysis.market_score.agent_recommendation);
// "counter"
Enter fullscreen mode Exit fullscreen mode

Pricing

Endpoint Price What you get
POST /demo Free 300-char text, basic analysis
POST /intel $0.05 USDC Full analysis, sources, trend tracking, graph update
POST /intel (elite modes) $1.00 USDC venture_screening, regulatory_compliance, risk_assessment, sales_enablement
POST /batch $0.20 USDC Up to 10 analyses in parallel

Results are cached 6 hours — calling the same company twice in that window costs once. Use force_refresh: true for fast-moving markets.

The Competitive Graph

Every paid analysis contributes to a shared competitive graph:

curl https://api.intelica.dev/graph
curl "https://api.intelica.dev/graph?company=Notion"
Enter fullscreen mode Exit fullscreen mode

Links


Built with FastAPI, Claude Haiku, Supabase, Exa, and PayAI/CDP on Base + Solana mainnet. MIT license.

If you integrate Intelica into your agent pipeline, I'd love to hear what you're building. Open an issue on GitHub or leave a comment below.

From the same builder behind TrustBoost PII Sanitizer — privacy infrastructure for the agentic economy.

Top comments (0)