https://e621.net/help/show/api
NOTICE #2: A non-empty User-Agent header is required for all requests. Please pick a descriptive User-Agent for your project. You are encouraged to include your e621 username so that you may be contacted if your project causes problems. DO NOT impersonate a browser user agent, as this will get you blocked. An example user-agent would be
MyProject/1.0 (by username on e621)
Are browser extensions required to change the user agent string?
Updated by Chaser