---
title: Detect Age and Gender API
slug: detect-age-gender
url: https://apyhub.com/dosvak/service/detect-age-gender
provider: Dosvak LLC
categories: [Artificial Intelligence, Image Processing]
tags: [face-detection, age-estimation, gender-classification, image-analysis, computer-vision]
auth: api_key
---

# Detect Age and Gender API

Analyze an uploaded image and get face-by-face age ranges, gender, scores, and bounding boxes. Useful for image moderation and demographic tagging.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `` | What it does Detects faces in an uploaded image and returns age range and gender information for ea… | 10 |

## About

## What it does
Age and Gender Detection analyzes an uploaded image and returns a face-by-face breakdown of estimated age range and gender. Send one binary image file in the request body and get back a structured result for each detected face, plus the total face count.

Each item in `results` includes the predicted `age` label, `gender`, `age_score`, `gender_score`, a `face_index`, and an optional bounding box in `bbox` with `x`, `y`, `w`, and `h`. That makes it easy to map predictions back to the exact face in the source image.

Use it when you need to add demographic signals to image workflows, such as sorting user-uploaded photos, analyzing event images, or tagging faces in moderation and analytics pipelines. Because the output is already structured, you can feed it directly into downstream logic without extra parsing.

Age and Gender Detection is designed for simple image-based face analysis: upload an image up to 20 MB, process the detected faces, and consume the predictions in your application.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/dosvak/service/detect-age-gender
