Direct HTTP access to all Baseline Labs features. Authenticate with your API key and call from any language.
https://baselinelabs.ai/api/
Authenticate with X-API-Key: bl_your_key header on every request.
List all your projects.
{
"saves": [
{ "id": 42, "name": "My Brand", "url": "https://mybrand.com" }
]
}
Create a new project.
{ "name": "My Brand", "url": "https://mybrand.com" }
Run a search across Google, GPT, Perplexity, and Gemini. Costs credits.
{
"save_id": 42,
"queries": ["best project management tools", "top PM software 2026"]
}
Returns a search ID. Poll for results:
Get search results once processing completes.
List your report templates.
Run a visibility report from a template. Costs credits.
{ "template_id": 12 }
Get report results including per-query rankings.
Create a brand mention scan. Costs credits.
{ "save_id": 42, "brand_name": "My Brand" }
Get scan results and individual mention records.
Generate schema.org JSON-LD for any URL using GPU inference.
{ "url": "https://example.com/page" }
Response:
{
"url": "https://example.com/page",
"schema_url": "https://schema.baselinelabs.ai/abc123.json",
"cached": true,
"inference_ms": 12
}
Check async schema generation job status (for jobs >5s).
All errors return JSON with a detail field.
Ask me about your projects, reports, brand mentions, backlinks, or anything on the platform.