Spider
spiderSpider provides APIs for web crawling, scraping, search, screenshots, content transformation, AI extraction, and high-concurrency data collection.
Acciones disponibles (15)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
AI BrowserSPIDER_AI_BROWSERAcciónDrive a browser from a natural-language prompt and extract results. Requires AI Studio. Prompts can click, navigate, submit forms, purchase, message, or change accounts, so request those external effects only when intended and authorized.
SPIDER_AI_BROWSERAcciónDrive a browser from a natural-language prompt and extract results. Requires AI Studio. Prompts can click, navigate, submit forms, purchase, message, or change accounts, so request those external effects only when intended and authorized.
Parámetros de entrada
urlstringObligatorioInitial page URL for the browser session.
limitintegerMaximum pages or browser results to process; keep bounded to control AI cost.
promptstringObligatorioBrowser instruction. State when the task is read-only. Clicks, form submissions, purchases, messages, and account changes can cause external side effects and should be requested only when intended and authorized.
metadatabooleanInclude page metadata. Structured output is returned in metadata.extracted_data regardless.
wait_forobjectBounded selector, DOM, network, delay, and navigation wait conditions.
return_formatstringenumPage content format returned after browser interaction.
rawmarkdowncommonmarktexthtml2textxmlbytesscreenshotemptyadvanced_optionsobjectBrowser rendering and output, proxy and geo, session and cache, budget, wait, and event-tracking controls. Raw code and automation scripts are not accepted; express browser actions through prompt.
extraction_schemaobjectOptional contract that pins the structured result shape.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
AI Crawl WebsiteSPIDER_AI_CRAWLAcciónCrawl pages and use an AI prompt to extract structured data. Requires AI Studio. limit defaults to 1 to bound crawl and model costs; depth 0 removes the depth limit.
SPIDER_AI_CRAWLAcciónCrawl pages and use an AI prompt to extract structured data. Requires AI Studio. limit defaults to 1 to bound crawl and model costs; depth 0 removes the depth limit.
Parámetros de entrada
urlstringObligatorioStarting URL for the prompt-driven crawl.
depthintegerMaximum link depth from the starting URL; 0 removes the depth limit, so use limit to bound the crawl.
limitintegerMaximum pages to process; 0 removes the page limit and processes all pages found. Each page can add crawl and AI cost.
promptstringObligatorioPrecise natural-language instruction describing what to find and extract.
metadatabooleanInclude page metadata. Structured extracted_data is returned either way.
return_formatanyPage content format or formats to include with the extracted result.
cleaning_intentstringenumHow Spider should reduce page HTML before the model reads it.
extractionactiongeneraladvanced_optionsobjectAdditional typed crawl controls for traversal, browser behavior, output, proxy and geo routing, sessions, caching, and budgets. Use the named request fields for the AI objective, result shape, and output format.
extraction_schemaobjectOptional contract that fixes the shape of each structured result.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
AI Discover LinksSPIDER_AI_DISCOVER_LINKSAcciónCollect links matching a natural-language prompt and return structured context. Requires AI Studio. limit defaults to 1 to bound crawl and model costs; depth 0 removes the depth limit.
SPIDER_AI_DISCOVER_LINKSAcciónCollect links matching a natural-language prompt and return structured context. Requires AI Studio. limit defaults to 1 to bound crawl and model costs; depth 0 removes the depth limit.
Parámetros de entrada
urlstringObligatorioStarting URL for prompt-guided link collection.
depthintegerMaximum traversal depth; 0 removes the depth limit, so use limit to bound discovery.
limitintegerMaximum pages to inspect; 0 removes the page limit and inspects all pages found. Each page can add crawl and AI cost.
promptstringObligatorioDescribe which links to collect and any structured context to extract.
metadatabooleanInclude page metadata. Structured extracted_data is returned either way.
return_formatanyContent format or formats used for extraction.
cleaning_intentstringenumHow Spider should reduce page content before the model reads it.
extractionactiongeneraladvanced_optionsobjectAdditional traversal and page-processing options for AI link discovery.
extraction_schemaobjectOptional JSON Schema contract for the structured link context.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
AI Scrape PageSPIDER_AI_SCRAPEAcciónFetch exact pages and use an AI prompt to extract structured data. Requires AI Studio; batched or complex extraction increases model cost.
SPIDER_AI_SCRAPEAcciónFetch exact pages and use an AI prompt to extract structured data. Requires AI Studio; batched or complex extraction increases model cost.
Parámetros de entrada
urlstringObligatorioExact page URL to fetch for prompt-driven extraction.
limitintegerMaximum items or pages to process. Keep at 1 for one URL to bound AI cost.
promptstringObligatorioPrecise extraction instruction describing the desired result.
metadatabooleanInclude page metadata. Structured output is returned in metadata.extracted_data regardless.
return_formatanyPage content format supplied to or returned alongside extraction.
cleaning_intentstringenumHow Spider should clean page content before the model reads it.
extractionactiongeneraladvanced_optionsobjectBrowser readiness, rendering, output filtering, proxy and geo, session, cache, and budget controls. Use named request fields for AI extraction and output format instead of repeating them here.
extraction_schemaobjectOptional contract that pins the structured result shape.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
AI Search WebSPIDER_AI_SEARCHAcciónRun prompt-driven web search with optional page fetching and structured extraction. Requires AI Studio and defaults to one result without page fetching.
SPIDER_AI_SEARCHAcciónRun prompt-driven web search with optional page fetching and structured extraction. Requires AI Studio and defaults to one result without page fetching.
Parámetros de entrada
limitintegerMaximum search results or fetched pages returned for the AI task to process.
promptstringObligatorioNatural-language research or extraction objective.
searchstringLiteral search query. Omit it to let Spider generate a query from the prompt.
metadatabooleanInclude page metadata when search-result pages are fetched.
result_countintegerNumber of web search results to request. The AI task may process fewer when limit is lower.
return_formatstringenumContent format used when search-result pages are fetched.
rawmarkdowncommonmarktexthtml2textxmlbytesscreenshotemptyextraction_schemaobjectOptional contract that fixes the structured result shape.
fetch_page_contentbooleanFetch result pages for extraction. Enabling this increases latency, payload size, and cost.
standard_search_parametersobjectSearch localization, geographic targeting, filters, speed, and pagination controls.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Capture ScreenshotSPIDER_CAPTURE_SCREENSHOTAcciónRender one page and capture a PNG, JPEG, or WebP screenshot with a provider-side response-content cap. Full-page capture is the documented default; returns compact metadata by default, optional base64 content, or an offloaded file in binary mode.
SPIDER_CAPTURE_SCREENSHOTAcciónRender one page and capture a PNG, JPEG, or WebP screenshot with a provider-side response-content cap. Full-page capture is the documented default; returns compact metadata by default, optional base64 content, or an offloaded file in binary mode.
Parámetros de entrada
urlstringObligatorioExactly one page URL. Full-page capture is enabled by default and bounded by the provider response-content cap.
fastbooleanUse Spider's speed-optimized screenshot renderer.
binarybooleanReturn the captured image as an offloaded file instead of JSON metadata.
full_pagebooleanCapture the full scrollable page; false captures the viewport only.
cdp_paramsobjectChrome capture format, quality, clip, and surface settings.
screenshotbooleanExplicitly enable screenshot capture.
block_imagesbooleanBlock page images before capture.
omit_backgroundbooleanUse a transparent background when the image format supports it.
advanced_optionsobjectBrowser rendering, proxy and geo, cache, network, and output-filtering controls.
include_image_databooleanInclude base64 image content in JSON output. Leave false for metadata and content length only.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Crawl WebsiteSPIDER_CRAWLAcciónCrawl pages from one or more starting URLs. Defaults to at most 10 pages and depth 1; raising breadth increases cost and response size. Set billing_mode='unlimited' only for an active Unlimited plan with purchased concurrency.
SPIDER_CRAWLAcciónCrawl pages from one or more starting URLs. Defaults to at most 10 pages and depth 1; raising breadth increases cost and response size. Set billing_mode='unlimited' only for an active Unlimited plan with purchased concurrency.
Parámetros de entrada
urlstringObligatorioStarting URL, or comma-separated starting URLs.
depthintegerMaximum link depth from each starting URL; 0 removes the depth limit, so use limit to bound the crawl.
limitintegerMaximum pages to process; 0 removes the page limit and processes all pages found, subject to credits and other crawl bounds.
metadatabooleanWhether to include page metadata.
billing_modestringenumModel-only billing selector. Defaults to PAYG, which uses credits. Unlimited requires an active Unlimited plan, uses purchased concurrency, rejects AI extraction fields, and may return 429 immediately when all purchased concurrency is active.
paygunlimitedreturn_formatanyContent format or formats Spider should return.
advanced_optionsobjectTraversal filters, browser readiness and rendering, output processing, proxy and geo, session, cache, network, and budget controls. Named request fields define the crawl bounds and output format.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Discover LinksSPIDER_DISCOVER_LINKSAcciónDiscover URLs from a site without returning full page content. Defaults to 25 pages and depth 1; larger traversal costs more. Set billing_mode='unlimited' only for an active Unlimited plan with purchased concurrency.
SPIDER_DISCOVER_LINKSAcciónDiscover URLs from a site without returning full page content. Defaults to 25 pages and depth 1; larger traversal costs more. Set billing_mode='unlimited' only for an active Unlimited plan with purchased concurrency.
Parámetros de entrada
urlstringObligatorioStarting URL for link discovery.
depthintegerMaximum traversal depth; 0 removes the depth limit, so use limit to bound discovery.
limitintegerMaximum pages to inspect; 0 removes the page limit and inspects all pages found.
billing_modestringenumModel-only billing selector. Defaults to PAYG, which uses credits. Unlimited requires an active Unlimited plan, uses purchased concurrency, rejects AI extraction fields, and may return 429 immediately when all purchased concurrency is active.
paygunlimitedadvanced_optionsobjectTraversal filters, browser readiness and rendering, output processing, proxy and geo, session, cache, network, and budget controls. Named request fields define discovery bounds.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Fetch Configured PageSPIDER_FETCH_CONFIGURED_PAGEAcciónFetch a domain and path with Spider's saved scraper configuration, discovering and storing one on first use. Defaults to one page; first-time discovery can take 30-120 seconds and incur AI cost.
SPIDER_FETCH_CONFIGURED_PAGEAcciónFetch a domain and path with Spider's saved scraper configuration, discovering and storing one on first use. Defaults to one page; first-time discovery can take 30-120 seconds and incur AI cost.
Parámetros de entrada
pathstringObligatorioSite path. Use '/' for the root; slash-separated segments are preserved safely.
limitintegerPages to fetch. Values above 1 crawl up to this many pages and increase cost.
domainstringObligatorioBare domain name without a URL scheme, port, or path.
return_formatanyContent format or formats Spider should return.
advanced_optionsobjectBrowser readiness and rendering, output processing, proxy and geo, session, cache, network, and budget overrides. The named domain, path, page limit, and output format remain authoritative; AI extraction is unavailable.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Credit BalanceSPIDER_GET_CREDIT_BALANCEAcciónGet the connected Spider account's remaining credit balance and documented record metadata.
SPIDER_GET_CREDIT_BALANCEAcciónGet the connected Spider account's remaining credit balance and documented record metadata.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Crawl LogsSPIDER_LIST_CRAWL_LOGSAcciónReturn the connected account's crawl and scrape activity from the last 24 hours.
SPIDER_LIST_CRAWL_LOGSAcciónReturn the connected account's crawl and scrape activity from the last 24 hours.
Parámetros de entrada
Sin parámetros.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Scraper DirectorySPIDER_LIST_SCRAPER_DIRECTORYAcciónBrowse public curated scraper configurations with domain, category, text, and page-number filters.
SPIDER_LIST_SCRAPER_DIRECTORYAcciónBrowse public curated scraper configurations with domain, category, text, and page-number filters.
Parámetros de entrada
pageintegerPage number to return, starting at 1.
limitintegerMaximum number of directory entries to return on this page.
domainstringFilter scraper configurations by domain.
searchstringSearch scraper directory text and metadata.
categorystringFilter scraper configurations by category.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Scrape PagesSPIDER_SCRAPEAcciónFetch and extract exact pages without following links. Use crawl only for traversal; set billing_mode='unlimited' only for an active Unlimited plan with purchased concurrency.
SPIDER_SCRAPEAcciónFetch and extract exact pages without following links. Use crawl only for traversal; set billing_mode='unlimited' only for an active Unlimited plan with purchased concurrency.
Parámetros de entrada
urlstringObligatorioPage URL, comma-separated URLs, or Spider's documented batched request value.
metadatabooleanWhether to include page metadata.
billing_modestringenumModel-only billing selector. Defaults to PAYG, which uses credits. Unlimited requires an active Unlimited plan, uses purchased concurrency, rejects AI extraction fields, and may return 429 immediately when all purchased concurrency is active.
paygunlimitedreturn_formatanyContent format or formats Spider should return.
advanced_optionsobjectBrowser readiness and rendering, output processing, proxy and geo, session, cache, network, and budget controls. Named request fields define the target pages and output format.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Search WebSPIDER_SEARCH_WEBAcciónSearch the web and optionally fetch result pages. Defaults to 10 results without page fetching or automatic multi-page expansion.
SPIDER_SEARCH_WEBAcciónSearch the web and optionally fetch result pages. Defaults to 10 results without page fetching or automatic multi-page expansion.
Parámetros de entrada
numintegerRequested number of search results.
tbsstringSearch filter expression, such as qdr:d for the past day.
pageintegerSearch-results page number.
radiusintegerGeographic search radius in meters, used with coordinates.
searchstringObligatorioSearch query; Spider names this field search, not query.
countrystringCountry code or provider-supported country selector for localized results.
languagestringLanguage selector for search results.
latitudenumberLatitude for geographic search targeting; use with longitude.
locationstringHuman-readable search location.
longitudenumberLongitude for geographic search targeting; use with latitude.
quick_searchbooleanUse Spider's faster search path.
search_limitintegerMaximum search results Spider may process; 0 processes all results.
auto_paginationbooleanFetch additional search pages to reach the requested count; this adds requests and cost.
advanced_optionsobjectBrowser readiness and rendering, output processing, proxy and geo, session, cache, network, and budget controls used when fetching result pages. Named search fields define the query, count, and localization.
fetch_page_contentbooleanFetch result pages as well as snippets; this increases latency, response size, and cost.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Transform ContentSPIDER_TRANSFORM_CONTENTAcciónConvert supplied HTML to markdown, text, or cleaned output without fetching a URL; the total serialized JSON request must not exceed 10 MB.
SPIDER_TRANSFORM_CONTENTAcciónConvert supplied HTML to markdown, text, or cleaned output without fetching a URL; the total serialized JSON request must not exceed 10 MB.
Parámetros de entrada
dataobject[]ObligatorioContent items to transform. The total serialized JSON request must not exceed 10 MB.
cleanbooleanRemove footers, navigation, and similar noise for AI-oriented output.
clean_fullbooleanApply Spider's full cleaning behavior, including stripping unwanted attributes.
readabilitybooleanApply readability preprocessing to remove page boilerplate before conversion.
return_formatanyOutput format or formats for the transformed content.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not