> ## Documentation Index
> Fetch the complete documentation index at: https://lava.so/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Agify

> Predicts the likely age of a person from their first name, using a database of 100M+ names across 200+ countries.

Predicts the likely age of a person from their first name, using a database of 100M+ names across 200+ countries. Best for demographic enrichment, audience segmentation, or age-aware personalization when only a name is available. Returns an integer age estimate, optionally scoped by country. A Demografix API, sibling to Genderize (gender) and Nationalize (nationality).

1 endpoint available through Lava's AI Gateway. See the [Agify API docs](https://agify.io/documentation) for full documentation.

<Info>Supports both **managed** (Lava's API keys) and **unmanaged** (bring your own credentials) mode.</Info>

## Endpoints

### Predict the likely age of a person from their first name, optionally localized with country\_id. Accepts a single name or a batch of up to 10 via repeated name query parameters. Billed per name.

**GET** `https://api.agify.io?name=meelad` — \$0.0008 / request

<Tabs>
  <Tab title="SDK">
    ```typescript theme={null}
    const data = await lava.gateway('https://api.agify.io?name=meelad', { method: 'GET' });
    ```
  </Tab>

  <Tab title="cURL">
    ```bash theme={null}
    curl "https://api.lava.so/v1/forward?u=https%3A%2F%2Fapi.agify.io%3Fname%3Dmeelad" \
      -H "Authorization: Bearer $LAVA_SECRET_KEY"
    ```
  </Tab>
</Tabs>

## Next Steps

<CardGroup cols={2}>
  <Card title="All Providers" icon="grid" href="/gateway/supported-providers">
    Browse all supported AI providers
  </Card>

  <Card title="Forward Proxy" icon="route" href="/gateway/forward-proxy">
    Learn how to construct proxy URLs and authenticate requests
  </Card>
</CardGroup>
