> ## Documentation Index
> Fetch the complete documentation index at: https://x-preview-docs-xchat-security-practices.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">
    <a href={href}>
      <button className="x-btn">
        <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="https://mintcdn.com/x-preview-docs-xchat-security-practices/za3EtPGnX4A5mAEt/icons/xds/icon-coins.svg?fit=max&auto=format&n=za3EtPGnX4A5mAEt&q=85&s=b5ffff176fac9becb7f99b920a544b76" href="/x-api/introduction" width="24" height="24" data-path="icons/xds/icon-coins.svg">
    Credit-based pricing with no commitments. Pay only for what you use.
  </Card>

  <Card title="X API — Enterprise" icon="https://mintcdn.com/x-preview-docs-xchat-security-practices/j1snvNfz-YgFZMtA/icons/xds/icon-bank.svg?fit=max&auto=format&n=j1snvNfz-YgFZMtA&q=85&s=0c1532631d394f79bb4cf41df11ab535" href="/enterprise-api/introduction" width="24" height="24" data-path="icons/xds/icon-bank.svg">
    High-volume endpoints, dedicated account management, and custom rate limits.
  </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

<div className="x-card-vertical">
  <Card title="Pay Per Use Pricing Changes: Featuring Owned Reads" 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-docs-xchat-security-practices/meHZ7TxiXJ9bw5Ay/logo/logo.svg?fit=max&auto=format&n=meHZ7TxiXJ9bw5Ay&q=85&s=c2a4a42bbde6079bd96100b7ce9f6b70" alt="X logo" style={{ width: '100%' }} width="1200" height="1227" data-path="logo/logo.svg" />
      </div>

      <div style={{ position: 'relative', zIndex: 1 }}>
        Owned Reads let you access your own data at reduced cost. Requests for your own posts, bookmarks, followers, likes, and more are priced at <span style={{fontWeight: 500, color: 'rgba(255,255,255,0.75)'}}>\$0.001 per resource</span>.

        <br />

        <br />

        <Button href="/x-api/getting-started/pricing#owned-reads">Learn more</Button>
      </div>
    </div>
  </Card>
</div>

<CardGroup cols={3}>
  <Card title="Quickstart" icon="https://mintcdn.com/x-preview-docs-xchat-security-practices/eJqEz3TFDrD3qgRO/icons/xds/icon-rocket.svg?fit=max&auto=format&n=eJqEz3TFDrD3qgRO&q=85&s=480f6fcdc5fa3525b2278576d163f70c" href="/x-api/getting-started/make-your-first-request" width="24" height="24" data-path="icons/xds/icon-rocket.svg">
    Get your API keys and make your first request in minutes.
  </Card>

  <Card title="API Reference" icon="https://mintcdn.com/x-preview-docs-xchat-security-practices/za3EtPGnX4A5mAEt/icons/xds/icon-code.svg?fit=max&auto=format&n=za3EtPGnX4A5mAEt&q=85&s=a5d927fe0bdfc805d41fdceace5d8d96" href="/x-api/introduction" width="24" height="24" data-path="icons/xds/icon-code.svg">
    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="https://mintcdn.com/x-preview-docs-xchat-security-practices/j1snvNfz-YgFZMtA/icons/xds/icon-book.svg?fit=max&auto=format&n=j1snvNfz-YgFZMtA&q=85&s=53ef1d00a640acacc0dc3edbe5df2c5f" href="/tutorials" width="24" height="24" data-path="icons/xds/icon-book.svg">
    Step-by-step guides for common use cases and integrations.
  </Card>

  <Card title="Tools & Libraries" icon="https://mintcdn.com/x-preview-docs-xchat-security-practices/bbmqZ6GI7KcYVDK6/icons/xds/icon-wrench.svg?fit=max&auto=format&n=bbmqZ6GI7KcYVDK6&q=85&s=887a0ce2239f0586bec9f642cbd3b688" href="/tools-and-libraries" width="24" height="24" data-path="icons/xds/icon-wrench.svg">
    Official SDKs and community libraries for every language.
  </Card>

  <Card title="Developer Forum" icon="https://mintcdn.com/x-preview-docs-xchat-security-practices/za3EtPGnX4A5mAEt/icons/xds/icon-chat-unread.svg?fit=max&auto=format&n=za3EtPGnX4A5mAEt&q=85&s=754a7ce1d2aaee66ee89f9fb5ed06f9f" href="https://devcommunity.x.com" width="24" height="24" data-path="icons/xds/icon-chat-unread.svg">
    Get help from the community and X team.
  </Card>

  <Card title="Agent Resources" icon="https://mintcdn.com/x-preview-docs-xchat-security-practices/j1snvNfz-YgFZMtA/icons/xds/icon-ai-agents.svg?fit=max&auto=format&n=j1snvNfz-YgFZMtA&q=85&s=8a536e4dfbe01a4366b3ad0c47df906f" href="/tools/ai" width="24" height="24" data-path="icons/xds/icon-ai-agents.svg">
    llms.txt, skill.md, MCP servers, and resources for AI-powered development.
  </Card>
</CardGroup>

***

## Other products

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