Social Media Scraping 2 min read

How to Get the Estimated Age & Gender of a Social Media Creator (Using Just Their Profile Pic)

Learn how to detect a creator’s age and gender using Amazon Rekognition or the Scrape Creators API. Perfect for influencer analysis or ad targeting.

by
Image of Instagram profile on left and the json of their age and gender on right

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:

  1. Scrape the creator’s social profile
  2. Download their avatar/profile image
  3. Send it to Amazon Rekognition
  4. Boom. Get the age/gender back

Here’s an example of the AWS Rekognition portion in Node.js:

import { DetectFacesCommand, RekognitionClient } from "@aws-sdk/client-rekognition";

const rekognition = new RekognitionClient({
  region: "us-east-1",
  credentials: {
    accessKeyId: process.env.AWS_ACCESS_KEY_ID,
    secretAccessKey: process.env.AWS_SECRET_ACCESS_KEY,
  },
});

const command = new DetectFacesCommand({
  Image: { Bytes: imageBuffer },
  Attributes: ["ALL"],
});
const response = await rekognition.send(command);

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.

📄 Docs here

Or check out our full suite of APIs for TikTok, Instagram, YouTube, Reddit and more, including ad** **libraries.

FAQ

Frequently asked
questions

Can't find what you're looking for? Email me.

Adrian Horning

Written by

Adrian Horning

Founder of ScrapeCreators. I write about social data APIs, scraper reliability, and turning public creator data into useful products.

Connect

ScrapeCreatorsScrapeCreators

Social Media Scraping API
for Developers

Real-time data from TikTok, Instagram, YouTube, X, Facebook, Reddit, and more.

Real-time Data

Fresh, accurate, always up-to-date.

No Proxies

We handle the infrastructure.

Developer First

Simple API. Powerful results.

TikTok logoInstagram logoYouTube logoX logoFacebook logoReddit logo
{200 OK
"platform": "youtube",
"type": "video",
"title": "Never Gonna Give You Up",
"views": 12504321,
"transcript": "We're no strangers to love...",
}
Success124ms
Purple gift box representing 100 free ScrapeCreators credits

Get 100 credits on us - instantly.

No credit card required. Start building for free.

Try the API, on us.

New developers get 100 free credits automatically when they sign up. No credit card required.

Get started free
Trusted by 10,000+ developers
99.9% uptime
Secure API access