@mrscraper/sdk 5.0.0 → 6.1.1

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,79 +8,71 @@ 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. */
14
+ }
15
+ /** Page controls shared by HTML, Markdown, screenshots, and JSON extraction. */
16
+ export interface PageOptions {
17
+ /** API key used to authenticate the request. */
18
+ token?: string;
19
+ /** Maximum seconds to wait for the scrape, from 1 to 330. The HTTP request allows 30 additional seconds. */
15
20
  timeout?: number;
21
+ /** CSS selector or text to wait for on the page before returning the result, up to 500 characters. */
22
+ waitForSelector?: string;
23
+ /** Two-letter country code to load the page from, sent in lowercase. */
24
+ geoCode?: string;
25
+ /** Return a cached result of the same request when it is newer than the selected age. A cached result costs the same tokens as the original scrape. */
26
+ maxAge?: number;
27
+ /** Maximum number of retries, as a nonnegative integer. Omit this parameter for no limit. */
28
+ maxRetries?: number;
16
29
  }
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
- };
30
+ /** Loading controls accepted by HTML, Markdown, and JSON extraction. */
31
+ export interface LoadingOptions {
32
+ /** Whether to load the page in a browser: true always does and false never does. Omit it to load the page without a browser first and switch to a browser automatically if the request is blocked. */
33
+ browserRendering?: boolean;
34
+ /** Whether to open the site's home page first to warm the session before loading the target URL. */
35
+ warmStart?: boolean;
36
+ /** Whether to block images, fonts, and stylesheets while loading the page. */
37
+ blockResources?: boolean;
33
38
  }
