1Reg Docs
APIWebhook
APIWebhook
  1. Domains
  • 📝 How to start?
  • Account
    • payments
      • Payments history
    • Account details
  • Domains
    • DNS
      • Bulk get dns records
      • Get dns records
      • Bulk update dns
    • Domains list
      GET
    • Bulk query domains
      POST
    • Register Domain
      POST
APIWebhook
APIWebhook
  1. Domains

Bulk query domains

Developing
Prod Env
https://api.onereg.org/v1
Prod Env
https://api.onereg.org/v1
POST
/domains/query
Last modified:2025-11-13 20:35:08
Query a domain name to identify the availability.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/jsonRequired

Example
{
    "domains": [
        "good-domain.cfd",
        "eqrwgerg.shops"
    ]
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.onereg.org/v1/domains/query' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "domains": [
        "good-domain.cfd",
        "eqrwgerg.shops"
    ]
}'

Responses

🟢200Success
application/json
Body

Example
{
    "status": true,
    "result": [
        {
            "name": "good-domain.cfd",
            "ext": "cfd",
            "prices": 1.54,
            "currency": "USD",
            "available": true,
            "premium": false,
            "promotion": 0
        }
    ],
    "errors": [
        {
            "input": "eqrwgerg.shops",
            "reason": "zone \"shops\" is not in allowed exts"
        }
    ]
}
🟠400Bad Request
Modified at 2025-11-13 20:35:08
Previous
Domains list
Next
Register Domain
Built with