Skip to main content
The X API uses pay-per-usage pricing. No subscriptions, no monthly caps—pay only for what you use.

How it works

Credit-based

Purchase credits upfront in the Developer Console. Credits are deducted as you make API requests.

Per-endpoint pricing

Different endpoints have different costs. View current rates in the Developer Console.

No commitments

No contracts, subscriptions, or minimum spend. Start and stop anytime.

Real-time tracking

Monitor usage and costs live in the Developer Console.

Deduplication

All resources are deduplicated within a 24-hour UTC day window. If you request and are charged for a resource (such as a Post), requesting the same resource again within that window will not incur an additional charge. This means:
  • Requesting the same Post multiple times in a day counts as one charge
  • The deduplication window resets at midnight UTC
  • This applies to all billable resources (Posts, users, etc.)
Deduplication is a soft guarantee. While it occurs in the vast majority of cases, there may be specific edge cases like service outages that result in resources not being deduplicated.

Credit balance

Your credit balance is displayed in the Developer Console. Credits are deducted in real-time as you make API requests.
Monitor your credit balance regularly to avoid service interruptions. Add credits before your balance reaches zero to ensure uninterrupted API access.Note: It is possible for an account credit balance to go slightly negative. In this case, API requests will be blocked until you add credits to cover the negative balance.

Auto-recharge

Enable auto-recharge to automatically top up your credit balance and avoid service interruptions. Configure this in the Developer Console:
SettingDescription
Recharge amountThe amount to add when auto-recharge triggers (e.g., $25)
Trigger thresholdAuto-recharge activates when your balance falls below this amount (e.g., $5)
Auto-recharge requires a saved payment method set as your default. You can cancel anytime in the Developer Console or by contacting support.

Spending limits

Set a maximum amount you can spend per billing cycle to control costs. When the limit is reached, API requests will be blocked until the next billing cycle.
OptionDescription
Spending limitSet a specific dollar amount as your maximum spend per billing cycle
Use spending limits to prevent unexpected charges, especially during development and testing.

Monitoring usage

Track your API usage programmatically with the Usage endpoint:
curl "https://api.x.com/2/usage/tweets" \
  -H "Authorization: Bearer $BEARER_TOKEN"
This returns daily Post consumption counts, helping you:
  • Track consumption against your budget
  • Set up alerts when approaching limits
  • Identify high-consumption endpoints
  • Generate usage reports

Enterprise pricing

For high-volume access with dedicated support, custom rate limits, and additional features, contact our enterprise sales team.

Next steps