Database snapshot status
snapshotStatusShow the current full database snapshot of one WhoisFreaks database: the date it was created, its file name and the date it will be deleted (three months later). Snapshots: domains/whois (domain WHOIS), domains/dns (DNS), subdomains, ip/whois (IP WHOIS), asn/whois (ASN WHOIS), ip/country and ip/city (IP geolocation) and ip/security (IP reputation). Use it to see whether a newer snapshot is out, or to get the date the dated snapshot downloads need. For the daily files and feeds use databaseFileStatus. A snapshot that is not available yet returns "no data found" (HTTP 404). Behavior: read-only. Reads the publishing status of WhoisFreaks database files; it needs no API credits from your WhoisFreaks account (identified by the WHOISFREAKS_API_KEY environment variable or, on the hosted server, by the API key sent with the request or the account connected with OAuth) and changes nothing. If the call fails the result is a short message instead of data.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"snapshot": "<snapshot>"
},
"name": "snapshotStatus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| snapshot | Yes | Which full database snapshot to check. |