I want to code a twitter interface but I need to check programatically if the account wasn't created recently, to avoid bots and new users.
Is there a way via the API to get that information from a given username?
Day of birth is not available via de Twitter-API and probably never will be. This is deemed sensitive information by Twitter.
Here are all user-fields you can retrieve: https://developer.twitter.com/en/docs/twitter-api/users/lookup/api-reference/get-users-id
edit: You can retrieve the 'created_at'-field to get the creation date (I believe as a timestamp)