> ## Documentation Index
> Fetch the complete documentation index at: https://x-preview-mintlify-sse-streaming-1775019876.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# X Developer Platform

> Build, analyze, and innovate with X's real-time global data. Access posts, users, trends, and more through modern APIs with flexible pay-per-usage pricing.

export const Button = ({href, children}) => {
  return <div className="not-prose group">
    <a href={href}>
      <button className="flex items-center space-x-2.5 py-1 px-4 bg-primary-dark dark:bg-white text-white dark:text-gray-950 rounded-full group-hover:opacity-[0.9] font-medium">
        <span>
          {children}
        </span>
        <svg width="3" height="24" viewBox="0 -9 3 24" class="h-6 rotate-0 overflow-visible"><path d="M0 0L3 3L0 6" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round"></path></svg>
      </button>
    </a>
  </div>;
};

## Products

Choose the access level that fits your needs.

<CardGroup cols={2}>
  <Card title="X API — Pay-per-use" icon="coins" href="/x-api/introduction">
    Flexible, credit-based pricing with no subscriptions or commitments. Access posts, users, spaces, DMs, lists, trends, media, and more. Pay only for what you use and scale up or down anytime.
  </Card>

  <Card title="X API — Enterprise" icon="building" href="/enterprise-api/introduction">
    Everything in the pay-per-use API plus exclusive high-volume endpoints like the full firehose, volume streams, likes streams, engagement metrics, and Powerstream. Includes dedicated account management, custom rate limits, and tailored packages.
  </Card>
</CardGroup>

<Tip>
  Earn free [xAI API](https://docs.x.ai) credits when you purchase X API credits — up to 20% back based on your spend. [Learn more](/x-api/getting-started/pricing#free-xai-api-credits)
</Tip>

***

## Get started

<Card title="X Activity API: Now Generally Available" icon="bolt" iconType="solid">
  <div
    style={{
position: 'relative',
minHeight: '90px'
}}
  >
    <div
      style={{
  position: 'absolute',
  top: '25%',
  left: '85%',
  transform: 'translate(-50%, -50%)',
  opacity: 0.10,
  zIndex: 0,
  width: '40%',
  maxWidth: '320px',
  pointerEvents: 'none',
  filter: 'grayscale(1)'
}}
    >
      <img src="https://mintcdn.com/x-preview-mintlify-sse-streaming-1775019876/l8CrHpCNE5Md_K59/logo/logo.svg?fit=max&auto=format&n=l8CrHpCNE5Md_K59&q=85&s=0462202c2feafd91e185944bcee679b5" alt="X logo" style={{ width: '100%' }} width="1200" height="1227" data-path="logo/logo.svg" />
    </div>

    <div style={{ position: 'relative', zIndex: 1 }}>
      The X Activity API is officially out of beta. Subscribe to real-time activity events like profile updates, follows, and more with <span style={{fontWeight: 500, color: 'rgba(255,255,255,0.75)'}}>sub-second delivery</span> via streaming or webhooks.

      <br />

      <br />

      <Button href="/x-api/activity/introduction">Learn more</Button>
    </div>
  </div>
</Card>

<CardGroup cols={3}>
  <Card title="Quickstart" icon="rocket" href="/x-api/getting-started/make-your-first-request">
    Get your API keys and make your first request in minutes.
  </Card>

  <Card title="API Reference" icon="code" href="/x-api/introduction">
    Explore endpoints for posts, users, spaces, DMs, lists, and more.
  </Card>

  <Card title="SDKs" icon="cube" href="/tools-and-libraries">
    Official Python and TypeScript SDKs for faster development.
  </Card>
</CardGroup>

***

## Resources

<CardGroup cols={2}>
  <Card title="Tutorials" icon="book" href="/tutorials">
    Step-by-step guides for common use cases and integrations.
  </Card>

  <Card title="Tools & Libraries" icon="toolbox" href="/tools-and-libraries">
    Official SDKs and community libraries for every language.
  </Card>

  <Card title="Developer Forum" icon="comments" href="https://devcommunity.x.com">
    Get help from the community and X team.
  </Card>

  <Card title="Changelog" icon="clock-rotate-left" href="/changelog">
    Stay updated on API changes and new features.
  </Card>

  <Card title="X Ads API" icon="rectangle-ad" href="/x-ads-api/introduction">
    Programmatically manage ad campaigns, targeting, creatives, and analytics.
  </Card>

  <Card title="X for Websites" icon="laptop-code" href="/x-for-websites/x-for-websites">
    Embed posts, timelines, and follow buttons on your website.
  </Card>
</CardGroup>
