REST API
GrackerAI's REST API enables custom integrations beyond the prebuilt connectors.
Authentication
All API requests require an API key in the Authorization header:
Authorization: Bearer YOUR_API_KEYGenerate keys at Configure → Integrations → API. Rotate keys every 90 days; revoke immediately if exposed.
Base URL
https://api.gracker.ai/v1Core Endpoints
| Endpoint | Method | Purpose |
|---|---|---|
/monitors | GET, POST | List or create monitors |
/monitors/:id | GET, PATCH, DELETE | Manage a single monitor |
/prompts | GET, POST | List or create prompts |
/prompts/bulk | POST | Bulk-import prompts |
/responses | GET | List responses (filterable) |
/citations | GET | List citations (filterable) |
/visibility | GET | Aggregate visibility data |
/portals | GET, POST | Manage portals |
Example: Bulk-Import Prompts
curl -X POST https://api.gracker.ai/v1/prompts/bulk \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"prompts": [
{
"text": "Best EDR for healthcare SaaS",
"type": "Organic",
"intent": "Commercial",
"group": "EDR-Healthcare"
},
{
"text": "CrowdStrike alternatives",
"type": "Competitor Comparison",
"intent": "Commercial",
"group": "Comp-CrowdStrike"
}
]
}'Example: Pull This Week's Citations
curl "https://api.gracker.ai/v1/citations?since=2026-04-20&limit=100" \
-H "Authorization: Bearer YOUR_API_KEY"Rate Limits
| Plan | Requests / minute | Requests / day |
|---|---|---|
| Seed | 60 | 5,000 |
| Growth | 300 | 50,000 |
| Scale | 1,000 | 500,000 |
| Enterprise | Custom | Custom |
Exceeded limits return 429 Too Many Requests with a Retry-After header.
SDKs
Official SDKs:
- Node.js / TypeScript —
npm install @grackerai/sdk - Python —
pip install grackerai
Webhooks
Subscribe to real-time events instead of polling:
| Event | Description |
|---|---|
visibility.drop | Monitor visibility drops past threshold |
citation.new | New URL enters citation list |
response.captured | New AI response stored |
sentiment.change | Sentiment shifts past threshold |
Configure webhook URLs at Configure → Integrations → Webhooks.
Status Page
Monitor API uptime at status.gracker.ai (opens in a new tab).