---
title: "What are the X API rate limits?"
description: "X API v2 rate limits per 15-minute window for search, timelines, post and user lookup, and how they interact with pay-per-use billing."
canonical_url: https://groundsocial.dev/answers/x-api-rate-limits
---
# What are the X API rate limits?

> X API v2 rate limits per 15-minute window for search, timelines, post and user lookup, and how they interact with pay-per-use billing.

_Updated 2026-11-27._

> **Short answer** X sets limits per endpoint in 15-minute windows, per app and per user: recent search is 450 per app and 300 per user, a user’s posts timeline 10,000 per app and 900 per user, users lookup 300 per app and 900 per user. Enterprise gets custom limits, and billing applies on top.

| Endpoint | Per app / 15 min | Per user / 15 min |
| --- | --- | --- |
| `GET /2/tweets/search/recent` | 450 | 300 |
| `GET /2/users/:id/tweets` | 10,000 | 900 |
| `GET /2/tweets` (many ids) | 3,500 | 5,000 |
| `GET /2/tweets/:id` | 450 | 900 |
| `GET /2/users` | 300 | 900 |
| `GET /2/users/:id` | 300 | 900 |

Recent search returns 10 posts by default, 100 at most. The Developer Console shows the limits on your own account.

## How to do it with Groundsocial

No 15-minute windows: you are limited by credits and the spend caps you set per key, and a `429` says how long to wait. A credit costs $1.00 to $0.40 per 1,000 depending on the pack, failed calls are refunded, and there are 100 free credits on signup, no card.

cURL:

```bash
curl "https://api.groundsocial.dev/v1/x/tweets/1585341984679469056" \
  -H "Authorization: Bearer $GROUNDSOCIAL_API_KEY"
```

TypeScript:

```ts
const res = await fetch('https://api.groundsocial.dev/v1/x/tweets/1585341984679469056', {
  headers: { Authorization: `Bearer ${process.env.GROUNDSOCIAL_API_KEY}` },
})
if (!res.ok) throw new Error((await res.json()).error.hint)
const data = await res.json()
```

Python:

```python
import os, requests

res = requests.get(
    "https://api.groundsocial.dev/v1/x/tweets/1585341984679469056",
    headers={"Authorization": f"Bearer {os.environ['GROUNDSOCIAL_API_KEY']}"},
)
res.raise_for_status()
data = res.json()
```

| Endpoint | Route | Credits |
| --- | --- | --- |
| [X (Twitter) tweet API](https://groundsocial.dev/endpoints/x-tweet-api) | `/v1/x/tweets/{id}` | 1 |
| [X (Twitter) user profile API](https://groundsocial.dev/endpoints/x-user-profile-api) | `/v1/x/users/{username}` | 1 |
| [X (Twitter) user tweets API](https://groundsocial.dev/endpoints/x-user-tweets-api) | `/v1/x/users/{username}/tweets` | 1 |

## More questions

### Do rate limits mean I won’t be billed?

No. X bills per resource read regardless of rate limits.

## Related

- [X API Basic tier limits](https://groundsocial.dev/answers/x-api-basic-tier-limits)
- [X API pricing in 2026](https://groundsocial.dev/blog/x-api-pricing-2026)

## Sources

- [X API rate limits (docs.x.com)](https://docs.x.com/x-api/fundamentals/rate-limits)
- [X API pricing (docs.x.com)](https://docs.x.com/x-api/getting-started/pricing)

Checked 27 Nov 2026. Follow the links for the latest.

X is a trademark of X Corp. We are not affiliated with or endorsed by X Corp.

_Canonical HTML: https://groundsocial.dev/answers/x-api-rate-limits_

## Site Navigation

### Global Hub
- [Home](https://groundsocial.dev/index.md)
- [Pricing](https://groundsocial.dev/pricing.md)
- [Endpoints](https://groundsocial.dev/endpoints.md)
- [For agents](https://groundsocial.dev/agents.md)
- [Docs](https://groundsocial.dev/docs.md)
- [Compare](https://groundsocial.dev/compare.md)
- [Blog](https://groundsocial.dev/blog.md)
- [Tutorials](https://groundsocial.dev/tutorials.md)
- [Changelog](https://groundsocial.dev/changelog.md)
- [llms.txt](https://groundsocial.dev/llms.txt)
- [Agent skill](https://groundsocial.dev/SKILL.md)

### On This Topic
- [Groundsocial: Social data in one API call](https://groundsocial.dev/index.md)
- [Pricing](https://groundsocial.dev/pricing.md)
- [Playground](https://groundsocial.dev/playground.md)
- [Use cases](https://groundsocial.dev/use-cases.md)
- [Brand monitoring API](https://groundsocial.dev/use-cases/brand-monitoring-api.md)
- [Social listening API](https://groundsocial.dev/use-cases/social-listening-api.md)
- [Comment scraping API](https://groundsocial.dev/use-cases/comment-scraping-api.md)
- [Influencer discovery API](https://groundsocial.dev/use-cases/influencer-discovery-api.md)
- [Video transcript API](https://groundsocial.dev/use-cases/video-transcript-api.md)
- [Ad library API](https://groundsocial.dev/use-cases/ad-library-api.md)
- [Review monitoring API](https://groundsocial.dev/use-cases/review-monitoring-api.md)
- [Trend detection API](https://groundsocial.dev/use-cases/trend-detection-api.md)
- [Social lead generation API](https://groundsocial.dev/use-cases/lead-generation-api.md)
- [Market research API](https://groundsocial.dev/use-cases/market-research-api.md)

## Structured data

```json
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://groundsocial.dev/"},{"@type":"ListItem","position":2,"name":"Answers","item":"https://groundsocial.dev/answers"},{"@type":"ListItem","position":3,"name":"What are the X API rate limits?","item":"https://groundsocial.dev/answers/x-api-rate-limits"}]}
```
