Skip to main content
Bookmark these essential resources for X API development.

Documentation


Tools

ToolDescription
Developer ConsoleManage apps, credentials, and billing
Postman CollectionInteractive API testing
Python SDKOfficial Python library
TypeScript SDKOfficial TypeScript library
OpenAPI SpecMachine-readable API specification

Learning


Community & Support


Stay updated

ResourceWhat you’ll get
ChangelogAll platform changes and updates
NewsletterMonthly roundup of news and features
Forum AnnouncementsImportant platform notices
API StatusReal-time service availability
Follow @XDevelopers and turn on notifications to catch breaking changes and new features.

Quick reference

Response structure

All v2 responses follow this structure:
{
  "data": { ... },      // Primary object(s)
  "includes": { ... },  // Expanded objects (if requested)
  "meta": { ... },      // Pagination info
  "errors": [ ... ]     // Partial errors (if any)
}

Common parameters

ParameterUse
tweet.fieldsRequest specific post fields
user.fieldsRequest specific user fields
expansionsInclude related objects
max_resultsLimit results per page
pagination_tokenGet next/previous page

Authentication methods

MethodUse case
Bearer TokenRead-only public data
OAuth 2.0User actions with fine-grained scopes
OAuth 1.0aUser actions (legacy, full permissions)
Full authentication guide →