GrantGradeBot
GrantGradeBot is the crawler of GrantGrade, a due-diligence service that helps foundations understand the NGOs they fund. It visits the public websites of organisations in our database to find what they publish about themselves: annual reports, audited accounts, evaluations, results and governance pages. Each file then links to the organisation's own documents, so a funder reads them at the source.
How to recognise it
Every request carries this User-Agent:
GrantGradeBot/1.0 (+https://grantgrade.com/bot; research on published NGO reports)What it fetches
- The home page of organisations whose website is listed in a public charity register or in their own IATI data.
- From there, only pages on the same site whose address or link text points to reports, finances, accounts, results, evaluations, governance, programmes or “about us”. At most 30 pages per site, and at most two links away from the home page.
- It never requests donation, checkout, cart, login, account, search or feed pages, and never fetches images, media, office files, scripts or stylesheets. It does not fill in forms, log in or run JavaScript.
- When it finds a link to a PDF that looks like an annual report, accounts or an evaluation, it records the link, its type and its year. It does not download the PDF in this version.
- From the home page it keeps the page's own meta description, shown on the profile with a link back. Apart from that it stores only each page's address, status code and a fingerprint (hash) to notice changes, not the page text.
- Revisits: home pages every 30 days, other pages every 90 days. A page that failed is retried after 7 days, and after repeated failures every 90 days.
How it behaves
- robots.txt is followed (RFC 9309). It reads the group for
GrantGradeBot, or the*group when there is none. Longest match wins, Allow wins a tie, and*and$are understood. A disallowed page is never requested. - If robots.txt cannot be read because the server errors or times out, the bot does not crawl the site at all. If there is no robots.txt (a 4xx answer), the site is treated as open, as the standard says.
- robots.txt is read again at most once a day, so a change takes effect within 24 hours.
- One request at a time per site, with at least 3 seconds between requests, or your
Crawl-delayif that is longer. - A 403 or 429 answer stops it. The site is marked paused and the bot does not come back on its own.
- Each request gives up after 20 seconds.
Opting out
To keep GrantGradeBot off your whole site, add this to your robots.txt:
User-agent: GrantGradeBot
Disallow: /To keep it out of one section, or to slow it down:
User-agent: GrantGradeBot
Disallow: /members/
Crawl-delay: 10Your organisation's file then keeps only what public registers publish. You can also email us your reports or answer anything in your file; see For NGOs.
Contact
Questions, a problem with the bot, or a request to stop: hello@grantgrade.com. Please include your domain. How the files are built is set out in the method.