LaunchLabs provides a RESTful API for running assessments, fetching reports, and managing your account. All endpoints return JSON.
1. LaunchLabs API Key (ll_...)
Authorizes and bills your API calls. Get it from /account/api-keys
2. Target App Auth
Credentials or token to log into YOUR app so our advisors can test authenticated pages.
Include your API key in the x-api-key header for all requests:
x-api-key: ll_your_api_key_here
Get the canonical list of all advisors with names, IDs, and credit costs.
Returns all available advisors.
{
"agents": [
{
"id": "onboarding",
"name": "Priya",
"title": "Onboarding & Activation Advisor",
"credits": 4,
"description": "Tests signup flows, empty states, and time-to-value"
},
{
"id": "billing",
"name": "Amy",
"title": "Billing Advisor",
"credits": 3,
"description": "Tests pricing, checkout, and subscription flows"
}
]
}
Run one or more advisors against a URL. Returns a report ID immediately, with results available via polling.
Run an assessment with specified advisors.
| Parameter | Type | Description |
|---|---|---|
| urlrequired | string | The URL to assess (must be accessible from our servers) |
| agentsrequired | array | List of advisor IDs to run (e.g., ["billing", "security"]) |
| launchlabsApiKey | string | Override the API key from header (optional) |
| targetAuth | object | Credentials for testing authenticated pages (see below) |
Run Auth + Billing + Journey together to validate "Can a real customer log in and pay?"
curl -X POST https://getlaunchlabs.com/api/scan \
-H "Content-Type: application/json" \
-H "x-api-key: ll_your_api_key" \
-d '{
"url": "https://your-app.com",
"agents": ["performance", "seo", "security"]
}'
curl -X POST https://getlaunchlabs.com/api/scan \
-H "Content-Type: application/json" \
-H "x-api-key: ll_your_api_key" \
-d '{
"url": "https://your-app.com",
"agents": ["auth", "billing", "journey", "onboarding"],
"targetAuth": {
"credentials": {
"email": "[email protected]",
"password": "testpass123",
"loginUrl": "/login"
}
}
}'
{
"reportId": "rpt_abc123xyz",
"status": "pending",
"creditsUsed": 10,
"estimatedTime": "2-3 minutes"
}
Fetch assessment results by report ID.
Get the full assessment report.
curl https://getlaunchlabs.com/api/reports/rpt_abc123xyz \
-H "x-api-key: ll_your_api_key"
{
"reportId": "rpt_abc123xyz",
"url": "https://your-app.com",
"grade": "B+",
"score": 87,
"agents": ["billing", "security", "auth"],
"issues": {
"critical": 0,
"high": 2,
"medium": 5,
"low": 8
},
"findings": [
{
"agent": "billing",
"severity": "high",
"title": "Stripe webhook not verified",
"description": "Your Stripe webhook endpoint does not verify signatures...",
"fix": "Use stripe.webhooks.constructEvent() to verify signatures"
}
],
"createdAt": "2026-02-12T18:00:00Z"
}
Check your current credit balance.
Get your current credit balance.
curl https://getlaunchlabs.com/api/credits \
-H "x-api-key: ll_your_api_key"
{
"credits": 47,
"earned": 5,
"purchased": 42
}
Manage your subscription and billing history.
Get your current subscription status and billing info.
{
"subscription": {
"plan": "pro",
"status": "active",
"monthlyCredits": 62,
"nextBillingDate": "2026-03-12"
}
}
Create, list, and revoke API keys for your account.
List all your API keys.
Create a new API key.
| Parameter | Type | Description |
|---|---|---|
| namerequired | string | A descriptive name for the key |
| tier | string | Key tier: free, pro, or enterprise |
Revoke an API key (prefix match).
Add LaunchLabs to your deployment pipeline. Block on critical issues, store report links in build artifacts.
- name: LaunchLabs Pre-Flight Check
run: |
# Run fast agents on every deploy
RESULT=$(curl -s -X POST https://getlaunchlabs.com/api/scan \
-H "Content-Type: application/json" \
-H "x-api-key: ${{ secrets.LAUNCHLABS_API_KEY }}" \
-d '{"url":"${{ env.PREVIEW_URL }}","agents":["performance","seo","security"]}')
GRADE=$(echo $RESULT | jq -r '.grade')
REPORT_ID=$(echo $RESULT | jq -r '.reportId')
echo "Grade: $GRADE"
echo "Report: https://getlaunchlabs.com/report/$REPORT_ID"
# Block on F grade
if [[ "$GRADE" == "F" ]]; then
echo "โ LaunchLabs grade F - blocking deploy"
exit 1
fi
echo "โ
LaunchLabs grade: $GRADE"
reportId as a build artifact and link it in PR comments| Agent | Credits | Use Case |
|---|---|---|
| Priya (Onboarding) | 4 | Signup, empty states, activation |
| Zoe (Journey) | 4 | User flows, funnel, CTAs |
| Omar (Account) | 3 | Settings, profile, preferences |
| Kara (Admin) | 3 | Admin panel, roles, permissions |
| Amy (Billing) | 3 | Pricing, checkout, subscriptions |
| Diego (Auth) | 3 | Login, signup, session security |
| Noah (Security) | 3 | OWASP, vulnerabilities, XSS, SQLi |
| Maya (Accessibility) | 2 | WCAG, aria labels, keyboard nav |
| Grace (Copy) | 2 | Messaging, headlines, CTAs |
| Arjun (API) | 2 | Endpoints, contracts, error handling |
| Ethan (Performance) | 1 | Core Web Vitals, load time |
| Lina (Mobile) | 1 | Responsive, touch targets |
| Sofia (SEO) | 1 | Meta tags, sitemap, indexing |
| Hana (Trust) | 1 | Testimonials, social proof |
| Marcus (Legal) | 1 | Privacy policy, terms, compliance |