AH

Apache-HttpClient

http-library ^Apache-HttpClient

Apache HTTP Client Java library for requests

About this crawler

Apache-HttpClient is a web crawler identified by the regular-expression pattern ^Apache-HttpClient in the User-Agent request header. It is categorised as http-library. Use the regex above to detect, log, allow, or block Apache-HttpClient traffic in your web server, CDN edge rules, or robots.txt.

Block-rate · top 25k sites

0.065%
latest snapshot
2026-06-04
matched key: ^Apache-HttpClient
2026-05-012026-06-040.11%

Technical details

Name
Apache-HttpClient
Pattern
^Apache-HttpClient
Tags
http-library
Added
2017/11/02
rDNS suffixes
.nutch.apache.org
Instances
14 known sample(s)

rDNS verification (FCrDNS)

Verify a request is genuinely Apache-HttpClient with forward-confirmed reverse DNS: the client IP's PTR record must end in one of the suffixes below and a forward A/AAAA lookup of that hostname must return the same IP. UA strings alone are spoofable; FCrDNS is not.

Sample User-Agent strings

Apache-HttpClient/4.2.3 (java 1.5)
Apache-HttpClient/4.2.5 (java 1.5)
Apache-HttpClient/4.3.1 (java 1.5)
Apache-HttpClient/4.3.3 (java 1.5)
Apache-HttpClient/4.3.5 (java 1.5)
Apache-HttpClient/4.4.1 (Java/1.8.0_65)
Apache-HttpClient/4.5.2 (Java/1.8.0_65)
Apache-HttpClient/4.5.2 (Java/1.8.0_151)
Apache-HttpClient/4.5.2 (Java/1.8.0_161)
Apache-HttpClient/4.5.2 (Java/1.8.0_181)
Apache-HttpClient/4.5.3 (Java/1.8.0_121)
Apache-HttpClient/4.5.3-SNAPSHOT (Java/1.8.0_152)
Apache-HttpClient/4.5.7 (Java/11.0.3)
Apache-HttpClient/4.5.10 (Java/1.8.0_201)

Block this crawler

robots.txt — disallow Apache-HttpClient:

User-agent: Apache-HttpClient Disallow: /

Apache .htaccess — return 403:

RewriteEngine On RewriteCond %{HTTP_USER_AGENT} ^Apache-HttpClient [NC] RewriteRule .* - [F,L]

Nginx — return 403 inside a server block:

if ($http_user_agent ~* "^Apache-HttpClient") { return 403; }
← back to all crawlers