curl --request GET \
--url https://api.projectdiscovery.io/v1/scans/token \
--header 'X-API-Key: <api-key>'
{
"scan_tokens": 123,
"used_scan_token": 123,
"remaining_scan_token": 123,
"base_domain_count": 123,
"remaining_domain_count": 123,
"is_scannable": true,
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z",
"expire_date": "2023-11-07T05:31:56Z",
"verified_domain": [
"<string>"
],
"old_plan": "<string>",
"old_plan_expired_at": "2023-11-07T05:31:56Z",
"subscription_type": "TRIAL"
}
Get user scan token usage details
curl --request GET \
--url https://api.projectdiscovery.io/v1/scans/token \
--header 'X-API-Key: <api-key>'
{
"scan_tokens": 123,
"used_scan_token": 123,
"remaining_scan_token": 123,
"base_domain_count": 123,
"remaining_domain_count": 123,
"is_scannable": true,
"start_date": "2023-11-07T05:31:56Z",
"end_date": "2023-11-07T05:31:56Z",
"expire_date": "2023-11-07T05:31:56Z",
"verified_domain": [
"<string>"
],
"old_plan": "<string>",
"old_plan_expired_at": "2023-11-07T05:31:56Z",
"subscription_type": "TRIAL"
}
Retrieve the Team ID from: https://cloud.projectdiscovery.io/settings/team
Example response
The response is of type object
.
Was this page helpful?