CREATOR TOOLS API
Get Age and Gender
Retrieve get age and gender from Creator Tools with a single API request.
GET
/api/data/v1/detect-age-gender1credit base cost
Request parameters
Up to 1 creditURL to users social profile
Live requests use your prepaid balance. Cached responses cost zero where supported.
curl --request GET \
--url 'https://fetchgoblin.com/api/data/v1/detect-age-gender?url=https%3A%2F%2Ftwitter.com%2Flevelsio' \
--header 'x-api-key: YOUR_FETCHGOBLIN_API_KEY'Response
Example{
"success": true,
"credits_charged": 1,
"ageRange": {
"low": 23,
"high": 29
},
"gender": "Male",
"confidence": {
"gender": 82.51082611083984
}
}Example data from the API specification. Run a request to retrieve current data.
Response shape
This schema describes the documented data shape. Some platform fields may be absent or null. The response also includes your FetchGoblin request ID and current credit balance.
View JSON Schema +
{
"type": "object",
"properties": {
"success": {
"type": "boolean"
},
"credits_remaining": {
"type": "integer"
},
"credits_charged": {
"type": "integer"
},
"ageRange": {
"type": "object",
"properties": {
"low": {
"type": "integer"
},
"high": {
"type": "integer"
}
}
},
"gender": {
"type": "string"
},
"confidence": {
"type": "object",
"properties": {
"gender": {
"type": "number"
}
}
}
}
}