@mrscraper/sdk 4.0.1 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/api.d.ts CHANGED
@@ -8,122 +8,133 @@ export interface MrScraperResponse<T = unknown> {
8
8
  data: T;
9
9
  headers: Record<string, string>;
10
10
  }
11
- export interface AccountOptions {
12
- /** Overrides MRSCRAPER_API_TOKEN for this call. */
11
+ export interface StatusOptions {
12
+ /** API key used to authenticate the request. */
13
13
  token?: string;
14
- /** HTTP request timeout in seconds. Defaults to 30. */
15
- timeout?: number;
16
- }
17
- export interface AccountSummary {
18
- subscription_status: string | null;
19
- enterprise: boolean;
20
- token_usage: number;
21
- token_limit: number;
22
- token_remaining: number;
23
- usage_percent: number;
24
- rate_limit: number;
25
- rate_ttl: number;
26
- auto_renew: boolean;
27
- ends_at: string | null;
28
- user: {
29
- name: string | null;
30
- email: string | null;
31
- verified: boolean;
32
- };
33
14
  }
34
- /** Shared page, browser, proxy, and retry controls. Output is selected by the function. */
35
- export interface ScraperOptions {
36
- /** Overrides MRSCRAPER_API_TOKEN for this call. */
15
+ export type WaitUntil = "domcontentloaded" | "load" | "networkidle0" | "networkidle2";
16
+ export interface PageOptions {
17
+ /** API key used to authenticate the request. */
37
18
  token?: string;
38
- /** Page timeout in seconds, from 1 to 300. */
19
+ /** Page load timeout in seconds, from 1 to 300. The HTTP request allows 30 additional seconds. */
39
20
  timeout?: number;
40
- geo_code?: string;
41
- proxy_country?: string | null;
42
- block_resources?: boolean | null;
43
- browser_rendering?: boolean | null;
21
+ /** Two-letter country code to load the page from, sent in lowercase. */
22
+ geoCode?: string;
23
+ /** Two-letter country code of the proxy server, sent in lowercase. */
24
+ proxyCountry?: string;
25
+ /** Whether to route the request through real devices. */
44
26
  super?: boolean;
45
- use_proxy?: boolean;
46
- proxy?: string | null;
47
- wait_for_selector?: string | null;
48
- wait_until?: string | null;
49
- home_page?: boolean;
50
- bypass_proxy?: boolean;
51
- cookie_jar?: string | null;
52
- /** Headers forwarded to the target site, not the API request. */
53
- headers?: Record<string, string> | string | null;
54
- max_retries?: number;
55
- token_cap?: number | null;
56
- stream?: boolean | null;
57
- discard_token_secret?: string;
27
+ /** Navigation completion event to wait for: domcontentloaded, load, networkidle0, or networkidle2. */
28
+ waitUntil?: WaitUntil;
29
+ /** Custom proxy URL used to load the page. */
30
+ proxy?: string;
31
+ /** Maximum number of retries, as a nonnegative integer. Omit this parameter for no limit. */
32
+ maxRetries?: number;
33
+ /** Whether to save the result to the dashboard Result tab. */
34
+ saveResult?: boolean;
58
35
  }
59
- export interface ScreenshotOptions extends Omit<ScraperOptions, "browser_rendering"> {
60
- /** Defaults to true (screenshot=full); false captures the viewport. */
61
- full_page?: boolean;
36
+ export interface LoadingOptions {
37
+ /** Whether to block images, fonts, and stylesheets while loading the page. */
38
+ blockResources?: boolean;
39
+ /** Wait for the page to contain the specified CSS selector before returning the result. */
40
+ waitForSelector?: string;
41
+ /** Whether to include browser session cookies in the response. */
42
+ returnCookie?: boolean;
62
43
  }
63
- export interface ScraperJsonOptions extends ScraperOptions {
64
- /** Defaults to "Extract all data as complete as possible." */
65
- prompt?: string;
44
+ export interface HtmlOptions extends PageOptions, LoadingOptions {
45
+ /** Whether to enable warm start for more reliable scraping, at the cost of additional latency. */
46
+ warmStart?: boolean;
47
+ /** Whether to render the page in a browser before returning the result. */
48
+ browserRendering?: boolean;
66
49
  }
67
- export interface ScraperMultiplePageOptions extends ScraperOptions {
68
- /** Defaults to "Extract all entry data as complete as possible." */
69
- prompt?: string;
70
- /** Positive integer, defaults to 3. */
71
- max_pages?: number;
50
+ export interface MarkdownOptions extends HtmlOptions {
51
+ /** Whether to include the page HTML in the response. */
52
+ html?: boolean;
72
53
  }
73
- export interface ScraperSitemapOptions extends ScraperOptions {
74
- /** Nonnegative integer, defaults to 2. */
75
- max_depth?: number;
76
- /** Positive integer, defaults to 3. */
77
- max_pages?: number;
78
- /** Positive integer, defaults to 1000. */
79
- limit?: number;
80
- /** Pattern strings are forwarded unchanged; unset patterns are omitted. */
81
- include_patterns?: string | null;
82
- exclude_patterns?: string | null;
54
+ export interface ScreenshotOptions extends PageOptions, LoadingOptions {
55
+ /** Screenshot area to capture: full for the entire page or top for the top viewport. */
56
+ screenshot?: "full" | "top";
57
+ /** Whether to include the page HTML in the response. */
58
+ html?: boolean;
59
+ /** Whether to include the page Markdown in the response. */
60
+ markdown?: boolean;
83
61
  }
84
- export type BrandBundle = "clean" | "full" | "none";
85
- export type BrandOutput = "html" | "bundle" | "screenshot" | "screenshot_full";
86
- export interface ScrapeBrandOptions extends ScraperOptions {
87
- /** Defaults to clean. */
88
- bundle?: BrandBundle;
62
+ export interface JsonOptions extends PageOptions {
63
+ /** Instructions describing the data to extract. Append Json Schema: and a JSON schema to shape the output. */
64
+ prompt?: string;
65
+ /** Whether to render the page in a browser before returning the result. */
66
+ browserRendering?: boolean;
67
+ /** Whether to include the page HTML in the response. */
68
+ html?: boolean;
69
+ /** Whether to include a base64 screenshot in the response. */
70
+ screenshot?: boolean;
89
71
  }
90
- export interface GetBrandOptions {
72
+ export interface BrandOptions {
73
+ /** API key used to authenticate the request. */
91
74
  token?: string;
92
- output?: BrandOutput | null;
93
- /** HTTP timeout in seconds, defaults to 600. */
94
- timeout?: number;
95
75
  }
96
76
  export interface WebSearchOptions {
97
- /** Overrides MRSCRAPER_API_TOKEN for this call. */
77
+ /** API key used to authenticate the request. */
98
78
  token?: string;
99
- /** Compatibility flag: true requests HTML even when format is "json". */
100
- raw?: boolean;
101
- region?: string | null;
102
- language?: string | null;
103
- page?: number | null;
104
- format?: "json" | "html";
105
- render_js?: boolean;
106
- /** HTTP request timeout in seconds. */
107
- timeout?: number;
79
+ /** Two-letter country code to search from, sent in lowercase. */
80
+ country?: string;
81
+ /** Number of search results to request, as an integer from 10 to 100. Fewer results may be returned. */
82
+ numResults?: number;
83
+ }
84
+ export interface WebSearchResult {
85
+ rank: number;
86
+ title: string;
87
+ url: string;
88
+ description: string;
89
+ source: string;
90
+ }
91
+ export interface WebSearchResponse {
92
+ success: boolean;
93
+ message: string;
94
+ data: WebSearchResult[];
108
95
  }
109
- /** Check account identity, subscription, quota, and rate limits. */
110
- export declare function account(options?: AccountOptions): Promise<MrScraperResponse<AccountSummary>>;
111
- /** Fetch HTML. Only html=true is sent; other output flags are omitted. */
112
- export declare function scraper_html<T = unknown>(url: string, options?: ScraperOptions): Promise<MrScraperResponse<T>>;
113
- /** Fetch Markdown. Only markdown=true is sent; other output flags are omitted. */
114
- export declare function scraper_markdown<T = unknown>(url: string, options?: ScraperOptions): Promise<MrScraperResponse<T>>;
115
- /** Capture a screenshot using GET. Images are returned as Buffer in data. */
116
- export declare function get_screenshot<T = unknown>(url: string, options?: ScreenshotOptions): Promise<MrScraperResponse<T>>;
117
- /** Extract structured JSON with the general agent and html=true. */
118
- export declare function scraper_json<T = unknown>(url: string, options?: ScraperJsonOptions): Promise<MrScraperResponse<T>>;
119
- /** Extract entries across multiple pages using the listing agent. */
120
- export declare function scraper_multiple_page<T = unknown>(url: string, options?: ScraperMultiplePageOptions): Promise<MrScraperResponse<T>>;
121
- /** Discover URLs with the map agent; pattern strings are preserved unchanged. */
122
- export declare function scraper_sitemap<T = unknown>(url: string, options?: ScraperSitemapOptions): Promise<MrScraperResponse<T>>;
123
- /** Start a brand-scraping job; use the returned job ID with get_brand. */
124
- export declare function scrape_brand<T = unknown>(url: string, options?: ScrapeBrandOptions): Promise<MrScraperResponse<T>>;
125
- /** Read a brand job or download HTML, a ZIP bundle, or a screenshot. */
126
- export declare function get_brand<T = unknown>(job_id: string, options?: GetBrandOptions): Promise<MrScraperResponse<T>>;
127
- /** Search the web to retrieve real-time search results, including relevant website URLs, titles, descriptions, and related questions based on a given query. */
128
- export declare function web_search<T = unknown>(url: string, options?: WebSearchOptions): Promise<MrScraperResponse<T>>;
96
+ export type PageData = string | {
97
+ html?: string;
98
+ markdown?: string;
99
+ screenshot?: string;
100
+ [key: string]: unknown;
101
+ };
102
+ export declare const DEFAULT_JSON_PROMPT = "Extract all data as complete as possible.";
103
+ export declare function requireToken(explicitToken?: string): string;
104
+ export declare function authHeaders(token: string): Record<string, string>;
105
+ export declare function request<T>(method: "GET" | "POST", url: string, body: Record<string, unknown> | undefined, headers: Record<string, string>, timeoutSeconds: number, token: string): Promise<MrScraperResponse<T>>;
106
+ /** Return the raw account status API response without summarizing, redacting body fields, or adding calculated fields.
107
+ * @param options Service options and authentication.
108
+ */
109
+ export declare function status<T = unknown>(options?: StatusOptions): Promise<MrScraperResponse<T>>;
110
+ /** Retrieve the raw HTML of a page. Browser rendering is optional.
111
+ * @param url Absolute HTTP or HTTPS URL of the page to process.
112
+ * @param options Service options and authentication.
113
+ */
114
+ export declare function scrapeHtml<T = PageData>(url: string, options?: HtmlOptions): Promise<MrScraperResponse<T>>;
115
+ /** Retrieve a page as Markdown. Including HTML also enables browser rendering and returns both outputs as JSON.
116
+ * @param url Absolute HTTP or HTTPS URL of the page to process.
117
+ * @param options Service options and authentication.
118
+ */
119
+ export declare function scrapeMarkdown<T = PageData>(url: string, options?: MarkdownOptions): Promise<MrScraperResponse<T>>;
120
+ /** Capture a base64 screenshot of the full page or top viewport. Browser rendering is always enabled.
121
+ * @param url Absolute HTTP or HTTPS URL of the page to process.
122
+ * @param options Service options and authentication.
123
+ */
124
+ export declare function getScreenshot<T = PageData>(url: string, options?: ScreenshotOptions): Promise<MrScraperResponse<T>>;
125
+ /** Extract structured JSON from a page using a natural-language prompt. Append Json Schema: and a JSON schema to shape the output.
126
+ * @param url Absolute HTTP or HTTPS URL of the page to process.
127
+ * @param options Service options and authentication.
128
+ */
129
+ export declare function scrapeJson<T = unknown>(url: string, options?: JsonOptions): Promise<MrScraperResponse<T>>;
130
+ /** Extract a website's colors, typography, logos, and social links as JSON.
131
+ * @param url Absolute HTTP or HTTPS URL of the page to process.
132
+ * @param options Service options and authentication.
133
+ */
134
+ export declare function scrapeBrand<T = unknown>(url: string, options?: BrandOptions): Promise<MrScraperResponse<T>>;
135
+ /** Search the web and return ranked results with titles, URLs, descriptions, and sources.
136
+ * @param query Search query text, trimmed before sending, containing 1 to 1000 characters.
137
+ * @param options Service options and authentication.
138
+ */
139
+ export declare function webSearch<T = WebSearchResponse>(query: string, options?: WebSearchOptions): Promise<MrScraperResponse<T>>;
129
140
  //# sourceMappingURL=api.d.ts.map
package/dist/api.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAAA,2DAA2D;AAC3D,qBAAa,cAAe,SAAQ,KAAK;IACvC,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;gBAExB,OAAO,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,MAAM;CAK7C;AAED,MAAM,WAAW,iBAAiB,CAAC,CAAC,GAAG,OAAO;IAC5C,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,EAAE,CAAC,CAAC;IACR,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACjC;AAED,MAAM,WAAW,cAAc;IAC7B,mDAAmD;IACnD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,uDAAuD;IACvD,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,cAAc;IAC7B,mBAAmB,EAAE,MAAM,GAAG,IAAI,CAAC;IACnC,UAAU,EAAE,OAAO,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,MAAM,CAAC;IACpB,eAAe,EAAE,MAAM,CAAC;IACxB,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,OAAO,CAAC;IACpB,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IACvB,IAAI,EAAE;QACJ,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;QACpB,KAAK,EAAE,M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