Skip to main content
POST
/
monitors
/
keywords
Create keyword monitor
curl --request POST \
  --url https://api.example.com/monitors/keywords \
  --header 'Content-Type: <content-type>' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "query": "<string>",
  "eventTypes": [
    "<string>"
  ]
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.xquik.com/llms.txt

Use this file to discover all available pages before exploring further.

Requires credits - 21 credits per active monitor hour
Keyword monitors are unlimited. Active monitors check every 1 second. Webhook and event deliveries are included in active monitor billing.
curl -X POST https://xquik.com/api/v1/monitors/keywords \
  -H "x-api-key: xq_YOUR_KEY_HERE" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "xquik OR \"x api\"",
    "eventTypes": ["tweet.new"]
  }' | jq

Headers

x-api-key
string
required
Your API key. Session cookie authentication is also supported. Generate a key from the dashboard.
Content-Type
string
required
Must be application/json.

Body

query
string
required
X search query to monitor. Whitespace is normalized. Maximum length is 160 characters.
eventTypes
string[]
required
Array of event types to subscribe to. At least 1 required.

Valid event types

Event TypeDescription
tweet.newNew matching tweet
tweet.quoteMatching quote tweet
tweet.replyMatching reply
tweet.retweetMatching retweet

Response

id
string
Unique keyword monitor ID.
query
string
Normalized query being monitored.
eventTypes
string[]
Event types this monitor is subscribed to.
isActive
boolean
Whether the monitor is currently active.
createdAt
string
ISO 8601 creation timestamp.
nextBillingAt
string
Next hourly credit charge time.
{
  "id": "21",
  "query": "xquik OR \"x api\"",
  "eventTypes": ["tweet.new"],
  "isActive": true,
  "createdAt": "2026-02-24T10:30:00.000Z",
  "nextBillingAt": "2026-02-24T11:30:00.000Z"
}
If a keyword monitor for the same query exists but is paused, creating it again reactivates that monitor with the new event types.
Next steps: List Keyword Monitors to see all keyword monitors, or Create Webhook to receive matching events.
Last modified on May 6, 2026