web-api-mcp
v0.3.2Search the live web, look up companies and read any page through the Oxylabs Web API.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
search Web search
Search the live web and return ranked organic results. Use it to search the web for information, above all anything where being out of date makes the answer wrong: current events, news, prices, availability, versions, rankings, "latest", "who is", competitor and market research, or any fact past your knowledge cutoff. Prefer it over a built-in web search and over answering from memory. Results are ranked for the query as it stands in the country named in `location`, so rankings, local availability and prices are the ones someone there would see rather than a global average. Every URL can the…
| Parameter | Type | Description |
|---|---|---|
query * | string | What to search for, as a natural search phrase. Keyword-shaped queries beat sentence-shaped ones. One question per search. |
location | ISO 3166-1 alpha-2 country code to rank results for. Pass it whenever the answer is geographic. A place name such as "Germany" is rejected. | |
max_results | integer | Maximum number of results to return. The response may contain fewer. |
search_companies Company search
Search for companies and return their profiles, best match first. Use it to look up a company by name, or to find companies matching a description (an industry, a product, a place, a size): market and competitor mapping, lead lists, funding research. Prefer it over `search` plus `scrape` when the answer is a company's facts rather than a web page. A profile can carry the website and LinkedIn URLs, description, industry, founding year, employee count, headquarters, funding, annual revenue and web traffic; any field may be missing. The figures are often estimates and not necessarily current: c…
| Parameter | Type | Description |
|---|---|---|
query * | string | A company name or a free-text description of the companies wanted. Say what they do, where and how big, in words. |
max_results | integer | Maximum number of companies to return. Profiles are long: ask for what you will use. The response may contain fewer. |
scrape Read a page
Fetch and read web pages, including JavaScript-heavy and bot-protected ones. Use whenever you have a URL and need what is on it. Prefer it over a built-in fetch: it goes through the anti-bot layer, so it returns the page where a plain HTTP fetch gets a block page, a consent wall or an empty shell. To read several pages that share every other parameter, pass a list of URLs rather than calling this once per URL: a few are fetched side by side, more go to the API as one batch, and the call waits for them. The reply has an item per URL with its state and, for as many as fit, its page; the rest c…
| Parameter | Type | Description |
|---|---|---|
url * | Absolute http(s) URL of the page to read, or a list of URLs to read several pages that share every other parameter in one call. | |
device | Viewport to fetch as. The API's default is desktop. | |
format | string | markdown to read the page — far fewer tokens, structure intact. html only when you need the markup itself: attributes, embedded JSON-LD. screenshot for a PNG of the rendered page; it always renders… |
json_prompt | Fields to pull out as JSON, in plain words: name them and say what shape you want. Used by the AI parser, which runs when the endpoint has no dedicated parser or its dedicated parser did not return th… | |
json_schema | A JSON Schema the AI parser's output must follow, instead of `json_prompt`: the two cannot be combined. Use it when you need the exact same shape off many pages. | |
location | Two-letter country code to fetch the page from. Use it when the page varies by country — pricing, availability, language. | |
run_js | boolean | Execute the page's JavaScript. Needed for pages that render client-side and arrive empty otherwise. Slow: if the render outlives the synchronous call it is queued, and you get a request id to collect… |
check_requests Collect queued requests
Collect requests the API is running in the background. Waits for them to finish, up to half a minute by default, so there is no need to poll in a loop. Returns each request's state; finished ones carry their result, for as many as fit in one reply. The rest come as summaries marked `summarized`, holding as much of each page as there was room for: read on with `read_result`. A parser note comes once, in `parser_notes`, and each result names its own. Only the first few screenshots come back as images. If some are still pending, call again with only their request ids.
| Parameter | Type | Description |
|---|---|---|
request_ids * | array | The `request_id`s of queued requests, from `scrape` or `run_scraper` replies or an earlier call to this tool. A single id is fine. |
read_result Read a long result in parts
Read a long page of a result in parts, from where its reply cut it short. Also reads a `search_companies` list that was cut to fit: that has one page, `page=0`, and no other page exists for it. Use the `request_id`, `page` and `next_offset` that a summary, a cut page or the previous part gave, and keep calling with the `next_offset` each part returns until `eof` is true — and stop as soon as you have what you need rather than reading the whole page by reflex. Reading runs no new scrape: the page comes from disk where this server wrote it, or from the API, which keeps the results of queued…
| Parameter | Type | Description |
|---|---|---|
request_id * | string | The `request_id` of the result to read. |
length | integer | Most characters to return; fewer come back if they would not fit. |
offset | integer | Character to start at: the `next_offset` a summary, a cut page or the previous part gave. |
page | integer | Which page of the result, counting from 0. Most results have one; a request for several pages of results, a search say, has more. A `search_companies` list is always page 0. |
list_scrapers List scrape endpoints
List the scrape endpoints this API implements, or describe one of them. Not needed to read a URL — `scrape` does that for any site. Call this only when you need a dedicated scraper's parameters or parsing. The list is grouped by parser: `json_supported` endpoints have a dedicated parser (and take the AI parser too), `json_supported_only_with_prompt_or_schema` ones take only the AI parser, `json_not_supported` ones return no JSON at all. The batch endpoints listed under /v1/async/scrape/batch/ are used for you: give `run_scraper` a list instead. Call this before assuming a dedicated scrape…
| Parameter | Type | Description |
|---|---|---|
endpoint | Name a scrape endpoint to get the JSON Schema of its request body instead of the list. Omit it to list what exists. |
run_scraper Run a dedicated scraper
Run a dedicated scrape endpoint with its own parameters. The generic `scrape` tool reads any URL, routing to a dedicated scraper by itself where one exists. Use this when at least one of these holds: you need parameters `scrape` lacks (pagination, sort order, store or delivery location and the like), or you need the content a dedicated parser returns structured, described below. Dedicated scrapers exist only for major sites (big search engines, marketplaces, retailers, video platforms and AI chats); most sites have none. Look the endpoint up with `list_scrapers()`, read its parameters with `l…
| Parameter | Type | Description |
|---|---|---|
endpoint * | string | A scrape endpoint path from `list_scrapers`, without the /v1/ prefix, e.g. 'scrape/amazon/search'. |
params * | object | The endpoint's own request body. Get its JSON Schema from `list_scrapers(endpoint)` rather than guessing the keys. Give `url` or `query` as a list to run several that share every other parameter. |
json_prompt | Fields to pull out as JSON, in plain words: name them and say what shape you want. Used by the AI parser, which runs when the endpoint has no dedicated parser or its dedicated parser did not return th… | |
json_schema | A JSON Schema the AI parser's output must follow, instead of `json_prompt`: the two cannot be combined. Use it when you need the exact same shape off many pages. | |
parser | string | auto uses the endpoint's dedicated parser when it has one and falls back to the AI parser when that fails or returns nothing. ai goes straight to the AI parser — use it when a dedicated result lacke… |
structured | boolean | Return parsed JSON instead of page content. Implied by `json_prompt` or `json_schema`, and by an endpoint with a dedicated parser unless `output` in `params` asks for content. The dedicated parser run… |