Plan summary per domain
gethttps://api.nsin.ir/features
Auth: Authorization: Bearer nsin_… or X-Api-Key: nsin_… — see API keys.
One row per domain you own (shared domains are not included), with the
plan it is on, the subscription status and when it expires — a cheap
overview. For what a domain's plan actually allows use
GET /domains/{domain}/features.
Responses
200Per-domain plan summary.
Content type: application/json
- domainsarray of DomainPlanSummary
Item fields
- idinteger
- namestring
- plan_slugstring
- plan_namestring
- statusstring
- expires_atstring (date-time)
{
"domains": [
{
"id": 0,
"name": "string",
"plan_slug": "string",
"plan_name": "string",
"status": "string",
"expires_at": "2026-01-01T00:00:00Z"
}
]
}401Missing, malformed, revoked or expired API key. (A valid key whose
account has been deactivated gets 403 account is inactive instead.)
Content type: application/json
- errorstringrequired
Human-readable description of what went wrong.
{
"error": "invalid API key"
}429The key exceeded its request budget (300 requests per minute by default).
Content type: application/json
- errorstringrequired
Human-readable description of what went wrong.
{
"error": "rate limit exceeded"
}Example request
curl -X GET "https://api.nsin.ir/features" \
-H "Authorization: Bearer $NSIN_API_KEY"