Back to Use Cases
Social trading & market intelligence
eToro's social graph is unique in the industry. Copier counts, PI performance, feeds, comments — data no other financial API exposes.
Why eToro?
- Popular Investor (PI) data: copier counts, performance history, risk scores
- Social feeds: instrument-specific posts, trending discussions
- Comments API: read and write comments on instruments
- User profiles with granular performance analytics
- 35M+ users generating real social signal — not simulated data
How it works
Social APIs
Data Processing
Your Analytics
Insights
Code example
social_analytics.js
const BASE = "https://public-api.etoro.com/api/v1";
const headers = {
"x-api-key": process.env.ETORO_API_KEY,
"x-user-key": process.env.ETORO_USER_KEY,
"x-request-id": crypto.randomUUID(),
};
// Get Popular Investor data
const pi = await fetch(
`${BASE}/users/pi-data/JohnDoe`,
{ headers }
).then(r => r.json());
console.log(`Copiers: ${pi.data.copiers}`);
console.log(`12m Return: ${pi.data.performance12m}%`);
console.log(`Risk Score: ${pi.data.riskScore}/10`);
// Get social feed for an instrument
const feed = await fetch(
`${BASE}/social/feeds/instruments/1001`,
{ headers }
).then(r => r.json());
for (const post of feed.data.items) {
console.log(`[${post.author}] ${post.text.slice(0, 80)}...`);
}
// Get user performance analytics
const stats = await fetch(
`${BASE}/users/info/JohnDoe/performance`,
{ headers }
).then(r => r.json());
console.log(`Win rate: ${stats.data.winRate}%`);Relevant APIs
Social Feeds3
PI Data1
Users Info6
Comments1