Search expressions in a page HTML and return surrounding context.
Fetch the HTML of a given URL and search for one or more expressions in it.
For each occurrence found, the agent returns the matching text along with
a configurable number of characters of context on each side. Each expression
can be a literal substring (default) or a Python regular expression, and is
configured independently (case sensitivity, max matches, context size).
Playground
Your organization, project and token stay in this browser's local storage and are sent
straight to the API — this page never sees them.
POST
item
url
requiredThe URL to fetch the HTML from. Temporary uploaded URLs on https://app.botify.com/:organization/:project/o/storage/tmp are allowed.
config
queries
requiredList of search queries to run against the fetched HTML. Each query is processed independently and shared by all items in a batch.
Billing
Fixed cost per URL requested. The search itself runs inside Botify. What you pay beyond the call is whatever fetching the page costs: nothing if it is in your SiteCrawler crawl, and a live page fetch otherwise, since this tool always allows the fallback.
These usage SKUs can be charged on a call, including SKUs from
tools this one may call.
SKU
Credits
Description
Used by
Tool call
1 per request
Charged once per successful item, on top of any usage below.
This tool
Live page fetch
495 per 1,000 page
Fetches a page from the live web as an ordinary visitor would.