AptlyStar

Context.dev

Scrape, crawl, search, extract, and enrich web and brand data

使用方法

Integrate Context.dev into the workflow. Scrape pages to markdown or HTML, capture screenshots, list images, crawl entire sites, map sitemaps, search the web, extract structured data and products, pull design systems, classify industries, and retrieve brand assets by domain, name, email, ticker, or transaction ΓÇö all from one API.

ツール

context_dev_scrape_markdown

Scrape any URL and return clean, LLM-ready markdown content.

入力

パラメータ型必須説明
urlstringはいThe full URL to scrape (must include http:// or https://)
useMainContentOnlybooleanいいえReturn only main content, excluding headers, footers, and navigation
includeLinksbooleanいいえPreserve hyperlinks in the markdown output (default: true)
includeImagesbooleanいいえInclude image references in the markdown output (default: false)
includeFramesbooleanいいえRender iframe contents inline (default: false)
maxAgeMsnumberいいえCache duration in milliseconds (0-2592000000, default: 86400000)
waitForMsnumberいいえBrowser wait time after page load in milliseconds (0-30000)
timeoutMSnumberいいえRequest timeout in milliseconds (1000-300000)
apiKeystringはいContext.dev API key

出力

パラメータ型説明
markdownstringPage content as clean markdown
urlstringThe scraped URL

context_dev_scrape_html

Scrape any URL and return the raw HTML content of the page.

入力

パラメータ型必須説明
urlstringはいThe full URL to scrape (must include http:// or https://)
useMainContentOnlybooleanいいえReturn only main content, excluding headers, footers, and navigation
includeFramesbooleanいいえRender iframe contents inline into the returned HTML (default: false)
maxAgeMsnumberいいえCache duration in milliseconds (0-2592000000, default: 86400000)
waitForMsnumberいいえBrowser wait time after page load in milliseconds (0-30000)
timeoutMSnumberいいえRequest timeout in milliseconds (1000-300000)
apiKeystringはいContext.dev API key

出力

パラメータ型説明
htmlstringRaw HTML content of the page
urlstringThe scraped URL
typestringDetected content type (html, xml, json, text, csv, markdown, svg, pdf)

context_dev_scrape_images

Discover every image asset on a page, with optional dimension and type enrichment.

入力

パラメータ型必須説明
urlstringはいThe full URL to scrape images from (must include http:// or https://)
maxAgeMsnumberいいえCache duration in milliseconds (0-2592000000, default: 86400000)
waitForMsnumberいいえBrowser wait time after page load in milliseconds (0-30000)
timeoutMSnumberいいえRequest timeout in milliseconds (1000-300000)
enrichResolutionbooleanいいえMeasure image dimensions (enables 5-credit enrichment)
enrichHostedUrlbooleanいいえHost images on a CDN and return their URL and MIME type (enables enrichment)
enrichClassificationbooleanいいえClassify each image by visual asset type (enables enrichment)
apiKeystringはいContext.dev API key

出力

パラメータ型説明
successbooleanWhether the scrape succeeded
imagesarrayDiscovered image assets with source, element, type, and optional enrichment
↳ srcstringImage source URL or data
↳ elementstringSource element (img, svg, link, source, video, css, object, meta, background)
↳ typestringImage representation (url, html, base64)
↳ altstringAlt text
↳ enrichmentjsonOptional enrichment (width, height, mimetype, url, type) when requested
urlstringThe scraped URL

context_dev_screenshot

Capture a screenshot of any web page and store it as a downloadable image file.

入力

パラメータ型必須説明
urlstringはいThe full URL to capture (must include http:// or https://)
fullScreenshotbooleanいいえCapture the full scrollable page instead of just the viewport (default: false)
handleCookiePopupbooleanいいえAttempt to dismiss cookie banners before capturing (default: false)
viewportWidthnumberいいえViewport width in pixels (240-7680, default: 1920)
viewportHeightnumberいいえViewport height in pixels (240-4320, default: 1080)
maxAgeMsnumberいいえCache duration in milliseconds (0-2592000000, default: 86400000)
waitForMsnumberいいえPost-load delay before capturing in milliseconds (0-30000, default: 3000)
timeoutMSnumberいいえRequest timeout in milliseconds (1000-300000)
apiKeystringはいContext.dev API key

出力

パラメータ型説明
filefileStored screenshot image file
screenshotUrlstringPublic URL of the captured screenshot
screenshotTypestringScreenshot type (viewport or fullPage)
domainstringDomain that was captured
widthnumberScreenshot width in pixels
heightnumberScreenshot height in pixels

context_dev_crawl

Crawl an entire website and return each discovered page as clean markdown.

入力

パラメータ型必須説明
urlstringはいThe starting URL to crawl (must include http:// or https://)
maxPagesnumberいいえMaximum number of pages to crawl (1-500, default: 100)
maxDepthnumberいいえMaximum link depth from the starting URL (0 = start page only)
urlRegexstringいいえRegex pattern to filter which URLs are crawled
includeLinksbooleanいいえPreserve hyperlinks in the markdown output (default: true)
includeImagesbooleanいいえInclude image references in the markdown output (default: false)
useMainContentOnlybooleanいいえStrip headers, footers, and sidebars from each page (default: false)
followSubdomainsbooleanいいえFollow links to subdomains of the starting domain (default: false)
maxAgeMsnumberいいえCache duration in milliseconds (0-2592000000, default: 86400000)
waitForMsnumberいいえBrowser wait time after page load in milliseconds (0-30000)
stopAfterMsnumberいいえSoft crawl time budget in milliseconds (10000-110000, default: 80000)
timeoutMSnumberいいえRequest timeout in milliseconds (1000-300000)
apiKeystringはいContext.dev API key

出力

パラメータ型説明
resultsarrayCrawled pages with markdown content and per-page metadata
↳ markdownstringPage content as markdown
↳ metadatajsonPage metadata (url, title, crawlDepth, statusCode)
metadataobjectCrawl summary (numUrls, maxCrawlDepth, numSucceeded, numFailed, numSkipped)

context_dev_map

Build a sitemap of a domain and return every discovered page URL.

入力

パラメータ型必須説明
domainstringはいThe domain to build a sitemap for (e.g., "example.com")
maxLinksnumberいいえMaximum number of URLs to return (1-100000, default: 10000)
urlRegexstringいいえRE2-compatible regex to filter URLs (max 256 chars)
timeoutMSnumberいいえRequest timeout in milliseconds (1000-300000)
apiKeystringはいContext.dev API key

出力

パラメータ型説明
domainstringThe domain that was mapped
urlsarrayAll page URLs discovered from the sitemap
metaobjectSitemap discovery stats (sitemapsDiscovered, sitemapsFetched, errors)

Search the web with natural language and optionally scrape results to markdown.

入力

パラメータ型必須説明
querystringはいThe natural language search query (1-500 characters)
includeDomainsarrayいいえOnly return results from these domains
excludeDomainsarrayいいえExclude results from these domains
freshnessstringいいえRecency filter (last_24_hours, last_week, last_month, last_year)
queryFanoutbooleanいいえExpand the query into parallel variants for broader coverage
markdownEnabledbooleanいいえScrape each result page to markdown (default: false)
timeoutMSnumberいいえRequest timeout in milliseconds (1000-300000)
apiKeystringはいContext.dev API key

出力

パラメータ型説明
resultsarraySearch results with url, title, description, relevance, and optional markdown
↳ urlstringResult page URL
↳ titlestringResult page title
↳ descriptionstringResult snippet/description
↳ relevancestringRelevance rating (high, medium, low)
↳ markdownjsonScraped markdown for the result (when markdown scraping is enabled)
querystringThe query that was searched

context_dev_extract

Crawl a website and extract structured data matching a provided JSON schema.

入力

パラメータ型必須説明
urlstringはいThe starting website URL (must include http:// or https://)
schemajsonはいJSON Schema describing the structure of the data to extract
instructionsstringいいえOptional extraction guidance for link prioritization (max 2000 chars)
factCheckbooleanいいえRequire extracted values to be grounded in page facts (default: false)
followSubdomainsbooleanいいえFollow links on subdomains of the starting domain (default: false)
maxPagesnumberいいえMaximum number of pages to analyze (1-50, default: 5)
maxDepthnumberいいえMaximum link depth from the starting URL
maxAgeMsnumberいいえCache duration in milliseconds (0-2592000000, default: 604800000)
stopAfterMsnumberいいえSoft crawl time budget in milliseconds (10000-110000, default: 80000)
timeoutMSnumberいいえRequest timeout in milliseconds (1000-300000)
apiKeystringはいContext.dev API key

出力

パラメータ型説明
statusstringExtraction status
urlstringThe starting URL that was crawled
urlsAnalyzedarrayURLs that were analyzed during extraction
datajsonStructured data matching the requested schema
metadataobjectCrawl summary (numUrls, maxCrawlDepth, numSucceeded, numFailed, numSkipped)

context_dev_extract_product

Detect and extract structured product details from a single product page URL.

入力

パラメータ型必須説明
urlstringはいThe product page URL (must include http:// or https://)
maxAgeMsnumberいいえCache duration in milliseconds (0-2592000000, default: 604800000)
timeoutMSnumberいいえRequest timeout in milliseconds (1000-300000)
apiKeystringはいContext.dev API key

出力

パラメータ型説明
isProductPagebooleanWhether the URL is a product page
platformstringDetected platform (amazon, tiktok_shop, etsy, generic)
productobjectExtracted product details
↳ namestringProduct name
↳ descriptionstringProduct description
↳ pricenumberProduct price
↳ currencystringPrice currency
↳ billing_frequencystringBilling frequency (monthly, yearly, one_time, usage_based)
↳ pricing_modelstringPricing model (per_seat, flat, tiered, freemium, custom)
↳ urlstringProduct URL
↳ categorystringProduct category
↳ featuresjsonProduct features
↳ target_audiencejsonTarget audience
↳ tagsjsonProduct tags
↳ image_urlstringPrimary product image URL
↳ imagesjsonProduct image URLs
↳ skustringProduct SKU

context_dev_extract_products

Extract the product catalog from a brand's website by domain (beta).

入力

パラメータ型必須説明
domainstringはいThe domain to extract products from (e.g., "example.com")
maxProductsnumberいいえMaximum number of products to extract (1-12)
maxAgeMsnumberいいえCache duration in milliseconds (0-2592000000, default: 604800000)
timeoutMSnumberいいえRequest timeout in milliseconds (1000-300000)
apiKeystringはいContext.dev API key

出力

パラメータ型説明
productsarrayExtracted products with pricing, features, and metadata
↳ namestringProduct name
↳ descriptionstringProduct description
↳ pricenumberProduct price
↳ currencystringPrice currency
↳ billing_frequencystringBilling frequency (monthly, yearly, one_time, usage_based)
↳ pricing_modelstringPricing model (per_seat, flat, tiered, freemium, custom)
↳ urlstringProduct URL
↳ categorystringProduct category
↳ featuresjsonProduct features
↳ target_audiencejsonTarget audience
↳ tagsjsonProduct tags
↳ image_urlstringPrimary product image URL
↳ imagesjsonProduct image URLs
↳ skustringProduct SKU

context_dev_scrape_fonts

Extract the font families, usage stats, and font files used by a domain.

入力

パラメータ型必須説明
domainstringはいThe domain to extract fonts from (e.g., "example.com")
maxAgeMsnumberいいえCache max age in milliseconds (86400000-31536000000, default: 7776000000)
timeoutMSnumberいいえRequest timeout in milliseconds (1000-300000)
apiKeystringはいContext.dev API key

出力

パラメータ型説明
statusstringExtraction status
domainstringThe domain that was analyzed
fontsarrayFonts with usage statistics and fallbacks
↳ fontstringFont family name
↳ usesjsonWhere the font is used
↳ fallbacksjsonFallback font families
↳ num_elementsnumberNumber of elements using the font
↳ num_wordsnumberNumber of words rendered in the font
↳ percent_wordsnumberPercent of words using the font
↳ percent_elementsnumberPercent of elements using the font
fontLinksjsonFont family download links keyed by font name (type, files, category)

context_dev_scrape_styleguide

Extract a domain's design system: colors, typography, spacing, shadows, and UI components.

入力

パラメータ型必須説明
domainstringはいThe domain to extract the styleguide from (e.g., "example.com")
maxAgeMsnumberいいえCache max age in milliseconds (86400000-31536000000, default: 7776000000)
timeoutMSnumberいいえRequest timeout in milliseconds (1000-300000)
apiKeystringはいContext.dev API key

出力

パラメータ型説明
statusstringExtraction status
domainstringThe domain that was analyzed
styleguidejsonDesign system: mode, colors, typography, elementSpacing, shadows, fontLinks, components

context_dev_classify_naics

Classify a brand into NAICS industry codes from its domain or company name.

入力

パラメータ型必須説明
inputstringはいBrand domain or company name to classify (e.g., "stripe.com" or "Stripe")
minResultsnumberいいえMinimum number of codes to return (1-10, default: 1)
maxResultsnumberいいえMaximum number of codes to return (1-10, default: 5)
timeoutMSnumberいいえRequest timeout in milliseconds (1000-300000)
apiKeystringはいContext.dev API key

出力

パラメータ型説明
statusstringClassification status
domainstringResolved domain
typestringInput type that was resolved
codesarrayMatched NAICS codes with name and confidence
↳ codestringIndustry code
↳ namestringIndustry name
↳ confidencestringMatch confidence (high, medium, low)

context_dev_classify_sic

Classify a brand into SIC industry codes from its domain or company name.

入力

パラメータ型必須説明
inputstringはいBrand domain or company name to classify (e.g., "stripe.com" or "Stripe")
typestringいいえSIC taxonomy version: "original_sic" (default) or "latest_sec"
minResultsnumberいいえMinimum number of codes to return (1-10, default: 1)
maxResultsnumberいいえMaximum number of codes to return (1-10, default: 5)
timeoutMSnumberいいえRequest timeout in milliseconds (1000-300000)
apiKeystringはいContext.dev API key

出力

パラメータ型説明
statusstringClassification status
domainstringResolved domain
typestringInput type that was resolved
classificationstringSIC taxonomy version used (original_sic or latest_sec)
codesarrayMatched SIC codes with name, confidence, and group metadata
↳ codestringIndustry code
↳ namestringIndustry name
↳ confidencestringMatch confidence (high, medium, low)
↳ majorGroupstringMajor group code (original_sic only)
↳ majorGroupNamestringMajor group name (original_sic only)
↳ officestringSEC office (latest_sec only)

context_dev_get_brand

Retrieve brand data for a domain: logos, colors, backdrops, socials, address, and industry.

入力

パラメータ型必須説明
domainstringはいThe domain to retrieve brand data for (e.g., "airbnb.com")
forceLanguagestringいいえOverride the detected language with a supported language code
maxSpeedbooleanいいえSkip time-consuming operations for a faster response (default: false)
maxAgeMsnumberいいえCache max age in milliseconds (86400000-31536000000, default: 7776000000)
timeoutMSnumberいいえRequest timeout in milliseconds (1000-300000)
apiKeystringはいContext.dev API key

出力

パラメータ型説明
statusstringRetrieval status
brandobjectBrand data object
↳ domainstringBrand domain
↳ titlestringBrand title
↳ descriptionstringBrand description
↳ sloganstringBrand slogan
↳ colorsjsonBrand colors (hex and name)
↳ logosjsonBrand logos with mode, colors, resolution, and type
↳ backdropsjsonBrand backdrop images
↳ socialsjsonSocial media profiles (type and url)
↳ addressjsonBrand address
↳ stockjsonStock info (ticker and exchange)
↳ is_nsfwbooleanWhether the brand contains adult content
↳ emailstringBrand contact email
↳ phonestringBrand contact phone
↳ industriesjsonIndustry taxonomy (eic industry/subindustry pairs)
↳ linksjsonKey brand links (careers, privacy, terms, blog, pricing)
↳ primary_languagestringPrimary language of the brand site

context_dev_get_brand_by_name

Retrieve brand data by company name: logos, colors, socials, address, and industry.

入力

パラメータ型必須説明
namestringはいCompany name to retrieve brand data for (3-30 chars, e.g., "Apple Inc")
countryGlstringいいえISO 2-letter country code to prioritize (e.g., "us")
forceLanguagestringいいえOverride the detected language with a supported language code
maxSpeedbooleanいいえSkip time-consuming operations for a faster response (default: false)
maxAgeMsnumberいいえCache max age in milliseconds (86400000-31536000000, default: 7776000000)
timeoutMSnumberいいえRequest timeout in milliseconds (1000-300000)
apiKeystringはいContext.dev API key

出力

パラメータ型説明
statusstringRetrieval status
brandobjectBrand data object
↳ domainstringBrand domain
↳ titlestringBrand title
↳ descriptionstringBrand description
↳ sloganstringBrand slogan
↳ colorsjsonBrand colors (hex and name)
↳ logosjsonBrand logos with mode, colors, resolution, and type
↳ backdropsjsonBrand backdrop images
↳ socialsjsonSocial media profiles (type and url)
↳ addressjsonBrand address
↳ stockjsonStock info (ticker and exchange)
↳ is_nsfwbooleanWhether the brand contains adult content
↳ emailstringBrand contact email
↳ phonestringBrand contact phone
↳ industriesjsonIndustry taxonomy (eic industry/subindustry pairs)
↳ linksjsonKey brand links (careers, privacy, terms, blog, pricing)
↳ primary_languagestringPrimary language of the brand site

context_dev_get_brand_by_email

Retrieve brand data from a work email address. Free/disposable emails are rejected (422).

入力

パラメータ型必須説明
emailstringはいWork email address; the domain is extracted (free providers are rejected)
forceLanguagestringいいえOverride the detected language with a supported language code
maxSpeedbooleanいいえSkip time-consuming operations for a faster response (default: false)
maxAgeMsnumberいいえCache max age in milliseconds (86400000-31536000000, default: 7776000000)
timeoutMSnumberいいえRequest timeout in milliseconds (1000-300000)
apiKeystringはいContext.dev API key

出力

パラメータ型説明
statusstringRetrieval status
brandobjectBrand data object
↳ domainstringBrand domain
↳ titlestringBrand title
↳ descriptionstringBrand description
↳ sloganstringBrand slogan
↳ colorsjsonBrand colors (hex and name)
↳ logosjsonBrand logos with mode, colors, resolution, and type
↳ backdropsjsonBrand backdrop images
↳ socialsjsonSocial media profiles (type and url)
↳ addressjsonBrand address
↳ stockjsonStock info (ticker and exchange)
↳ is_nsfwbooleanWhether the brand contains adult content
↳ emailstringBrand contact email
↳ phonestringBrand contact phone
↳ industriesjsonIndustry taxonomy (eic industry/subindustry pairs)
↳ linksjsonKey brand links (careers, privacy, terms, blog, pricing)
↳ primary_languagestringPrimary language of the brand site

context_dev_get_brand_by_ticker

Retrieve brand data for a public company by its stock ticker symbol.

入力

パラメータ型必須説明
tickerstringはいStock ticker symbol (e.g., "AAPL", "GOOGL", "BRK.A")
tickerExchangestringいいえExchange code for the ticker (e.g., "NASDAQ", "NYSE", "LSE"). Default: NASDAQ
forceLanguagestringいいえOverride the detected language with a supported language code
maxSpeedbooleanいいえSkip time-consuming operations for a faster response (default: false)
maxAgeMsnumberいいえCache max age in milliseconds (86400000-31536000000, default: 7776000000)
timeoutMSnumberいいえRequest timeout in milliseconds (1000-300000)
apiKeystringはいContext.dev API key

出力

パラメータ型説明
statusstringRetrieval status
brandobjectBrand data object
↳ domainstringBrand domain
↳ titlestringBrand title
↳ descriptionstringBrand description
↳ sloganstringBrand slogan
↳ colorsjsonBrand colors (hex and name)
↳ logosjsonBrand logos with mode, colors, resolution, and type
↳ backdropsjsonBrand backdrop images
↳ socialsjsonSocial media profiles (type and url)
↳ addressjsonBrand address
↳ stockjsonStock info (ticker and exchange)
↳ is_nsfwbooleanWhether the brand contains adult content
↳ emailstringBrand contact email
↳ phonestringBrand contact phone
↳ industriesjsonIndustry taxonomy (eic industry/subindustry pairs)
↳ linksjsonKey brand links (careers, privacy, terms, blog, pricing)
↳ primary_languagestringPrimary language of the brand site

context_dev_get_brand_simplified

Retrieve essential brand data for a domain: title, colors, logos, and backdrops.

入力

パラメータ型必須説明
domainstringはいThe domain to retrieve simplified brand data for (e.g., "airbnb.com")
maxAgeMsnumberいいえCache max age in milliseconds (86400000-31536000000, default: 7776000000)
timeoutMSnumberいいえRequest timeout in milliseconds (1000-300000)
apiKeystringはいContext.dev API key

出力

パラメータ型説明
statusstringRetrieval status
brandobjectSimplified brand data (domain, title, colors, logos, backdrops)
↳ domainstringBrand domain
↳ titlestringBrand title
↳ colorsjsonBrand colors (hex and name)
↳ logosjsonBrand logos with mode, colors, resolution, and type
↳ backdropsjsonBrand backdrop images

context_dev_identify_transaction

Identify the brand behind a raw bank/card transaction descriptor and return its brand data.

入力

パラメータ型必須説明
transactionInfostringはいThe raw transaction descriptor or identifier to resolve to a brand
countryGlstringいいえISO 2-letter country code from the transaction (e.g., "us", "gb")
citystringいいえCity name to prioritize in the search
mccstringいいえMerchant Category Code for the business category
phonenumberいいえPhone number from the transaction for verification
highConfidenceOnlybooleanいいえEnforce additional verification steps for higher confidence (default: false)
forceLanguagestringいいえOverride the detected language with a supported language code
maxSpeedbooleanいいえSkip time-consuming operations for a faster response (default: false)
timeoutMSnumberいいえRequest timeout in milliseconds (1000-300000)
apiKeystringはいContext.dev API key

出力

パラメータ型説明
statusstringIdentification status
brandobjectBrand data for the identified merchant
↳ domainstringBrand domain
↳ titlestringBrand title
↳ descriptionstringBrand description
↳ sloganstringBrand slogan
↳ colorsjsonBrand colors (hex and name)
↳ logosjsonBrand logos with mode, colors, resolution, and type
↳ backdropsjsonBrand backdrop images
↳ socialsjsonSocial media profiles (type and url)
↳ addressjsonBrand address
↳ stockjsonStock info (ticker and exchange)
↳ is_nsfwbooleanWhether the brand contains adult content
↳ emailstringBrand contact email
↳ phonestringBrand contact phone
↳ industriesjsonIndustry taxonomy (eic industry/subindustry pairs)
↳ linksjsonKey brand links (careers, privacy, terms, blog, pricing)
↳ primary_languagestringPrimary language of the brand site

context_dev_prefetch_domain

Queue a domain for brand-data prefetching to reduce latency on later requests (subscribers; 0 credits).

入力

パラメータ型必須説明
domainstringはいThe domain to prefetch brand data for (e.g., "example.com")
timeoutMSnumberいいえRequest timeout in milliseconds (1000-300000)
apiKeystringはいContext.dev API key

出力

パラメータ型説明
statusstringPrefetch status
messagestringHuman-readable prefetch result message
domainstringThe domain queued for prefetching

context_dev_prefetch_by_email

Queue an email's domain for brand-data prefetching to reduce later latency (subscribers; 0 credits). Free/disposable emails are rejected.

入力

パラメータ型必須説明
emailstringはいWork email address whose domain should be prefetched (free providers rejected)
timeoutMSnumberいいえRequest timeout in milliseconds (1000-300000)
apiKeystringはいContext.dev API key

出力

パラメータ型説明
statusstringPrefetch status
messagestringHuman-readable prefetch result message
domainstringThe domain queued for prefetching

On this page