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
-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
-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
-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
-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 search
GET
public/domains/search
Returns simple information about a domain inquiry
Query-Parameter
Feld | Datentyp | Beschreibung |
---|---|---|
query | string | The domain to search. Example: domain.com |
page | int | The page. Example: 1 |
curl -X GET \
-G 'https://api.pph.sh/public/domains/search' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
-G 'https://api.pph.sh/public/domains/search' \
-H 'Content-Type=application/json' \
-H 'Accept=application/json' \
-H 'Accept-Language=de; *;q=0.5' | jq
{ "data": { "query": "domain.com", "tld": "com", "sld": "domain", "list": [ { "tld": "com", "sld": "domain", "name": "domain.com", "highlight": "1", "tag": "", "availability": "https:\/\/api.pph.sh\/public\/domains\/check?query=domain.com&hash=328da2bc3cc08ab01c457966b5a2b5e5&u=f528764d624db129b32c21fbca0cb8d6", "info": { "type": "generic", "year": "1985", "manager": "VeriSign Global Registry Services", "categories": [ "Generisch" ] } }, { "tld": "de", "sld": "domain", "name": "domain.de", "highlight": "1", "tag": "hot", "availability": "https:\/\/api.pph.sh\/public\/domains\/check?query=domain.de&hash=b3d36a58d443f96b5e5aca919eaa8165&u=f528764d624db129b32c21fbca0cb8d6", "info": { "type": "country-code", "year": "1986", "manager": "DENIC eG", "categories": [ "L\u00e4nder" ] } }, { "tld": "eu", "sld": "domain", "name": "domain.eu", "highlight": "1", "tag": "sale", "availability": "https:\/\/api.pph.sh\/public\/domains\/check?query=domain.eu&hash=82ff33e1eee242525da4ca7bb55a974c&u=f528764d624db129b32c21fbca0cb8d6", "info": { "type": "country-code", "year": "2005", "manager": "EURid vzw\/asbl", "categories": [ "Regional, Kulturell" ] } }, { "tld": "me", "sld": "domain", "name": "domain.me", "highlight": "1", "tag": "", "availability": "https:\/\/api.pph.sh\/public\/domains\/check?query=domain.me&hash=80436c0d810965caeaf0b28eb3849e02&u=f528764d624db129b32c21fbca0cb8d6", "info": { "type": "country-code", "year": "2007", "manager": "Government of Montenegro", "categories": [ "L\u00e4nder" ] } }, { "tld": "dev", "sld": "domain", "name": "domain.dev", "highlight": "1", "tag": "", "availability": "https:\/\/api.pph.sh\/public\/domains\/check?query=domain.dev&hash=755736eac2ba1f30847eaa7ad5a804f5&u=f528764d624db129b32c21fbca0cb8d6", "info": { "type": "generic", "year": "2014", "manager": "Charleston Road Registry Inc.", "categories": [ "Organisationen" ] } }, { "tld": "xyz", "sld": "domain", "name": "domain.xyz", "highlight": "1", "tag": "", "availability": "https:\/\/api.pph.sh\/public\/domains\/check?query=domain.xyz&hash=e01eb68b61dc69b3eb3cf879ef79ab7d&u=f528764d624db129b32c21fbca0cb8d6", "info": { "type": "generic", "year": "2014", "manager": "XYZ.COM LLC", "categories": [ "Verschiedenes" ] } }, { "tld": "io", "sld": "domain", "name": "domain.io", "highlight": "1", "tag": "hot", "availability": "https:\/\/api.pph.sh\/public\/domains\/check?query=domain.io&hash=ad9119b40202512b10b8ee16eeeddad0&u=f528764d624db129b32c21fbca0cb8d6", "info": { "type": "country-code", "year": "1997", "manager": "Internet Computer Bureau Limited", "categories": [ "Internet", "L\u00e4nder" ] } }, { "tld": "net", "sld": "domain", "name": "domain.net", "highlight": "1", "tag": "", "availability": "https:\/\/api.pph.sh\/public\/domains\/check?query=domain.net&hash=f76cdd2e7d0a97bf5d2988a9faf725a2&u=f528764d624db129b32c21fbca0cb8d6", "info": { "type": "generic", "year": "1985", "manager": "VeriSign Global Registry Services", "categories": [ "Generisch" ] } }, { "tld": "network", "sld": "domain", "name": "domain.network", "highlight": "1", "tag": "", "availability": "https:\/\/api.pph.sh\/public\/domains\/check?query=domain.network&hash=b8c816d44753444cd3aca85155cb307c&u=f528764d624db129b32c21fbca0cb8d6", "info": { "type": "generic", "year": "2014", "manager": "Binky Moon, LLC", "categories": [ "Business", "Community", "Social & Lifestyle", "Technologie", "Internet" ] } }, { "tld": "shop", "sld": "domain", "name": "domain.shop", "highlight": "1", "tag": "sale", "availability": "https:\/\/api.pph.sh\/public\/domains\/check?query=domain.shop&hash=faca329f218b947ee7f96e5920ebc988&u=f528764d624db129b32c21fbca0cb8d6", "info": { "type": "generic", "year": "2016", "manager": "GMO Registry, Inc.", "categories": [ "Kommerziell" ] } }, { "tld": "org", "sld": "domain", "name": "domain.org", "highlight": "1", "tag": "", "availability": "https:\/\/api.pph.sh\/public\/domains\/check?query=domain.org&hash=b498d6f508183bd9eefb18291324a2dc&u=f528764d624db129b32c21fbca0cb8d6", "info": { "type": "generic", "year": "1985", "manager": "Public Interest Registry (PIR)", "categories": [ "Generisch" ] } }, { "tld": "at", "sld": "domain", "name": "domain.at", "highlight": "1", "tag": "", "availability": "https:\/\/api.pph.sh\/public\/domains\/check?query=domain.at&hash=94b1fea5adb6481dac557d1af545186f&u=f528764d624db129b32c21fbca0cb8d6", "info": { "type": "country-code", "year": "1988", "manager": "nic.at GmbH", "categories": [ "L\u00e4nder" ] } }, { "tld": "ch", "sld": "domain", "name": "domain.ch", "highlight": "1", "tag": "", "availability": "https:\/\/api.pph.sh\/public\/domains\/check?query=domain.ch&hash=98d3e8e223379e7b6b6717d52422f2e7&u=f528764d624db129b32c21fbca0cb8d6", "info": { "type": "country-code", "year": "1987", "manager": "SWITCH The Swiss Education & Research Network", "categories": [ "L\u00e4nder" ] } }, { "tld": "tv", "sld": "domain", "name": "domain.tv", "highlight": "1", "tag": "", "availability": "https:\/\/api.pph.sh\/public\/domains\/check?query=domain.tv&hash=7f80e3f92e2663c2256a2577935ac23d&u=f528764d624db129b32c21fbca0cb8d6", "info": { "type": "country-code", "year": "1996", "manager": "Ministry of Finance and Tourism", "categories": [ "Medien, Art, Musik", "L\u00e4nder" ] } }, { "tld": "business", "sld": "domain", "name": "domain.business", "highlight": "1", "tag": "", "availability": "https:\/\/api.pph.sh\/public\/domains\/check?query=domain.business&hash=1fdccbdd55acdbd490985344964d6f64&u=f528764d624db129b32c21fbca0cb8d6", "info": { "type": "generic", "year": "2014", "manager": "Binky Moon, LLC", "categories": [ "Business" ] } }, { "tld": "info", "sld": "domain", "name": "domain.info", "highlight": "1", "tag": "", "availability": "https:\/\/api.pph.sh\/public\/domains\/check?query=domain.info&hash=99b6f68415c2e10174b103acb84ae0ca&u=f528764d624db129b32c21fbca0cb8d6", "info": { "type": "generic", "year": "2001", "manager": "Afilias Limited", "categories": [ "Generisch" ] } } ] }, "success": true }
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
-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" } }