GOV.UK Search & Content Scraper avatar

GOV.UK Search & Content Scraper

Pricing

from $9.99 / 1,000 results

Go to Apify Store
GOV.UK Search & Content Scraper

GOV.UK Search & Content Scraper

Scrape GOV.UK search results and page content via the official APIs. Search by keywords or URLs, filter by organisation, and extract metadata, publication dates, links, and full page text with automatic pagination.

Pricing

from $9.99 / 1,000 results

Rating

0.0

(0)

Developer

Jamshaid Arif

Jamshaid Arif

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

3 days ago

Last modified

Share

Apify actor for GOV.UK's

Example input

{
"queries": [
"insolvency rules",
"https://www.gov.uk/government/organisations/companies-house",
"/vat-rates"
],
"maxResultsPerSearch": 100,
"order": "newest",
"organisation": "hm-revenue-customs",
"fetchContentForResults": true,
"maxBodyChars": 20000
}
  • Pagination — up to 1000 results per search query, fetched in pages of 100 automatically.
  • orderrelevance (default), newest, oldest.
  • organisation — restrict to one publisher by slug (companies-house, home-office, ...).
  • fetchContentForResults — enrich every search hit with its full Content API record (body text, dates, links, organisations); one extra request per hit, deduplicated.

Output items

search_result: title, path/url, description, format, organisations, public_timestamp, popularity, search_query.

content: title, description, document_type, schema_name, locale, first_published_at, public_updated_at, organisations, extracted body_text (handles plain bodies, multi-format bodies, and multi-part guides; truncated to maxBodyChars, 0 = unlimited), and a links map of related base paths (parent, children, taxons...).

Search totals and per-query errors are saved under key SUMMARY.