Apple Declared Age Range API: What It Means
In this article
Apple has not officially declared a single, public "age range API" for all developers. Instead, Apple provides age-related information through several distinct frameworks and policies: the Age Range declaration in App Store Connect (used for compliance and content ratings), the declared age range in the App Store Connect API, and privacy-focused age verification tools like Age Verification (introduced with the App Store for children's apps) and the Family Controls framework. The exact term "declared age range API" most commonly refers to the App Store Connect API endpoint that lets developers read and update the age range they declare for their app, which is a required field for apps that target children or handle age-restricted content.
Background: Why Apple Needs an Age Range
Apple's App Store has strict guidelines about age-appropriate content. Every app must declare an age rating (e.g., 4+, 9+, 12+, 17+), which is based on content like violence, sexual content, and profanity. For apps that specifically target children under 13, Apple requires compliance with the Children's Online Privacy Protection Act (COPPA) and the General Data Protection Regulation (GDPR) in the EU. To enforce these rules, Apple needs to know the intended age range of an app's audience. This is where the "declared age range" comes in—it's a self-reported field that developers set when submitting an app, and it's used to determine whether the app is subject to additional privacy requirements.
How the Declared Age Range Works
In App Store Connect, developers are asked: "What is the intended age range for your app?" The options are typically:
- Children (age 11 and under)
- Teens (age 12–17)
- Adults (age 18 and over)
- All ages (no specific target)
This declaration is separate from the content rating. For example, an educational game might have a 4+ content rating but be declared as "Children" because it's designed for kids. The declared age range is what triggers Apple's review for child-specific requirements, such as the need for parental gate, no third-party advertising, and no data collection without parental consent. The App Store Connect API includes an endpoint that allows developers to fetch and update this field programmatically, which is what people often refer to as the "declared age range API."
How to Access and Use the API
To use the App Store Connect API for age range, you need to:
- Have an Apple Developer account with App Store Connect access.
- Generate an API key in App Store Connect (under Users and Access > Integrations).
- Use the API endpoint
/v1/apps/{id}/appInfoto get the current age range, or/v1/appInfos/{id}to update it.
The response includes an ageRange field with values like NINE_AND_UP, FOUR_PLUS, etc., but the declared age range is actually a separate field called declaredAgeRange in the appInfo object. It can be one of: CHILDREN, TEENS, ADULTS, or ALL_AGES. You can update this value via a PATCH request, but Apple may re-review the app if the change is significant.
Common Problems and Misconceptions
One common misconception is that the declared age range is the same as the content rating. They are not. The content rating is about the content itself, while the declared age range is about the target audience. Another issue developers face is that changing the declared age range after launch can trigger a full review, and if the new range is "Children," the app must comply with all child-specific guidelines, which might require removing features like chat or social sharing. Also, the App Store Connect API only works with apps that have been created after a certain date; older apps might not have the field populated, and you may need to update via the web interface first.
Comparison with Other Age Verification Methods
Apple also offers Age Verification for apps that need to verify a user's age, but this is different from the declared age range. Age Verification is a client-side API (introduced in iOS 18) that lets apps ask the system to verify a user's age without revealing the exact birth date. It uses on-device processing and gives the app only the age range (e.g., 18+ or 13+). This is useful for apps that have age-restricted content but don't need to know the exact age. The declared age range, on the other hand, is a static declaration by the developer, not a per-user verification. For parental controls, Apple's Family Controls framework allows apps to manage screen time and restrictions, but it doesn't provide an age range API directly.
Costs and Requirements
Using the App Store Connect API is free, but you must be a member of the Apple Developer Program, which costs $99 per year. There are no additional fees for the age range endpoint. However, if you need to use Age Verification, that's also free, but it requires iOS 18 or later and a device that supports it. The main cost is in development time and potential app review delays if you need to change your declared age range.
Safety and Privacy Considerations
Apple's approach to age is designed to protect children's privacy. When an app declares its target age range as "Children," Apple enforces stricter rules: no data collection for advertising, no third-party trackers, and parental gate requirements for any external links or purchases. The Age Verification API is privacy-preserving because it doesn't share the exact birth date with the app—only a verified age range. Developers should be aware that misrepresenting the declared age range can lead to app rejection or removal. For example, if an app is clearly aimed at kids but declared as "Adults," Apple may reject it during review.
Frequently Asked Questions
Is there a public API for age verification?
Yes, Apple provides the Age Verification API in iOS 18 and later, but it's not a simple REST API. It's a framework that apps integrate, and it requires the user to be signed into iCloud. The app receives a verified age range (like 18+) without getting the exact birth date.
Can I change my app's declared age range after submission?
Yes, you can change it via App Store Connect or the API, but the change may trigger a review. If you change it to "Children," you must ensure your app complies with all child privacy requirements before submitting the update.
What's the difference between age rating and declared age range?
The age rating (4+, 9+, etc.) is based on content and is set by Apple's review team. The declared age range is what you, as the developer, state as your target audience. They can be different—e.g., a 12+ rating app might still be declared as "Teens" if it's meant for that age group.
Does the declared age range affect app store search or ranking?
Not directly. It doesn't affect search ranking, but it can affect eligibility for certain features like Family Sharing or being listed in the Kids category. Apps declared as "Children" may be featured in the Kids section and are subject to stricter guidelines.
Is the declared age range API available for all apps?
It's available for all apps in the App Store Connect API, but you need to have the right permissions and the app must be in a state that allows updates. For very old apps, you might need to update the field manually in the web interface first.