X API cost calculator

Type in how many accounts you read, how often and how many posts each time, and get the monthly cost at X's API prices and the reads against X's cap.

Example figures: type in your own

X API, a month at X's prices
$3,300.00

Posts: 20 per account a day × 1,000 accounts × 30 days = 600,000 post reads × $0.005 = $3,000.00
Profiles: 1,000 accounts × 30 days = 30,000 user reads × $0.010 = $300.00
Total: $3,000.00 + $300.00 = $3,300.00 a month

Post reads against X's monthly cap
20%

600,000 charged post reads of the 3,000,000 a pay-per-usage plan allows per monthly billing cycle

A different product: Pipefetch's X profile endpoint, a month
$47.70 to $90.00

1,000 accounts × 1 check a day × 30 days = 30,000 requests, 1 credit each; every request that returns data is charged, with no deduplication
× $3.00 per 1,000 credits (Starter pack) = $90.00
× $1.59 per 1,000 credits (Scale pack) = $47.70

One request returns a profile and at most its 20 latest posts, as a logged-out visitor sees them. It is not X's API, and Pipefetch is not affiliated with X. About the endpoint.

X's prices as read on 19 November 2026 on X's pricing page. X may change them.

Free, no sign-up. It runs in your browser: what you type is not sent anywhere.

Checked on 2026-11-19.

How to use it

Type in how many X accounts you read, how many times a day you check them, and on how many days of the month. Then say what each check reads: a fixed number of the latest posts, which is what a simple script does, or only the posts that are new since the last check, which is what X's since_id parameter is for. Add your estimate of how many posts an account publishes a day; it matters when you check more than once a day or read only new posts. Last, say whether you read the profile (followers, bio) on each check.

The answer is the monthly bill at X's published prices, how much of X's monthly cap on post reads it uses, and the sum behind both. Under them, for comparison, is what the same checks would cost as requests to Pipefetch's X profile endpoint, which is a different product, explained below.

X's prices and rules, as the calculator uses them

X's pricing page, read on 19 November 2026, says "The X API uses pay-per-usage pricing." You buy credits in advance in the Developer Console and requests draw them down. For reads the rule is "Charged per resource returned in the response."

What you readX's priceIn the calculator
Posts: Read$0.005 per resourceEvery post a timeline request returns
User: Read$0.010 per resourceThe profile, when you read it on each check
Owned Reads$0.001 per resourceNot used: they apply when an app reads the data of the account that owns it
  • Deduplication. "All resources are deduplicated within a 24-hour UTC day window", and the window "resets at midnight UTC". A post or profile you have paid for is free for the rest of that UTC day.
  • A monthly cap. "Pay-per-usage plans are capped at 3 million Post reads per monthly billing cycle." For more, X points to an Enterprise plan.
  • The timeline's reach. X's timelines guide says the User Posts timeline returns the "3,200 most recent" posts of an account and that "Timelines return up to 100 Posts per request". Its since_id filter means "Return Posts after this ID".

The calculator uses these prices as they stood on that day. X adds that "Prices are subject to change" and that current rates are always in the Developer Console, so check there before you set a budget. To compare this estimate with what you really use, X's Usage endpoint (GET /2/usage/tweets) returns daily Post consumption counts.

How deduplication changes the bill

Deduplication works per UTC day, so how often you check matters less than what each check reads. With the example figures, 1,000 accounts and the latest 20 posts of each:

  • Once a day, every day: the same 20 posts are charged again each day, even when nothing changed: 600,000 post reads and $3,300.00 a month with the profiles.
  • Every hour: the first check of the day is charged 20 posts, and the 23 later ones only the posts that appeared since the check before. At 3 new posts a day that is 686,250 post reads and $3,731.25 a month: 24 times the requests for $431.25 more.
  • Only new posts, with since_id: each post is returned once, and a check that finds nothing new returns no posts. At 3 new posts a day that is 90,000 post reads and $750.00 a month, of which $300.00 is the daily profile.

The profile follows the same rule: read on every check, it is charged once per account per UTC day. X also calls deduplication "a soft guarantee" with edge cases "like service outages that result in resources not being deduplicated", so a real bill can come out higher than this estimate.