34
- /** Options for `scraper_api`. At least one of html, markdown, or screenshot must be true. */
35
- export interface ScraperApiOptions {
36
- /** Overrides MRSCRAPER_API_TOKEN for this call. */
37
- token?: string;
38
- /** Return the page HTML. Defaults to true. */
39
+ /** Screenshot area: full, top, or a WIDTHxHEIGHT viewport with an optional -ZOOM percent. */
40
+ export type ScreenshotArea = "full" | "top" | `${number}x${number}` | `${number}x${number}-${number}`;
41
+ /** Scrape HTML screenshot: false for none, or a screenshot area. */
42
+ export type ScreenshotCapture = false | ScreenshotArea;
43
+ export interface HtmlOptions extends PageOptions, LoadingOptions {
44
+ /** Scraper action that routes the request or simply flags it, useful for separating analytics per domain. */
45
+ action?: string;
46
+ /** Screenshot to capture with the HTML: false for none, full for the entire page, top for the first viewport, or a WIDTHxHEIGHT viewport from 100 to 3840 pixels with an optional -ZOOM percent from 25 to 300, such as 1280x800 or 1920x1080-75. Setting a screenshot also sends browserRendering=true. */
47
+ screenshot?: ScreenshotCapture;
48
+ }
49
+ export interface MarkdownOptions extends PageOptions, LoadingOptions {
50
+ /** Scraper action that routes the request or simply flags it, useful for separating analytics per domain. */
51
+ action?: string;
52
+ }
53
+ export interface ScreenshotOptions extends PageOptions {
54
+ /** Screenshot area to capture: full for the entire scroll height, top for the first viewport, or a WIDTHxHEIGHT viewport from 100 to 3840 pixels with an optional -ZOOM percent from 25 to 300, such as 1280x800 or 1920x1080-75. */
55
+ screenshot?: ScreenshotArea;
56
+ }
57
+ export interface JsonOptions extends PageOptions, LoadingOptions {
58
+ /** Instructions describing the data to extract. Append Json Schema: and a JSON schema to shape the output. */
59
+ prompt?: string;
60
+ /** Whether to include the page HTML in the response. */
39
61
  html?: boolean;
40
- /** Return the page as Markdown. Defaults to false. */
41
- markdown?: boolean;
42
- /** Capture a screenshot. Defaults to false; true also enables browser rendering. */
62
+ /** Whether to include a base64 screenshot in the response. */
43
63
  screenshot?: boolean;
44
- /** Page timeout in seconds, from 1 to 300. Defaults to 120. */
45
- timeout?: number;
46
- geo_code?: string;
47
- proxy_country?: string | null;
48
- block_resources?: boolean | null;
49
- browser_rendering?: boolean | null;
50
- super?: boolean;
51
- use_proxy?: boolean;
52
- proxy?: string | null;
53
- wait_for_selector?: string | null;
54
- wait_until?: string | null;
55
- home_page?: boolean;
56
- bypass_proxy?: boolean;
57
- cookie_jar?: string | null;
58
- /** Headers forwarded to the target site, not the API request. */
59
- headers?: Record<string, string> | string | null;
60
- max_retries?: number;
61
- token_cap?: number | null;
62
- stream?: boolean | null;
63
- discard_token_secret?: string;
64
64
  }
65
- /**
66
- * `scraper_api` data: an HTML string when only HTML is requested, otherwise an
67
- * object with an entry for each requested output (the screenshot is base64).
68
- */
69
- export type ScraperApiData = string | {
70
- html?: string;
71
- markdown?: string;
72
- screenshot?: string;
73
- [key: string]: unknown;
74
- };
65
+ export interface BrandOptions {
66
+ /** API key used to authenticate the request. */
67
+ token?: string;
68
+ }
75
69
  export interface WebSearchOptions {
76
- /** Overrides MRSCRAPER_API_TOKEN for this call. */
70
+ /** API key used to authenticate the request. */
77
71
  token?: string;
78
- /** Country code for localized results, such as "us". Omitted when unset. */
79
- country?: string | null;
80
- /** Number of results, an integer from 10 to 100. Defaults to 10. */
81
- num_results?: number;
82
- /** HTTP request timeout in seconds. Defaults to 600. */
83
- timeout?: number;
72
+ /** Two-letter country code to search from, sent in lowercase. */
73
+ country?: string;
74
+ /** Number of search results to request, as an integer from 10 to 100. Fewer results may be returned. */
75
+ numResults?: number;
84
76
  }
85
77
  export interface WebSearchResult {
86
78
  rank: number;
@@ -94,53 +86,48 @@ export interface WebSearchResponse {
94
86
  message: string;
95
87
  data: WebSearchResult[];
96
88
  }
89
+ export type PageData = string | {
90
+ html?: string;
91
+ markdown?: string;
92
+ screenshot?: string;
93
+ [key: string]: unknown;
94
+ };
95
+ export declare const DEFAULT_JSON_PROMPT = "Extract all data as complete as possible.";
97
96
  export declare function requireToken(explicitToken?: string): string;
98
97
  export declare function authHeaders(token: string): Record<string, string>;
99
- export declare function setIfPresent(params: URLSearchParams, key: string, value: unknown): void;
100
98
  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>>;
101
- /**
102
- * Return account identity, subscription, quota, and rate limits for the API
103
- * token. API tokens, billing identifiers, and sensitive headers are excluded.
99
+ /** Return the raw account status API response without summarizing, redacting body fields, or adding calculated fields.
100
+ * @param options Service options and authentication.
104
101
  */
105
- export declare function account(options?: AccountOptions): Promise<MrScraperResponse<AccountSummary>>;
106
- /** Shared page, browser, proxy, and retry controls without output flags. */
107
- export type ScrapeOptions = Omit<ScraperApiOptions, "html" | "markdown" | "screenshot">;
108
- /** Output, method, and agent selection made by the SDK rather than by caller options. */
109
- export interface ScrapeRequest {
110
- method?: "GET" | "POST";
111
- html?: boolean;
112
- markdown?: boolean;
113
- screenshot?: true | "full";
114
- agent?: "general" | "listing" | "map";
115
- prompt?: string;
116
- max_pages?: number;
117
- max_depth?: number;
118
- limit?: number;
119
- include_patterns?: string | null;
120
- exclude_patterns?: string | null;
121
- action?: "brand-scraping";
122
- bundle?: "clean" | "full" | "none";
123
- }
124
- /**
125
- * Build and send a scraping request for `scraper_api` and the internal
126
- * format-specific helpers. GET and brand requests carry the URL and retry
127
- * controls in the query; other POSTs carry them in the JSON body.
102
+ export declare function status<T = unknown>(options?: StatusOptions): Promise<MrScraperResponse<T>>;
103
+ /** Retrieve the raw HTML of a page. Browser rendering is optional.
104
+ * @param url Absolute HTTP or HTTPS URL of the page to process.
105
+ * @param options Service options and authentication.
106
+ */
107
+ export declare function scrapeHtml<T = PageData>(url: string, options?: HtmlOptions): Promise<MrScraperResponse<T>>;
108
+ /** Retrieve a page as clean Markdown. Browser rendering is optional.
109
+ * @param url Absolute HTTP or HTTPS URL of the page to process.
110
+ * @param options Service options and authentication.
111
+ */
112
+ export declare function scrapeMarkdown<T = PageData>(url: string, options?: MarkdownOptions): Promise<MrScraperResponse<T>>;
113
+ /** Capture a base64 PNG screenshot of the full page, the first viewport, or a custom viewport. Browser rendering is always enabled.
114
+ * @param url Absolute HTTP or HTTPS URL of the page to process.
115
+ * @param options Service options and authentication.
116
+ */
117
+ export declare function getScreenshot<T = PageData>(url: string, options?: ScreenshotOptions): Promise<MrScraperResponse<T>>;
118
+ /** Extract structured JSON from a page using a natural-language prompt. Append Json Schema: and a JSON schema to shape the output.
119
+ * @param url Absolute HTTP or HTTPS URL of the page to process.
120
+ * @param options Service options and authentication.
128
121
  */
129
- export declare function scrape<T>(url: string, options: ScrapeOptions, selected: ScrapeRequest): Promise<MrScraperResponse<T>>;
130
- /**
131
- * Fetch a public web page as rendered HTML, Markdown, screenshot, or a combination.
132
- *
133
- * Sends a GET request; the target URL, page options, and retry controls are all
134
- * query parameters. HTML alone returns a string; any combination with Markdown
135
- * or a screenshot returns an object such as `{ html, markdown, screenshot }`,
136
- * where the screenshot is base64. At least one output must be true.
122
+ export declare function scrapeJson<T = unknown>(url: string, options?: JsonOptions): Promise<MrScraperResponse<T>>;
123
+ /** Extract a website's colors, typography, logos, and social links as JSON.
124
+ * @param url Absolute HTTP or HTTPS URL of the page to process.
125
+ * @param options Service options and authentication.
137
126
  */
138
- export declare function scraper_api<T = ScraperApiData>(url: string, options?: ScraperApiOptions): Promise<MrScraperResponse<T>>;
139
- /**
140
- * Search the web for real-time results: website URLs, titles, and descriptions.
141
- *
142
- * Sends `{ action: "websearch", query, country, numResults }` as a JSON POST
143
- * to the MrScraper API. `country` is omitted when unset.
127
+ export declare function scrapeBrand<T = unknown>(url: string, options?: BrandOptions): Promise<MrScraperResponse<T>>;
128
+ /** Search the web and return ranked results with titles, URLs, descriptions, and sources.
129
+ * @param query Search query text, trimmed before sending, containing 1 to 1000 characters.
130
+ * @param options Service options and authentication.
144
131
  */
145
- export declare function web_search<T = WebSearchResponse>(query: string, options?: WebSearchOptions): Promise<MrScraperResponse<T>>;
132
+ export declare function webSearch<T = WebSearchResponse>(query: string, options?: WebSearchOptions): Promise<MrScraperResponse<T>>;
146
133
  //# 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,MAAM,GAAG,IAAI,CAAC;QACrB,QAAQ,EAAE,OAAO,CAAC;KACnB,CAAC;CACH;AAED,6FAA6F;AAC7F,MAAM,WAAW,iBAAiB;IAChC,mDAAmD;IACnD,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