Base URL
All API requests use this base URL in production:https://api.cognerd.in/api/auth/login.
The sandbox and staging environments use different base URLs. Contact support to obtain a non-production base URL if you need one.
Request format
Send all request bodies as JSON and include theContent-Type: application/json header.
Response format
Successful responses return a JSON object with a2xx status code. The shape of the body varies by endpoint and is documented on each endpoint’s page.
Error responses always follow this structure:
Common error codes
Credits
Several API operations consume credits from your account balance. Credits are validated before the operation starts — if your balance is too low, the request is rejected immediately with a402 status.
Quick example
Here is a complete round-trip: authenticate, then fetch your current user profile. Step 1 — log in and get a tokenEndpoint groups
Authentication
Manage accounts and session tokens.
See the Authentication page for full details and code examples.
Brand Monitor
Scrape brand data and run AI-powered visibility analyses.
The
analyze endpoint streams results in real time using Server-Sent Events (SSE). See Brand Monitor — Analyze for details.
GEO assets
Generate AI-ready GEO files for your website and manage reports.
Generation is asynchronous:
POST /generate returns a jobId immediately. Poll GET /job/:jobId/status to track progress, then fetch the report when complete. See GEO Assets for the full workflow.
Content Studio
Create AI-optimized blog posts.
Credit cost depends on the requested content length. See Content Studio — Create Blog.
AEO reports
Run Answer Engine Optimization audits.
See AEO Report.