A profile is an Activision profile, it can be linked with some platform IDs
You can fetch your own identities with the API call
https://my.callofduty.com/api/papi-client/crm/cod/v2/identities
With the result
{
"status": "success",
"data": {
"titleIdentities": [
{
"title": "",
"platform": "",
"username": "",
"activeDate": 1605284479000,
"activityType": "",
"id": null
},
]
}
}
1605284479000 is the last timestamp of the play time (in millis)