/domains
No charge
200 OK on success
List the domains owned by your reseller account with search, status filter and pagination.
Operation: listDomains
Query parameters
q |
optional search text matched against the domain name |
status |
optional one of active, expired, pending, pending_transfer, cancelled |
per_page |
optional integer 1-100, default 25 |
page |
optional integer page number |
Good to know
- Only domains owned by the API key account are returned.
- Send status=all (or omit status) to search every status.
cURL
curl -X GET "https://reseller.co.tz/api/v1/domains" \
-H "X-API-KEY: $RESELLER_API_KEY" \
-H "Accept: application/json"
Sample response (200 OK)
{
"success": true,
"message": "Domains loaded successfully.",
"data": {
"domains": [
{
"id": 123,
"domain_name": "example.co.tz",
"status": "active",
"registry_status": "active",
"redemption_state": "grace",
"in_redemption": false,
"renewal_price": 20000,
"redemption_price": null,
"registration_date": "2026-05-28",
"expiry_date": "2027-05-28",
"lock_status": false,
"privacy_status": false,
"last_synced_at": "2026-05-28T12:00:00.000000Z"
}
],
"pagination": {
"current_page": 1,
"per_page": 25,
"total": 1,
"last_page": 1
}
}
}