PacketStream
v1.5.0Live web search results and web pages as Markdown; page fetches use a residential network.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
packetstream_search Web search
Run a live web search on the world's most-used search engine and get the results as Markdown and structured JSON, as people in the chosen country, language or location see them. PacketStream runs the search, which can help when searching directly is blocked or gets CAPTCHAs. type=search accepts every option; other types accept only: news (country, language, page); shopping (country, language, page); places (country, language); autocomplete (country, language); scholar (language, page); ai_mode (country, language). Any other option returns an unsupported_option error. To read a result, call pac…
| Parameter | Type | Description |
|---|---|---|
query * | string | Search query: 1 to 400 bytes, or 1 to 200 bytes for type autocomplete. |
autocorrect | boolean | Set false to search the query exactly as written. |
country | string | ISO 3166-1 alpha-2 country code. |
device | string | Device to search as. |
domain | string | Country domain suffix of the search engine to use, such as co.uk or de. |
language | string | Interface language, such as en or pt-BR. |
location | string | Canonical location name, such as Austin,Texas,United States. Cannot be combined with uule. |
page | integer | Result page. |
safe_search | boolean | Filter explicit results. |
time_range | string | Only return results from this recent period. |
type | string | Result type. |
uule | string | Encoded location token. Cannot be combined with location. |
packetstream_fetch Fetch a web page
Fetch one public http(s) URL live and return its main content as Markdown, with the final URL, HTTP status and title. Useful for reading a packetstream_search result or a URL the user gave. It returns the page itself rather than a summary, and the request goes out through PacketStream's residential network, which can help with the blocks, CAPTCHAs and rate limits that datacenter requests often hit. Static HTML only: a page that needs JavaScript returns an error, so use another tool for it. It does not read robots.txt, so you decide which sites to fetch. Long pages: call again with start_index…
| Parameter | Type | Description |
|---|---|---|
url * | string | Absolute http or https URL. |
content | string | |
include_links | boolean | Keep link URLs. Off saves tokens. |
max_length | integer | |
start_index | integer | |
user_agent | string | User-Agent header sent to the target; defaults to a current desktop Chrome User-Agent. |