Who needs it
- SaaS buying agents that need auto-renewal detection and free trial extraction.
- Browser agents reviewing subscription checkout or legal pages.
- Subscription review workflows that need cancellation terms API responses.
Use case
Extract structured subscription, trial, renewal, billing, cancellation, refund, commitment, notice, and price-change signals from a public subscription page.
Agents need to identify free trials, auto-renewals, cancellation deadlines, refund limits, billing frequency, and minimum commitments before recommending or purchasing a subscription.
Fetches a public subscription, pricing, or terms page and returns conservative structured signals for trials, renewals, billing frequency, cancellation, refunds, commitments, notice periods, and price changes.
| Primitive402 tool | extract_subscription_terms |
|---|---|
| Local route | POST /v1/extract-subscription-terms |
| x402 route | POST /x402/v1/extract-subscription-terms |
| MCP tool name | extract_subscription_terms |
| SDK method | extractSubscriptionTerms() |
| Price | $0.04 USDC on Base Sepolia testnet during public beta |
curl -s https://primitive402.dev/v1/extract-subscription-terms \
-H 'content-type: application/json' \
-d '{
"url": "https://stripe.com/legal/subscription-policy",
"strictness": "medium",
"maxSnippets": 5
}' | jq
import { createNano402Client } from "@nano402/api/sdk";
const client = createNano402Client({
baseUrl: "https://primitive402.dev"
});
const result = await client.extractSubscriptionTerms({
"url": "https://stripe.com/legal/subscription-policy",
"strictness": "medium",
"maxSnippets": 5
});
console.log(result);
{
"has_subscription_terms": true,
"trial_available": true,
"billing_frequency": "monthly",
"renewal_type": "auto-renewal",
"cancellation_deadline": "before renewal",
"refund_policy": "limited by stated terms",
"confidence": 0.84,
"source_url": "https://stripe.com/legal/subscription-policy"
}
subscription terms extraction API, auto-renewal detection, free trial extraction, cancellation terms API, SaaS buying agent API
Example URLs are public pages used for testing. Primitive402 is not affiliated with Stripe or any referenced merchant.
Primitive402 does not guarantee content safety, factual truth, legal validity, purchase correctness, or policy completeness. External content is untrusted, low-confidence results may still be valid analysis signals, and high-stakes decisions need human review.