Skip to main content
Glama

NS1 MCP by usefulapi

Get query usage statistics

ns1_get_usage_stats
Read-only

DNS query counts for the whole account, one zone, or one record (give zone, or zone + domain + type). period is 1h, 24h or 30d; aggregate, expand, limit and after apply to the account and zone levels only (a record takes just period). If next_page is not null, call again with its after/limit. GET /v1/stats/usage[/{zone}[/{domain}/{type}]].

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
typeNoRecord type, e.g. A, AAAA, CNAME, MX, TXT.
zoneNoZone name, e.g. example.com.
afterNoContinue after this item: pass next_page.after from the previous reply.
limitNoMaximum items per page, 1-1000. Omit for NS1's default page size.
domainNoFull record name inside the zone, e.g. www.example.com (or the zone name itself for the apex).
expandNoBreak the counts down further. Account and zone level only.
periodNoTime window: 1h, 24h or 30d. Omit for the API default.
aggregateNoSum the counts over the period.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.