← Back to Fiber AI
Fetch Twitter/X user profile
Fetches a Twitter/X user profile by handle.
Fiber AI·$0.04 per call
Example code
// Using @orth/sdk - The simplest way to call APIs
// Install: npm install @orth/sdk
import Orthogonal from "@orth/sdk";
const orthogonal = new Orthogonal({
apiKey: process.env.ORTHOGONAL_API_KEY,
});
const output = await orthogonal.run({
api: "fiber",
path: "/v1/twitter/profile",
body: {
"handle": "example"
}
});
console.log(output);Body parameters
handlerequired
string
Twitter/X handle, with or without leading '@'.
Response
advice.0
string
output.id
string
output.bio
string
output.handle
string
output.location
string
output.createdAt
string
output.isVerified
boolean
output.tweetCount
null
output.displayName
string
output.externalUrl
null
output.followerCount
number
output.bannerImageUrl
string
output.followingCount
null
output.isBlueVerified
boolean
output.profileImageUrl
string
chargeInfo.method
string
chargeInfo.creditsCharged
number