This post covers the changes to the REST API in 1.26.11-r2 and 1.26.11-r3 compared to 1.26.11-r1.
Rate limiting#
The old rate limit is now split into three different limits
general, 60 requests per 60 secondsnetwork, 15 requests per 60 secondswrite, 5 requests per 60 seconds and 30 per hour
Network requests now have a limit of 2 concurrent requests per IP
RDAP#
Three new endpoints have been added
GET /v1/rdap/domain/{domain}GET /v1/rdap/ip/{ip}GET /v1/rdap/asn/{asn}
DNS#
DNS lookups now support 13 types (?type=)
A, AAAA, CNAME, MX, NS, TXT, SRV, CAA, PTR, SOA, TLSA, HTTPS, SVCB
There are also three new endpoints
GET /v1/dns/dnssec/{domain}GET /v1/dns/propagation/{domain}GET /v1/dns/reverse/{ip}
DNS results are now cached based on their TTL (between 30 and 3600 seconds)
Paste and shortener#
Both received some changes to input validation and expiration handling
URLs pointing to redirect.collectiveness.de are now rejected
Raw paste responses now use th correct text/plain; charset=utf-8 content type
HEAD requests no longer increase the view count
Other changes#
/v1/port/{host}/{port}and/v1/ping/{host}/{port}now reject port 0/v1/whois/{domain}now uses direct registry servers for.de,.eu,.bar,.dev,.app,.ai,.xyz/v1/base64/decodenow removes whitespace around the input and returns400if the data is not valid UTF-8
