REST API

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_KEY

Generate keys at Configure → Integrations → API. Rotate keys every 90 days; revoke immediately if exposed.

Base URL

https://api.gracker.ai/v1

Core Endpoints

EndpointMethodPurpose
/monitorsGET, POSTList or create monitors
/monitors/:idGET, PATCH, DELETEManage a single monitor
/promptsGET, POSTList or create prompts
/prompts/bulkPOSTBulk-import prompts
/responsesGETList responses (filterable)
/citationsGETList citations (filterable)
/visibilityGETAggregate visibility data
/portalsGET, POSTManage 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

PlanRequests / minuteRequests / day
Seed605,000
Growth30050,000
Scale1,000500,000
EnterpriseCustomCustom

Exceeded limits return 429 Too Many Requests with a Retry-After header.

SDKs

Official SDKs:

  • Node.js / TypeScriptnpm install @grackerai/sdk
  • Pythonpip install grackerai

Webhooks

Subscribe to real-time events instead of polling:

EventDescription
visibility.dropMonitor visibility drops past threshold
citation.newNew URL enters citation list
response.capturedNew AI response stored
sentiment.changeSentiment shifts past threshold

Configure webhook URLs at Configure → Integrations → Webhooks.

Status Page

Monitor API uptime at status.gracker.ai (opens in a new tab).