Quickstart
Get your first API response in under 3 minutes.
Free tier: Your first 1,000 requests are free. No credit card required.
1
Get your API key
Sign up at socialrouter.ai/dashboard, create an API key, and copy it. Keys start with sr_.
2
Install the SDK
pip install socialrouter3
Make your first request
import socialrouter
client = socialrouter.Client("sr_your_api_key")
# Read the latest from X
posts = client.read(
platform="x",
query="$TSLA",
sort="engagement",
limit=10
)
for post in posts.items:
print(f"@{post.author}: {post.text[:100]}")
print(f" Likes: {post.likes:,} | Retweets: {post.retweets:,}")What's next?
Now that you're making requests, explore the full API. Read from any of our 8 supported platforms, write to multiple platforms at once, or pull unified analytics.