Twitter Keyword Monitoring API: X API Costs vs a Monitor
What keyword monitoring costs on the official X API in 2026, at $0.005 per post read, and how an AyeWatch X Search monitor with a signed webhook compares. Code and credit math included.
By AyeWatch Team5 min read
Short answer: For Twitter keyword monitoring through an API, you can poll X's recent search endpoint, which bills $0.005 for each post it returns under X's pay-per-use pricing, or create an AyeWatch X Search monitor with one API call. The monitor costs 2 credits a check however many posts match, and new matches arrive on a signed webhook.
What the official X API charges in 2026
X's pricing page, as we read it on 27 November 2026, describes pay-per-usage pricing with no subscriptions. You buy credits upfront in the Developer Console, and each request deducts from them. The figures that matter for keyword monitoring:
- Post reads cost $0.005 each, charged per post returned. A search that returns 100 posts costs $0.50.
- Repeat reads are deduplicated within a 24-hour UTC day, which X calls a soft guarantee.
- Post reads are capped at 3 million per monthly billing cycle. Above that, X points you to an Enterprise plan.
- Recent search covers the last 7 days, takes queries up to 512 characters and returns up to 100 posts per request.
- Filtered stream on pay-per-use allows 1,000 rules of up to 1,024 characters, with core operators only.
Prices change, so check X's pricing docs before you budget.
What one keyword costs on each
On the X API you pay per post, so cost follows volume. On AyeWatch you pay per check, so cost follows how often you look.
- A niche phrase with 50 matches a day: 1,500 post reads a month, $7.50 on the X API. The poller, storage and alerting are yours to build.
- A brand name with 2,000 matches a day: 60,000 post reads, about $300 a month.
- Either search as an AyeWatch X Search monitor with an "Only alert me about" filter, checked every 6 hours: 3 credits × 120 checks = 360 credits a month, at any volume. Checked daily, 3 × 30 = 90.
They are not the same product. The X API hands you every matching post as data. An AyeWatch monitor reads the newest results at each check and sends a short summary of what is new, with links. If you need each post as a row for analysis, use the X API. If you need to know when people say something worth acting on, a monitor costs less at volume.
Create an X Search monitor from code
An X Search monitor takes X's own syntax: quotes, OR, -word, from:, @mentions, hashtags and lang:. Test the query in X's search box or with the X advanced search builder first. Then create it with source.mode set to x_search:
import os
import requests
resp = requests.post(
"https://ayewatch.ai/api/v1/topics",
headers={"Authorization": "Bearer " + os.environ["AYEWATCH_API_KEY"]},
json={
"name": "Invoicing app requests on X",
"source": {
"mode": "x_search",
"inputs": {
"query": '("looking for" OR "can anyone recommend") ("invoicing app" OR "invoice software") -hiring lang:en',
"filter": "Only posts where someone asks for invoicing software for their own business",
},
},
"interval": "6_hours",
},
timeout=30,
)
resp.raise_for_status()
monitor = resp.json()["data"]
print(monitor["id"], monitor["name"])
The filter is the "Only alert me about" rule, up to 200 characters, and adds 1 credit a check. Without a name, the monitor is named after its source. A comma list without X syntax, such as invoicing app, invoice software, is sent as quoted phrases joined by OR. To cover a few accounts in one monitor, search from:northwindlabs OR from:orbitscience. A single account is an x_profile source with its profile link, such as https://x.com/northwindlabs.
What your webhook receives
Each check that finds new matching posts sends one delivery. A made-up example for the query above:
{
"topic_id": 6120,
"topic_name": "Invoicing app requests on X",
"update_id": 88412,
"headline": "Two freelancers ask for invoicing app suggestions",
"content": "A bookkeeper in Leeds asks which invoicing app handles clients in two currencies, and a designer wants one that sends automatic payment reminders.",
"created_at": "2026-12-03T09:05:00Z",
"evidence": [
{ "quote": "can anyone recommend an invoicing app that does GBP and EUR?", "source_url": "https://x.com/maple_ledger/status/1863349000000000001" }
]
}
Route on topic_id if one receiver serves several monitors. When you reply to a post like this, write as a person: answer the question, say who you are, and follow X's rules. AyeWatch sends alerts; it never posts or replies for you.
When the X API is the better tool, and what a monitor won't catch
- You need every post as data, with metrics, for dashboards or research. A monitor sends summaries.
- You need history. X offers full-archive search on pay-per-use. A monitor starts on the day you create it.
- You post, reply or read DMs. AyeWatch reads public posts only.
- Very busy queries. Each check reads the newest page of results, so on a term with thousands of posts an hour, many go by between checks. Narrow it with phrases and -words.
- Protected accounts. Their posts are not public, so no monitor can read them.
Cost
AyeWatch Pro is $9/mo with 50 topics and hourly checks; Pro+ is $19/mo with 200 topics and ASAP mode. Every plan starts with a 7-day free trial. An X Search, Profile or Community monitor costs 2 credits a check, plus 1 with a filter. Hourly without a filter is 2 × 720 = 1,440 credits a month, which fits inside Pro+ on its own. With the filter it is 3 × 720 = 2,160, more than Pro+ includes, so check filtered searches every 6 hours or daily.
From query to webhook
- Write the query in X's search box until the Latest tab shows the posts you want and few you don't.
- Create an API key in API access settings.
- Deploy a receiver that verifies X-AyeWatch-Signature, then register it with PUT /api/v1/webhook.
- Create the x_search monitor with the query, a filter and an interval, as in the code above.
- Read the first check in the app. It shows what AyeWatch found, so you can tighten the query before alerts pile up.
| X API pay-per-use | AyeWatch X Search monitor | |
|---|---|---|
| Billing unit | $0.005 per post returned | 2 credits a check, 3 with a filter |
| 2,000 matches a day for 30 days | 60,000 reads, about $300 | 360 credits, filtered, every 6 hours |
| Query syntax | X operators, 512 characters on recent search | X's own syntax |
| Delivery | You poll, or hold a stream open | Signed JSON webhook, retried |
| History | 7 days on recent search; full archive available | From the day you create the monitor |
| Output | Every post as data | A summary of what is new, with links |
Start a monitor in under a minute
Describe a topic or paste a URL. Cancel before the trial ends and you pay nothing.
Try it free for 7 daysThe bottom line
Price your keyword both ways: count a week of matches in X's search, multiply by $0.005, and compare with 2 or 3 credits a check. If you need the posts as data, use the X API; if you need to act on them, create the monitor.
FAQ
How much does the X API cost for keyword monitoring?
Under X's pay-per-use pricing, each post returned costs $0.005, so 60,000 matching posts a month cost about $300. Post reads are capped at 3 million per monthly billing cycle.
Does X still have a free API tier?
X's pricing page describes pay-per-use with no subscriptions and lists no free tier. It mentions promotional credits for new paying users, so check the page for the current offer.
Do I need an X API key to use AyeWatch's X monitors?
No. AyeWatch reads public X posts without your X login or an X API key. You need an AyeWatch API key, which comes with paid plans.
Can one monitor cover several X accounts?
Yes, as an X Search such as from:northwindlabs OR from:orbitscience. An X Profile monitor covers one account.
How fast do X alerts arrive?
After the next check finds the posts. Pro checks as often as hourly, and Pro+ adds ASAP mode, the fastest checks.