Use the synchronous scrape endpoint when your caller can wait for the result. PagePith tries the least expensive extraction method first and escalates when a page requires JavaScript rendering or additional handling.
Request options
Cache behavior
Responses include a cached boolean. Set forceFresh to true when freshness matters more than latency. You can also invalidate a URL explicitly before its next scrape.
Use cached results for repeat reads. Reserve forceFresh for content you expect to have changed.
Choose synchronous or asynchronous scraping