Where it stops

  • It works from averages: checks spread evenly over the day and posts published at an even rate. Accounts that post in bursts make the real figure differ.
  • A month here has 30 days; X bills per monthly billing cycle. An account with fewer posts than you ask for returns fewer and costs less.
  • It counts posts and profiles only. Expansions, such as the author or quoted posts, add objects to a response; the pricing page does not say how those are charged, so check the Developer Console if you use them.
  • It does not subtract free credits. The pricing page offers "$20 in free X API credits" to a new paying account after its first eligible card and first credit purchase, and a match of the first auto-recharge up to $50; the free credits page says they "expire 3 months after they are granted".
  • It does not check rate limits. X's rate limits for GET /2/users/:id/tweets are 10,000 requests per 15 minutes per app and 900 per user.
  • Above 3,000,000 post reads it still shows the cost, so you can see how far over the cap you are, but a pay-per-usage plan stops at the cap.
  • Writes, such as posting or liking, are priced per request and are not part of this sum.

The Pipefetch figure: a different product

The last figure in the panel is what the same checks would cost as requests to Pipefetch's X profile endpoint. It is not the same thing as X's API, and the two figures are not two prices for one service.

  • The official API reaches far more. It pages back through an account's 3,200 most recent posts, takes since_id, includes replies unless you exclude them, returns the fields X documents for each post, also searches and writes, and you read the data with X's permission.
  • Pipefetch reads what a logged-out visitor sees. One request returns a public account's profile and at most its 20 latest posts. There are no further pages, no since_id and no replies. Pipefetch is not affiliated with X.
  • It is billed per request, not per post. Every request that returns data costs 1 credit, including a check that finds no new posts; there is no deduplication. A request for an account that does not exist, or one that X refuses, costs nothing. An account may make 120 requests a minute.

The figure is shown at two rates: $3.00 per 1,000 credits in the smallest pack (Starter, $9 for 3,000 credits) and $1.59 per 1,000 in the largest (Scale, $199 for 125,000). Credits come in packs and never expire. Which figure is lower depends on the job: checking the 1,000 accounts every hour is 720,000 requests a month, $1,144.80 to $2,160.00, while X's deduplication keeps most of those repeats free.

For the two routes side by side, with code for both, read X API pricing: what it costs to read an account's posts.

Get the data automatically

If the latest 20 posts of each account are enough for your job, the X profile endpoint returns the profile with exact follower, following, post and list counts, and the latest posts with their like, repost, reply, quote, bookmark and view counts. To watch accounts, keep the ids of the posts you have stored and act on the new ones at each check:

Python
import os
import requests

seen = set()  # ids of the posts you have already stored

res = requests.get(
    "https://pipefetch.com/v1/x/profile",
    params={"username": "nasa", "limit": 20},
    headers={"x-api-key": os.environ["PIPEFETCH_API_KEY"]},
    timeout=90,
)
if res.status_code == 404:
    print("No such account, or it is suspended")  # not charged
else:
    res.raise_for_status()
    data = res.json()["data"]
    print(data["profile"]["followerCount"], "followers")
    for post in data["posts"]:
        if post["id"] not in seen:
            seen.add(post["id"])
            print(post["createdAt"], post["likeCount"], post["text"][:80])

Each request costs 1 credit, whatever the limit. An account that does not exist or is suspended answers 404 and costs nothing; when X refuses a request the answer is 502, also free and worth a retry. A protected account returns its profile with isProtected true and no posts. A new account has 100 free credits and needs no card.

Questions

How much does the X API charge to read posts?

X's pricing page, read on 19 November 2026, lists $0.005 for each post returned and $0.010 for each user (profile), paid from credits you buy in advance. One account's profile and its latest 20 posts come to $0.11.

Does X charge again when I read the same post twice?

Not on the same UTC day. X deduplicates every resource within a 24-hour UTC day window that resets at midnight UTC, so reading the same post or profile again that day is free. The next day it is charged again. X calls this a soft guarantee, with edge cases such as service outages.

How many posts can I read a month on pay-per-usage?

X caps pay-per-usage plans at 3 million post reads per monthly billing cycle and points to an Enterprise plan for more. Per account, the posts timeline reaches the 3,200 most recent posts, up to 100 per request.

Is there a free tier?

X's pricing page lists no free tier and no monthly plan. A new paying account can earn $20 in free credits after its first card and first purchase, and a match of its first auto-recharge up to $50; they expire 3 months after they are granted. The calculator does not subtract them.

Is Pipefetch the same as the X API?

No. Pipefetch is not affiliated with X. Its X profile endpoint reads what a logged-out visitor sees: a public profile and at most the 20 latest posts per request, for 1 credit. The official API reaches far more, including the 3,200-post timeline, paging and replies.

Does this tool send what I type anywhere?

No. The calculation runs in your browser. Nothing you type leaves the page.

Need this for many accounts, or in your code? The Pipefetch API returns the data as JSON, one GET request at a time. Get an API key with 100 free credits, no card needed.

APIs that return this data

Guides

More free tools

All free tools