Billing API
Manage subscriptions and billing through Stripe
Billing API
Manage your MarketIntell subscription, create checkout sessions, and access the billing portal. Billing is powered by Stripe and the endpoints below are live under /v1/billing.
Requires Stripe configuration. Billing is enabled per deployment. When Stripe is not configured the write endpoints (
/checkout,/portal) return503 service_unavailableandGET /v1/billing/statusreports"billing_enabled": false. Checkstatusbefore linking out to checkout.
POST /v1/billing/checkout
Create a Stripe checkout session to upgrade to the Pro plan. The checkout URLs are generated automatically from the request origin — no need to pass them manually.
Requires authentication. Returns an error if the key is already on the
proorenterprisetier.
Request
curl -X POST https://api.marketintell.ai/v1/billing/checkout \
-H "X-API-Key: YOUR_API_KEY"Response
{
"success": true,
"data": {
"checkout_url": "https://checkout.stripe.com/c/pay/cs_live_abc123...",
"session_id": "cs_live_abc123"
}
}Redirect the user to
checkout_urlto complete payment.
POST /v1/billing/portal
Get a link to the Stripe billing portal where users can manage their subscription, update payment methods, and view invoices.
Requires an existing Stripe customer (i.e., user must have subscribed previously).
Request
curl -X POST https://api.marketintell.ai/v1/billing/portal \
-H "X-API-Key: YOUR_API_KEY"Response
{
"success": true,
"data": {
"portal_url": "https://billing.stripe.com/p/session/bps_abc123..."
}
}The portal URL is single-use and expires after 24 hours.
GET /v1/billing/status
Get the current billing and subscription status, including available plans and whether billing is enabled.
Request
curl https://api.marketintell.ai/v1/billing/status \
-H "X-API-Key: YOUR_API_KEY"Response
{
"success": true,
"data": {
"tier": "pro",
"status": "active",
"current_period_start": "2026-01-01T00:00:00.000Z",
"current_period_end": "2026-02-01T00:00:00.000Z",
"queries_used": 142,
"queries_limit": 25000,
"plans": {
"builder": {
"name": "Builder",
"monthlyPrice": 49,
"dailyQueries": 5000
},
"pro": {
"name": "Pro",
"monthlyPrice": 199,
"dailyQueries": 25000
}
},
"billing_enabled": true
}
}Tier Details
| Tier | Price | Queries/Day | Features |
|---|---|---|---|
| Free | $0/mo | 20 | Chat API, sessions, source citations, all specialist domains |
| Builder | $49/mo | 5,000 | API tier: alpha signals + WebSocket, high-throughput (120 req/min) |
| Pro | $199/mo | 25,000 | Everything in Builder + Sonnet 4.6, T3 supervisor, webhooks, agents |
| Enterprise | Custom | Unlimited | Everything in Pro + custom models, dedicated support, SLA, SSO/SAML |