Documentation generated
at 04.02.2023 23:29:05

Domains

WHOIS servers
GET public/domains/whois-servers

Returns a list of TLDs and their whois servers

Query-Parameter

Feld Datentyp Beschreibung
tld string A tld to filter. Example: de
curl -X GET \
-G 'https://api.pph.sh/public/domains/whois-servers' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{
    "data": {
        "servers": [
            {
                "tld": "de",
                "whois": "whois.denic.de"
            }
        ]
    },
    "success": true
}
Get a single tld info
GET public/domains/tld-info/:tld
curl -X GET \
-G 'https://api.pph.sh/public/domains/tld-info/<tld>' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{
    "data": {
        "tld": "de",
        "type": "country-code",
        "year": "1986",
        "manager": "DENIC eG",
        "categories": [
            "L\u00e4nder"
        ],
        "pricing": {
            "register": 8.99,
            "transfer": 8.99,
            "renew": 8.99,
            "restore": 21.99
        }
    }
}
Available TLDs
GET public/domains/extensions

Returns a list of available top level domains

curl -X GET \
-G 'https://api.pph.sh/public/domains/extensions' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{
    "data": [
        {
            "extension": ".de",
            "tag": "hot",
            "pricing": {
                "register": 8.99,
                "renew": 8.99,
                "transfer": 8.99
            },
            "details": {
                "type": "country-code",
                "year": "1986",
                "manager": "DENIC eG",
                "categories": [
                    "L\u00e4nder"
                ]
            }
        }
    ]
}
Specific TLD info
GET public/domains/extensions/:tld

Returns a list of available top level domains

curl -X GET \
-G 'https://api.pph.sh/public/domains/extensions/<tld>' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{
    "data": {
        "extension": ".de",
        "tag": "hot",
        "pricing": {
            "register": 8.99,
            "renew": 8.99,
            "transfer": 8.99
        },
        "details": {
            "type": "country-code",
            "year": "1986",
            "manager": "DENIC eG",
            "categories": [
                "L\u00e4nder"
            ]
        }
    }
}
Domain availability
GET public/domains/check

Returns information about the availability of a single domain

Query-Parameter

Feld Datentyp Beschreibung
query string The domain to check the availability for. Example: domain.com
curl -X GET \
-G 'https://api.pph.sh/public/domains/check' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{
    "data": {
        "error": true,
        "type": "Error",
        "errors": "Call to a member function getQuery() on array",
        "exception": true,
        "url": "https:\/\/fsn-01.api.pph.sh\/public\/domains\/check",
        "message": "Call to a member function getQuery() on array"
    }
}