Ever wish you could instantly figure out how old a creator is, or whether they're male or female, just by looking at their profile picture?
Well…now you can!
With Amazon Rekognition, you can analyze any profile picture and get things like:
- Age range (e.g. 25–34)
- Gender (Male/Female)
- Confidence score (%)
- Whether they’re smiling, wearing glasses, have a beard, etc.
- Even their emotion (happy, sad, confused, etc.)
This is crazy powerful, especially for anyone doing influencer research, ad targeting, or demographic analysis.
How It Works
To get this kind of insight, here’s what you’d need to do:
- Scrape the creator’s social profile
- Download their avatar/profile image
- Send it to Amazon Rekognition
- Boom. Get the age/gender back
Here’s an example of the AWS Rekognition portion in Node.js:
import { RekognitionClient, DetectFacesCommand } from "@aws-sdk/client-rekognition";
// Initialize the Rekognition client
const rekognition = new RekognitionClient({
region: "us-east-1", // Your AWS region
credentials: {
accessKeyId: process.env.accessKeyId,
secretAccessKey: process.env.secretAccessKey,
},
});
// Prepare the parameters
const params = {
Image: {
Bytes: imageBuffer, // Buffer of the image
},
Attributes: ["ALL"], // Request all attributes
};
// Call Rekognition
const command = new DetectFacesCommand(params);
const response = await rekognition.send(command);
// Extract results
const face = response?.FaceDetails?.[0];
const result = {
ageRange: {
low: face?.AgeRange?.Low || null,
high: face?.AgeRange?.High || null,
},
gender: face?.Gender?.Value || null,
confidence: {
gender: face?.Gender?.Confidence || null,
},
};
Pretty slick, right?
Or… Just Use Scrape Creators (No Code Needed)
Don’t worry, we already built this for you.
With Scrape Creators, you can:
- Just paste in a profile URL
- We scrape the profile + download the image
- Then run it through Amazon Rekognition for you
- You get back age, gender, confidence
It’s one simple API call. No scraping or AWS setup required.
All you need is a GET
request to our API, like this: https://api.scrapecreators.com/v1/detect-age-gender?url=https://x.com/adrian_horning_
Then you will get a response that will look like:
{
"ageRange": {
"low": 27,
"high": 35
},
"gender": "Male",
"confidence": {
"gender": 98.2852783203125
}
}
And this is scary accurate.
When I got that picture taken I was 32 🤯
Try It Now
Use our /detect-age-gender
endpoint and pass a social profile URL.
Or check out our full suite of APIs for TikTok, Instagram, YouTube, Reddit and more, including ad libraries.