Retrieving Query statistics using the API requires specific syntax depending on whether you are using REST or SOAP. Use this table to find the syntax for your command.

REST Syntax

Click to view all REST Resources
/REST/QPSReport/ POST — Retrieve information to create a Queries Per Second (QPS) report.

QPS data is available with the following breakdowns based on type and granularity.

Breakdown 24-Hours 30-Days 45-Days Year
Host 1-Hour 1-Hour    —    —
Record 5-minute 1-Hour 1-Hour 4-Hour
Zone 5-minute 1-Hour 1-Hour 4-Hour
Account* 5-minute 1-Hour 1-Hour 4-Hour

* Account does not require a breakdown argument

HTTP Action — POST

URIs — https://api.dynect.net/REST/QPSReport/

Arguments — Click for More Info

Response:
string csv — The report data in csv format.

Dyn Logo

SOAP Syntax

Click to view all SOAP Commands
GetQueryStats — Retrieve information to create a Queries Per Second (QPS) report.
Arguments — Click for More Info

Response:
string csv — The report data in csv format.
Example Request — Click for More Info