Authorization: Bearer ********************
{ "domains": [ "good-domain.cfd", "eqrwgerg.shops" ] }
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" ] }'
{ "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" } ] }