Skip to main content

Get your API Key

To use the Core X Tracker API, you’ll need an API key. Contact us to request access.

Request API Access

Click here to request your API key

Make your first API call

Once you have your API key, you’re ready to make your first request. Let’s fetch information about a user:
curl https://api.corebot.app/v1/users/44196397 \
  -H "X-API-Key: your_api_key_here"

What’s next?

Great, you’ve made your first request! Here are some suggestions for what to do next:

Example: Building a Simple Dashboard

Here’s a complete example that fetches user data and displays basic statistics:
import requests
import json

class CoreXTrackerClient:
    def __init__(self, api_key):
        self.api_key = api_key
        self.base_url = "https://api.corebot.app/v1"
        self.headers = {"X-API-Key": api_key}
    
    def get_user(self, user_id):
        response = requests.get(
            f"{self.base_url}/users/{user_id}",
            headers=self.headers
        )
        return response.json()
    
    def get_user_tweets(self, user_id):
        response = requests.get(
            f"{self.base_url}/users/{user_id}/tweets",
            headers=self.headers
        )
        return response.json()

# Initialize client
client = CoreXTrackerClient("your_api_key_here")

# Fetch user data
user_data = client.get_user("44196397")
user = user_data['data']['user_result']['result']['legacy']

# Display user stats
print(f"User Statistics for @{user['screen_name']}")
print(f"Name: {user['name']}")
print(f"Followers: {user['followers_count']:,}")
print(f"Tweets: {user['statuses_count']:,}")
print(f"Location: {user.get('location', 'Not specified')}")

# Fetch recent tweets
tweets_data = client.get_user_tweets("44196397")
print("\nRecent Tweets:")
# Process tweets...

Need help?