Requestly
Grok logo

Grok API

Access Grok, xAI's conversational AI with real-time X (Twitter) knowledge integration for up-to-date responses.

Verified
2026-02-03

At a glance

Essential information

Category
ai
Authentication
api_key
Free tier
Not available
Starting from$5.00/M tokens (input)

About

Grok API provides access to xAI's conversational AI model with real-time knowledge integration from X (Twitter). Built by Elon Musk's xAI company, Grok offers unique capabilities for understanding current events and social media context.

What you can build

  • Real-time news and trend analysis applications
  • Social media monitoring and analysis tools
  • Conversational AI with current events awareness
  • Content generation with up-to-date context
  • Twitter/X integration tools
  • Research assistants with real-time data access
Free tierNo
Starting from$5.00/M tokens (input)
NotesCurrently in beta; pricing subject to change. Access via X Premium+ subscription.

Last updated: 2026-02-03. Please refer to the official pricing page as pricing may have changed.

Alternatives

Similar APIs you might consider

Authentication & Limits

View Docs
Auth type
api_key
Rate limits
Based on tier; see documentation.

Steps to get API key

  1. 1Subscribe to X Premium+ at x.com
  2. 2Visit xAI developer portal at docs.x.ai
  3. 3Navigate to API Keys section
  4. 4Generate a new API key
  5. 5Copy and secure the key
  6. 6Use in Authorization header as Bearer token

FAQ

Grok has real-time access to X (Twitter) data, enabling it to provide current information and context about trending topics and recent events.
Requestly

Testing APIs?

Use Requestly's lightweight & local API Client