List Registrations
registrar.registrations.list(RegistrationListParams**kwargs) -> SyncCursorPagination[Registration]
GET/accounts/{account_id}/registrar/registrations
Returns a paginated list of domain registrations owned by the account.
This endpoint uses cursor-based pagination. Results are ordered by registration
date by default. To fetch the next page, pass the cursor value from the
result_info object in the response as the cursor query parameter in
your next request. An empty cursor string indicates there are no more
pages.
Security
API Token
The preferred authorization scheme for interacting with the Cloudflare API. Create a token.
Example:
API Email + API Key
The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.
Example:
The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.
Example:
List Registrations
import os
from cloudflare import Cloudflare
client = Cloudflare(
api_token=os.environ.get("CLOUDFLARE_API_TOKEN"), # This is the default and can be omitted
)
page = client.registrar.registrations.list(
account_id="023e105f4ecef8ad9ca31a8372d0c353",
)
page = page.result[0]
print(page.auto_renew){
"errors": [],
"messages": [],
"result": [],
"result_info": {
"count": 0,
"cursor": "",
"per_page": 20
},
"success": true
}{
"errors": [],
"messages": [],
"result": [
{
"auto_renew": true,
"created_at": "2025-01-15T10:00:00Z",
"domain_name": "example.com",
"expires_at": "2026-01-15T10:00:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": false,
"created_at": "2025-03-20T14:30:00Z",
"domain_name": "mybrand.dev",
"expires_at": "2026-03-20T14:30:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
}
],
"result_info": {
"count": 2,
"cursor": "",
"per_page": 20
},
"success": true
}{
"errors": [],
"messages": [],
"result": [
{
"auto_renew": true,
"created_at": "2025-04-01T09:00:00Z",
"domain_name": "charlie.org",
"expires_at": "2026-04-01T09:00:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
}
],
"result_info": {
"count": 1,
"cursor": "",
"per_page": 20
},
"success": true
}{
"errors": [],
"messages": [],
"result": [
{
"auto_renew": true,
"created_at": "2024-01-15T09:30:00Z",
"domain_name": "acmecorp.com",
"expires_at": "2026-01-15T09:30:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2024-02-20T14:00:00Z",
"domain_name": "brightwave.net",
"expires_at": "2026-02-20T14:00:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2024-03-05T11:15:00Z",
"domain_name": "cloudpeak.org",
"expires_at": "2026-03-05T11:15:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2024-03-22T08:45:00Z",
"domain_name": "solarpanel.io",
"expires_at": "2026-03-22T08:45:00Z",
"locked": true,
"privacy_mode": "off",
"status": "active"
},
{
"auto_renew": false,
"created_at": "2024-04-10T16:00:00Z",
"domain_name": "greenleaf.dev",
"expires_at": "2026-04-10T16:00:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2024-05-03T10:30:00Z",
"domain_name": "swiftrunner.app",
"expires_at": "2026-05-03T10:30:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": false,
"created_at": "2024-05-18T13:00:00Z",
"domain_name": "northerntrail.co",
"expires_at": "2025-05-18T13:00:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "expired"
},
{
"auto_renew": true,
"created_at": "2024-06-01T07:20:00Z",
"domain_name": "pixelforge.xyz",
"expires_at": "2026-06-01T07:20:00Z",
"locked": false,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2024-06-25T15:45:00Z",
"domain_name": "oceandrift.com",
"expires_at": "2026-06-25T15:45:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2024-07-12T09:00:00Z",
"domain_name": "rocketlaunch.net",
"expires_at": "2026-07-12T09:00:00Z",
"locked": true,
"privacy_mode": "off",
"status": "active"
},
{
"auto_renew": false,
"created_at": "2024-08-08T12:30:00Z",
"domain_name": "blueprintlab.io",
"expires_at": "2026-08-08T12:30:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2024-09-01T18:00:00Z",
"domain_name": "maplewood.org",
"expires_at": "2026-09-01T18:00:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": false,
"created_at": "2024-09-20T10:15:00Z",
"domain_name": "thunderbolt.dev",
"expires_at": "2025-09-20T10:15:00Z",
"locked": false,
"privacy_mode": "off",
"status": "expired"
},
{
"auto_renew": true,
"created_at": "2024-10-05T14:45:00Z",
"domain_name": "silverbranch.app",
"expires_at": "2026-10-05T14:45:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2024-11-11T08:00:00Z",
"domain_name": "nightowl.co",
"expires_at": "2026-11-11T08:00:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2024-12-01T11:30:00Z",
"domain_name": "crimsongate.com",
"expires_at": "2026-12-01T11:30:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": false,
"created_at": "2025-01-07T16:20:00Z",
"domain_name": "frostedpine.net",
"expires_at": "2027-01-07T16:20:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2025-01-25T09:50:00Z",
"domain_name": "horizonline.xyz",
"expires_at": "2027-01-25T09:50:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2025-02-14T13:00:00Z",
"domain_name": "coppervine.io",
"expires_at": "2027-02-14T13:00:00Z",
"locked": true,
"privacy_mode": "off",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2025-03-02T07:40:00Z",
"domain_name": "starlitpath.org",
"expires_at": "2027-03-02T07:40:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
}
],
"result_info": {
"count": 20,
"cursor": "eyJ0IjoiMjAyNS0wNi0xNVQxMjowMDowMC4wMDAwMDBaIiwibiI6ImJyYXZvLm5ldCJ9",
"per_page": 20
},
"success": true
}{
"errors": [
{
"code": 10000,
"message": "Invalid pagination cursor"
}
],
"messages": [],
"result": null,
"success": false
}Returns Examples
{
"errors": [],
"messages": [],
"result": [],
"result_info": {
"count": 0,
"cursor": "",
"per_page": 20
},
"success": true
}{
"errors": [],
"messages": [],
"result": [
{
"auto_renew": true,
"created_at": "2025-01-15T10:00:00Z",
"domain_name": "example.com",
"expires_at": "2026-01-15T10:00:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": false,
"created_at": "2025-03-20T14:30:00Z",
"domain_name": "mybrand.dev",
"expires_at": "2026-03-20T14:30:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
}
],
"result_info": {
"count": 2,
"cursor": "",
"per_page": 20
},
"success": true
}{
"errors": [],
"messages": [],
"result": [
{
"auto_renew": true,
"created_at": "2025-04-01T09:00:00Z",
"domain_name": "charlie.org",
"expires_at": "2026-04-01T09:00:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
}
],
"result_info": {
"count": 1,
"cursor": "",
"per_page": 20
},
"success": true
}{
"errors": [],
"messages": [],
"result": [
{
"auto_renew": true,
"created_at": "2024-01-15T09:30:00Z",
"domain_name": "acmecorp.com",
"expires_at": "2026-01-15T09:30:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2024-02-20T14:00:00Z",
"domain_name": "brightwave.net",
"expires_at": "2026-02-20T14:00:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2024-03-05T11:15:00Z",
"domain_name": "cloudpeak.org",
"expires_at": "2026-03-05T11:15:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2024-03-22T08:45:00Z",
"domain_name": "solarpanel.io",
"expires_at": "2026-03-22T08:45:00Z",
"locked": true,
"privacy_mode": "off",
"status": "active"
},
{
"auto_renew": false,
"created_at": "2024-04-10T16:00:00Z",
"domain_name": "greenleaf.dev",
"expires_at": "2026-04-10T16:00:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2024-05-03T10:30:00Z",
"domain_name": "swiftrunner.app",
"expires_at": "2026-05-03T10:30:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": false,
"created_at": "2024-05-18T13:00:00Z",
"domain_name": "northerntrail.co",
"expires_at": "2025-05-18T13:00:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "expired"
},
{
"auto_renew": true,
"created_at": "2024-06-01T07:20:00Z",
"domain_name": "pixelforge.xyz",
"expires_at": "2026-06-01T07:20:00Z",
"locked": false,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2024-06-25T15:45:00Z",
"domain_name": "oceandrift.com",
"expires_at": "2026-06-25T15:45:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2024-07-12T09:00:00Z",
"domain_name": "rocketlaunch.net",
"expires_at": "2026-07-12T09:00:00Z",
"locked": true,
"privacy_mode": "off",
"status": "active"
},
{
"auto_renew": false,
"created_at": "2024-08-08T12:30:00Z",
"domain_name": "blueprintlab.io",
"expires_at": "2026-08-08T12:30:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2024-09-01T18:00:00Z",
"domain_name": "maplewood.org",
"expires_at": "2026-09-01T18:00:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": false,
"created_at": "2024-09-20T10:15:00Z",
"domain_name": "thunderbolt.dev",
"expires_at": "2025-09-20T10:15:00Z",
"locked": false,
"privacy_mode": "off",
"status": "expired"
},
{
"auto_renew": true,
"created_at": "2024-10-05T14:45:00Z",
"domain_name": "silverbranch.app",
"expires_at": "2026-10-05T14:45:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2024-11-11T08:00:00Z",
"domain_name": "nightowl.co",
"expires_at": "2026-11-11T08:00:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2024-12-01T11:30:00Z",
"domain_name": "crimsongate.com",
"expires_at": "2026-12-01T11:30:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": false,
"created_at": "2025-01-07T16:20:00Z",
"domain_name": "frostedpine.net",
"expires_at": "2027-01-07T16:20:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2025-01-25T09:50:00Z",
"domain_name": "horizonline.xyz",
"expires_at": "2027-01-25T09:50:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2025-02-14T13:00:00Z",
"domain_name": "coppervine.io",
"expires_at": "2027-02-14T13:00:00Z",
"locked": true,
"privacy_mode": "off",
"status": "active"
},
{
"auto_renew": true,
"created_at": "2025-03-02T07:40:00Z",
"domain_name": "starlitpath.org",
"expires_at": "2027-03-02T07:40:00Z",
"locked": true,
"privacy_mode": "redaction",
"status": "active"
}
],
"result_info": {
"count": 20,
"cursor": "eyJ0IjoiMjAyNS0wNi0xNVQxMjowMDowMC4wMDAwMDBaIiwibiI6ImJyYXZvLm5ldCJ9",
"per_page": 20
},
"success": true
}{
"errors": [
{
"code": 10000,
"message": "Invalid pagination cursor"
}
],
"messages": [],
"result": null,
"success": false
}