Get up to 50 X profiles in one request by handles and/or numeric user ids.
Endpoint
/v1/twitter/profiles
Query
X (Twitter) profile handle without the leading @. Repeat this parameter for multiple handles.
Numeric X (Twitter) user id. Repeat this parameter for multiple ids.
const response = await fetch( "https://api.socialfetch.dev/v1/twitter/profiles?handle=nasa", { headers: { "x-api-key": "YOUR_API_KEY" } } ); const data = await response.json(); console.log(data);