mcpscraper-sdk 0.12.0 → 0.12.2
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/README.md +4 -2
- package/dist/index.d.cts +26 -26
- package/dist/index.d.ts +26 -26
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -40,7 +40,7 @@ Every non-2xx response throws a `ScraperApiError` with `status`, `code`, and the
|
|
|
40
40
|
|
|
41
41
|
## API surface
|
|
42
42
|
|
|
43
|
-
`client.tools` is the generated, typed
|
|
43
|
+
`client.tools` is the generated, typed 159-tool MCP surface. It includes 72 MCP Scraper tools and all 87 mirrored memory tools from `contracts/mcp.tools.json`.
|
|
44
44
|
|
|
45
45
|
For multimodal results such as `meta_ad_creative_media`, call `client.tools.callToolResult(...)` to preserve native MCP image/audio/resource blocks. `callTool(...)` remains backward-compatible and returns the parsed structured or text value.
|
|
46
46
|
|
|
@@ -56,6 +56,8 @@ await client.tools.connections.exportConnectedServiceData({
|
|
|
56
56
|
|
|
57
57
|
The connected-data export performs bounded Gmail, Calendar, Zoom, Meta Marketing, or Resend pagination server-side and returns small results inline or a private seven-day JSONL artifact. Use `meta_ads_insights` for daily account, campaign, ad-set, and ad reporting across connected Meta ad accounts. Resend can aggregate sent/received mail, logs, contacts, broadcasts, and templates with `resend_data`. Resume partial exports with the returned `continuation` object; renew an expired signed URL with `client.tools.connections.renewConnectedDataDownload({ artifactId })`. Use `listServiceConnections` for verified grants and per-tool permission blockers, then `describeServiceConnectionTool` for the exact provider-native schema before calling through the generic connection bridges.
|
|
58
58
|
|
|
59
|
+
Integrations are included with an active Starter plan or higher: OAuth connect/reconnect and direct connected-service reads, approved actions, exports, and snapshots do not currently have an extra connection-operation debit. Scheduled Actions use the shared Credit balance at 75 Credits per started occurrence; agent-mode runs also add 1.5 times OpenRouter's actual reported model cost. Inspect the live policy with `await client.tools.schedule.getScheduleStatus()`.
|
|
60
|
+
|
|
59
61
|
Core operations are flat on the client: `searchSerp`, `harvestPaa`, `extractUrl`, `mapSiteUrls`, `extractSite`, `auditSite`, `getExtractSiteStatus`, `listJobs`, `getJob`, `getHistory`, `getLedger`.
|
|
60
62
|
|
|
61
63
|
Everything else is namespaced by product area, matching the OpenAPI spec's tags: `client.youtube`, `client.screenshot`, `client.facebook`, `client.googleAds`, `client.instagram`, `client.reddit`, `client.video`, `client.maps`, `client.directory`, `client.serpIntelligence`, `client.workflows`.
|
|
@@ -90,4 +92,4 @@ npm run generate
|
|
|
90
92
|
|
|
91
93
|
## See also
|
|
92
94
|
|
|
93
|
-
[Repo README](../../README.md) (multi-language examples with real sample output) · [`mcpscraper-memory-sdk`](../memory) (Node, full
|
|
95
|
+
[Repo README](../../README.md) (multi-language examples with real sample output) · [`mcpscraper-memory-sdk`](../memory) (Node, full 87-tool typed surface) · [`mcpscraper-sdk` Python source package](../scraper-python) · [`mcpscraper-cli`](../cli)
|
package/dist/index.d.cts
CHANGED
|
@@ -17,9 +17,9 @@ interface paths {
|
|
|
17
17
|
put?: never;
|
|
18
18
|
/**
|
|
19
19
|
* Run a Google SERP search, or a full People-Also-Ask harvest
|
|
20
|
-
* @description Set `serpOnly: true` for a pure organic-results/SERP call (
|
|
20
|
+
* @description Set `serpOnly: true` for a pure organic-results/SERP call (1 credit). Omit or
|
|
21
21
|
* set `false` for a full People-Also-Ask harvest, which also returns SERP data
|
|
22
|
-
* (
|
|
22
|
+
* (55 credit base + 3 credits per question actually returned; unused estimate is
|
|
23
23
|
* refunded). Runs synchronously and returns the result inline.
|
|
24
24
|
*/
|
|
25
25
|
post: operations["harvestSync"];
|
|
@@ -108,7 +108,7 @@ interface paths {
|
|
|
108
108
|
put?: never;
|
|
109
109
|
/**
|
|
110
110
|
* Extract a single page (markdown/HTML, headings, optional screenshot/branding/media)
|
|
111
|
-
* @description Costs
|
|
111
|
+
* @description Costs 1 credit per page.
|
|
112
112
|
*/
|
|
113
113
|
post: operations["extractUrl"];
|
|
114
114
|
delete?: never;
|
|
@@ -128,7 +128,7 @@ interface paths {
|
|
|
128
128
|
put?: never;
|
|
129
129
|
/**
|
|
130
130
|
* Spider a site and return its discovered URL inventory
|
|
131
|
-
* @description Flat
|
|
131
|
+
* @description Flat 5 credits per call, regardless of URL count discovered.
|
|
132
132
|
*/
|
|
133
133
|
post: operations["mapSiteUrls"];
|
|
134
134
|
delete?: never;
|
|
@@ -148,7 +148,7 @@ interface paths {
|
|
|
148
148
|
put?: never;
|
|
149
149
|
/**
|
|
150
150
|
* Crawl and extract every page of a site (also serves audit_site)
|
|
151
|
-
* @description
|
|
151
|
+
* @description 1 credit per page crawled (estimated up front against `maxPages`, then
|
|
152
152
|
* reconciled to the actual page count crawled; unused estimate refunded). Set
|
|
153
153
|
* `background: true` to enqueue an async crawl and poll
|
|
154
154
|
* `GET /extract-site/status/{id}` instead of waiting inline — recommended above a
|
|
@@ -189,7 +189,7 @@ interface paths {
|
|
|
189
189
|
put?: never;
|
|
190
190
|
/**
|
|
191
191
|
* Search YouTube, or list a channel's videos
|
|
192
|
-
* @description Costs
|
|
192
|
+
* @description Costs 2 credits per call.
|
|
193
193
|
*/
|
|
194
194
|
post: operations["youtubeHarvest"];
|
|
195
195
|
delete?: never;
|
|
@@ -209,7 +209,7 @@ interface paths {
|
|
|
209
209
|
put?: never;
|
|
210
210
|
/**
|
|
211
211
|
* Transcribe a YouTube video's captions
|
|
212
|
-
* @description
|
|
212
|
+
* @description 2 credits per minute; a 5-minute hold is taken up front and reconciled to actual duration.
|
|
213
213
|
*/
|
|
214
214
|
post: operations["youtubeTranscribe"];
|
|
215
215
|
delete?: never;
|
|
@@ -229,7 +229,7 @@ interface paths {
|
|
|
229
229
|
put?: never;
|
|
230
230
|
/**
|
|
231
231
|
* Capture a full-page PNG screenshot of a URL
|
|
232
|
-
* @description Costs
|
|
232
|
+
* @description Costs 1 credit. Returns the raw PNG bytes, not JSON.
|
|
233
233
|
*/
|
|
234
234
|
post: operations["screenshot"];
|
|
235
235
|
delete?: never;
|
|
@@ -249,7 +249,7 @@ interface paths {
|
|
|
249
249
|
put?: never;
|
|
250
250
|
/**
|
|
251
251
|
* Extract one Facebook Ad Library ad (all its variants) by URL or library ID
|
|
252
|
-
* @description Costs
|
|
252
|
+
* @description Costs 2 credits.
|
|
253
253
|
*/
|
|
254
254
|
post: operations["facebookAd"];
|
|
255
255
|
delete?: never;
|
|
@@ -269,7 +269,7 @@ interface paths {
|
|
|
269
269
|
put?: never;
|
|
270
270
|
/**
|
|
271
271
|
* List an advertiser's active/recent ads by page ID, library ID, or search query
|
|
272
|
-
* @description Costs
|
|
272
|
+
* @description Costs 2 credits.
|
|
273
273
|
*/
|
|
274
274
|
post: operations["facebookPageIntel"];
|
|
275
275
|
delete?: never;
|
|
@@ -289,7 +289,7 @@ interface paths {
|
|
|
289
289
|
put?: never;
|
|
290
290
|
/**
|
|
291
291
|
* Transcribe a Facebook ad's video by direct video URL
|
|
292
|
-
* @description
|
|
292
|
+
* @description 333 credits per minute (typical); a hold is taken and reconciled to actual duration and vendor cost.
|
|
293
293
|
*/
|
|
294
294
|
post: operations["facebookAdTranscribe"];
|
|
295
295
|
delete?: never;
|
|
@@ -309,7 +309,7 @@ interface paths {
|
|
|
309
309
|
put?: never;
|
|
310
310
|
/**
|
|
311
311
|
* Transcribe an organic Facebook video, reel, or share URL (not an ad)
|
|
312
|
-
* @description
|
|
312
|
+
* @description 333 credits per minute (typical); a hold is taken and reconciled to actual duration and vendor cost.
|
|
313
313
|
*/
|
|
314
314
|
post: operations["facebookVideoTranscribe"];
|
|
315
315
|
delete?: never;
|
|
@@ -329,7 +329,7 @@ interface paths {
|
|
|
329
329
|
put?: never;
|
|
330
330
|
/**
|
|
331
331
|
* Search the Facebook Ad Library by keyword and return matching advertisers
|
|
332
|
-
* @description Costs
|
|
332
|
+
* @description Costs 6 credits.
|
|
333
333
|
*/
|
|
334
334
|
post: operations["facebookSearch"];
|
|
335
335
|
delete?: never;
|
|
@@ -369,7 +369,7 @@ interface paths {
|
|
|
369
369
|
put?: never;
|
|
370
370
|
/**
|
|
371
371
|
* Find advertisers in the Google Ads Transparency Center by keyword
|
|
372
|
-
* @description Costs
|
|
372
|
+
* @description Costs 6 credits.
|
|
373
373
|
*/
|
|
374
374
|
post: operations["googleAdsSearch"];
|
|
375
375
|
delete?: never;
|
|
@@ -389,7 +389,7 @@ interface paths {
|
|
|
389
389
|
put?: never;
|
|
390
390
|
/**
|
|
391
391
|
* List one advertiser's creatives by advertiser ID or domain
|
|
392
|
-
* @description Costs
|
|
392
|
+
* @description Costs 2 credits.
|
|
393
393
|
*/
|
|
394
394
|
post: operations["googleAdsPageIntel"];
|
|
395
395
|
delete?: never;
|
|
@@ -409,7 +409,7 @@ interface paths {
|
|
|
409
409
|
put?: never;
|
|
410
410
|
/**
|
|
411
411
|
* Transcribe a Google ad's video by direct video URL
|
|
412
|
-
* @description
|
|
412
|
+
* @description 333 credits per minute (typical); a hold is taken and reconciled to actual duration and vendor cost.
|
|
413
413
|
*/
|
|
414
414
|
post: operations["googleAdsTranscribe"];
|
|
415
415
|
delete?: never;
|
|
@@ -429,7 +429,7 @@ interface paths {
|
|
|
429
429
|
put?: never;
|
|
430
430
|
/**
|
|
431
431
|
* List a public Instagram profile's grid content
|
|
432
|
-
* @description Costs
|
|
432
|
+
* @description Costs 4 credits per profile scan. Provide `handle` or `url`.
|
|
433
433
|
*/
|
|
434
434
|
post: operations["instagramProfileContent"];
|
|
435
435
|
delete?: never;
|
|
@@ -449,7 +449,7 @@ interface paths {
|
|
|
449
449
|
put?: never;
|
|
450
450
|
/**
|
|
451
451
|
* Extract and optionally download media from an Instagram post, reel, or tv URL
|
|
452
|
-
* @description Costs
|
|
452
|
+
* @description Costs 4 credits per post or reel; when `includeTranscript` is used, transcription is typically 333 credits per minute and is reconciled to actual duration and vendor cost.
|
|
453
453
|
*/
|
|
454
454
|
post: operations["instagramMediaDownload"];
|
|
455
455
|
delete?: never;
|
|
@@ -469,7 +469,7 @@ interface paths {
|
|
|
469
469
|
put?: never;
|
|
470
470
|
/**
|
|
471
471
|
* Capture a Reddit post and its comment tree
|
|
472
|
-
* @description Costs 2 credits. Refunded automatically if Reddit blocks the request after retries.
|
|
472
|
+
* @description Costs 30 credits for the thread plus 2 credits per comment actually returned. Refunded automatically if Reddit blocks the request after retries.
|
|
473
473
|
*/
|
|
474
474
|
post: operations["redditThread"];
|
|
475
475
|
delete?: never;
|
|
@@ -492,7 +492,7 @@ interface paths {
|
|
|
492
492
|
* @description Full multi-lens breakdown: samples frames across a video (up to 30 minutes),
|
|
493
493
|
* analyzes each with vision AI, transcribes audio, then produces summary,
|
|
494
494
|
* pacing/energy, words-per-minute, topic outline, key points, hook analysis,
|
|
495
|
-
* visual style, and a how-to-replicate recipe.
|
|
495
|
+
* visual style, and a how-to-replicate recipe. 6,667 credits per 120 frames
|
|
496
496
|
* requested (max 480 frames); billed down automatically if the video can't use
|
|
497
497
|
* the requested frames, refunded fully if the run fails.
|
|
498
498
|
*/
|
|
@@ -531,7 +531,7 @@ interface paths {
|
|
|
531
531
|
put?: never;
|
|
532
532
|
/**
|
|
533
533
|
* Search Google Maps for businesses matching a query and location
|
|
534
|
-
* @description Costs
|
|
534
|
+
* @description Costs 5 credits. Returns up to 50 business/profile candidates.
|
|
535
535
|
*/
|
|
536
536
|
post: operations["mapsSearch"];
|
|
537
537
|
delete?: never;
|
|
@@ -551,7 +551,7 @@ interface paths {
|
|
|
551
551
|
put?: never;
|
|
552
552
|
/**
|
|
553
553
|
* Deep-dive one Google Maps business by name and location, with reviews
|
|
554
|
-
* @description
|
|
554
|
+
* @description 60 credits base; +1 credit per review card when `includeReviews` is true.
|
|
555
555
|
*/
|
|
556
556
|
post: operations["mapsPlaceIntel"];
|
|
557
557
|
delete?: never;
|
|
@@ -571,7 +571,7 @@ interface paths {
|
|
|
571
571
|
put?: never;
|
|
572
572
|
/**
|
|
573
573
|
* Run Google Maps business search across many cities in a state/region at once
|
|
574
|
-
* @description Cost is `
|
|
574
|
+
* @description Cost is `5 credits × number of markets resolved` for the query — see `GET /workflows/definitions` for related workflow shapes. Failed cities are refunded individually.
|
|
575
575
|
*/
|
|
576
576
|
post: operations["directoryWorkflow"];
|
|
577
577
|
delete?: never;
|
|
@@ -591,7 +591,7 @@ interface paths {
|
|
|
591
591
|
put?: never;
|
|
592
592
|
/**
|
|
593
593
|
* Structured SERP capture with AI Overview/AI Mode detection, entity IDs, and location-match evidence
|
|
594
|
-
* @description Costs
|
|
594
|
+
* @description Costs 1 credit. Rate-limited to 60 requests/minute per account.
|
|
595
595
|
*/
|
|
596
596
|
post: operations["serpIntelligenceCapture"];
|
|
597
597
|
delete?: never;
|
|
@@ -611,7 +611,7 @@ interface paths {
|
|
|
611
611
|
put?: never;
|
|
612
612
|
/**
|
|
613
613
|
* Fetch and archive full-content snapshots (HTML/text/markdown/screenshot) of specific URLs
|
|
614
|
-
* @description Costs
|
|
614
|
+
* @description Costs 1 credit per URL (max 25 per call). Rate-limited to 60 requests/minute per account.
|
|
615
615
|
*/
|
|
616
616
|
post: operations["serpIntelligencePageSnapshots"];
|
|
617
617
|
delete?: never;
|
|
@@ -786,7 +786,7 @@ interface paths {
|
|
|
786
786
|
put?: never;
|
|
787
787
|
/**
|
|
788
788
|
* Call one memory.mcpscraper.dev tool by name, using this account's mcpscraper.dev API key
|
|
789
|
-
* @description Generic dispatch: names one of the
|
|
789
|
+
* @description Generic dispatch: names one of the 87 tools documented in this repo's
|
|
790
790
|
* `contracts/memory.tools.json` and forwards `args` to it, using a memory identity
|
|
791
791
|
* auto-provisioned for the calling mcpscraper.dev account. The response shape depends
|
|
792
792
|
* entirely on which tool was called — see that tool's `outputSchema` in the manifest.
|
package/dist/index.d.ts
CHANGED
|
@@ -17,9 +17,9 @@ interface paths {
|
|
|
17
17
|
put?: never;
|
|
18
18
|
/**
|
|
19
19
|
* Run a Google SERP search, or a full People-Also-Ask harvest
|
|
20
|
-
* @description Set `serpOnly: true` for a pure organic-results/SERP call (
|
|
20
|
+
* @description Set `serpOnly: true` for a pure organic-results/SERP call (1 credit). Omit or
|
|
21
21
|
* set `false` for a full People-Also-Ask harvest, which also returns SERP data
|
|
22
|
-
* (
|
|
22
|
+
* (55 credit base + 3 credits per question actually returned; unused estimate is
|
|
23
23
|
* refunded). Runs synchronously and returns the result inline.
|
|
24
24
|
*/
|
|
25
25
|
post: operations["harvestSync"];
|
|
@@ -108,7 +108,7 @@ interface paths {
|
|
|
108
108
|
put?: never;
|
|
109
109
|
/**
|
|
110
110
|
* Extract a single page (markdown/HTML, headings, optional screenshot/branding/media)
|
|
111
|
-
* @description Costs
|
|
111
|
+
* @description Costs 1 credit per page.
|
|
112
112
|
*/
|
|
113
113
|
post: operations["extractUrl"];
|
|
114
114
|
delete?: never;
|
|
@@ -128,7 +128,7 @@ interface paths {
|
|
|
128
128
|
put?: never;
|
|
129
129
|
/**
|
|
130
130
|
* Spider a site and return its discovered URL inventory
|
|
131
|
-
* @description Flat
|
|
131
|
+
* @description Flat 5 credits per call, regardless of URL count discovered.
|
|
132
132
|
*/
|
|
133
133
|
post: operations["mapSiteUrls"];
|
|
134
134
|
delete?: never;
|
|
@@ -148,7 +148,7 @@ interface paths {
|
|
|
148
148
|
put?: never;
|
|
149
149
|
/**
|
|
150
150
|
* Crawl and extract every page of a site (also serves audit_site)
|
|
151
|
-
* @description
|
|
151
|
+
* @description 1 credit per page crawled (estimated up front against `maxPages`, then
|
|
152
152
|
* reconciled to the actual page count crawled; unused estimate refunded). Set
|
|
153
153
|
* `background: true` to enqueue an async crawl and poll
|
|
154
154
|
* `GET /extract-site/status/{id}` instead of waiting inline — recommended above a
|
|
@@ -189,7 +189,7 @@ interface paths {
|
|
|
189
189
|
put?: never;
|
|
190
190
|
/**
|
|
191
191
|
* Search YouTube, or list a channel's videos
|
|
192
|
-
* @description Costs
|
|
192
|
+
* @description Costs 2 credits per call.
|
|
193
193
|
*/
|
|
194
194
|
post: operations["youtubeHarvest"];
|
|
195
195
|
delete?: never;
|
|
@@ -209,7 +209,7 @@ interface paths {
|
|
|
209
209
|
put?: never;
|
|
210
210
|
/**
|
|
211
211
|
* Transcribe a YouTube video's captions
|
|
212
|
-
* @description
|
|
212
|
+
* @description 2 credits per minute; a 5-minute hold is taken up front and reconciled to actual duration.
|
|
213
213
|
*/
|
|
214
214
|
post: operations["youtubeTranscribe"];
|
|
215
215
|
delete?: never;
|
|
@@ -229,7 +229,7 @@ interface paths {
|
|
|
229
229
|
put?: never;
|
|
230
230
|
/**
|
|
231
231
|
* Capture a full-page PNG screenshot of a URL
|
|
232
|
-
* @description Costs
|
|
232
|
+
* @description Costs 1 credit. Returns the raw PNG bytes, not JSON.
|
|
233
233
|
*/
|
|
234
234
|
post: operations["screenshot"];
|
|
235
235
|
delete?: never;
|
|
@@ -249,7 +249,7 @@ interface paths {
|
|
|
249
249
|
put?: never;
|
|
250
250
|
/**
|
|
251
251
|
* Extract one Facebook Ad Library ad (all its variants) by URL or library ID
|
|
252
|
-
* @description Costs
|
|
252
|
+
* @description Costs 2 credits.
|
|
253
253
|
*/
|
|
254
254
|
post: operations["facebookAd"];
|
|
255
255
|
delete?: never;
|
|
@@ -269,7 +269,7 @@ interface paths {
|
|
|
269
269
|
put?: never;
|
|
270
270
|
/**
|
|
271
271
|
* List an advertiser's active/recent ads by page ID, library ID, or search query
|
|
272
|
-
* @description Costs
|
|
272
|
+
* @description Costs 2 credits.
|
|
273
273
|
*/
|
|
274
274
|
post: operations["facebookPageIntel"];
|
|
275
275
|
delete?: never;
|
|
@@ -289,7 +289,7 @@ interface paths {
|
|
|
289
289
|
put?: never;
|
|
290
290
|
/**
|
|
291
291
|
* Transcribe a Facebook ad's video by direct video URL
|
|
292
|
-
* @description
|
|
292
|
+
* @description 333 credits per minute (typical); a hold is taken and reconciled to actual duration and vendor cost.
|
|
293
293
|
*/
|
|
294
294
|
post: operations["facebookAdTranscribe"];
|
|
295
295
|
delete?: never;
|
|
@@ -309,7 +309,7 @@ interface paths {
|
|
|
309
309
|
put?: never;
|
|
310
310
|
/**
|
|
311
311
|
* Transcribe an organic Facebook video, reel, or share URL (not an ad)
|
|
312
|
-
* @description
|
|
312
|
+
* @description 333 credits per minute (typical); a hold is taken and reconciled to actual duration and vendor cost.
|
|
313
313
|
*/
|
|
314
314
|
post: operations["facebookVideoTranscribe"];
|
|
315
315
|
delete?: never;
|
|
@@ -329,7 +329,7 @@ interface paths {
|
|
|
329
329
|
put?: never;
|
|
330
330
|
/**
|
|
331
331
|
* Search the Facebook Ad Library by keyword and return matching advertisers
|
|
332
|
-
* @description Costs
|
|
332
|
+
* @description Costs 6 credits.
|
|
333
333
|
*/
|
|
334
334
|
post: operations["facebookSearch"];
|
|
335
335
|
delete?: never;
|
|
@@ -369,7 +369,7 @@ interface paths {
|
|
|
369
369
|
put?: never;
|
|
370
370
|
/**
|
|
371
371
|
* Find advertisers in the Google Ads Transparency Center by keyword
|
|
372
|
-
* @description Costs
|
|
372
|
+
* @description Costs 6 credits.
|
|
373
373
|
*/
|
|
374
374
|
post: operations["googleAdsSearch"];
|
|
375
375
|
delete?: never;
|
|
@@ -389,7 +389,7 @@ interface paths {
|
|
|
389
389
|
put?: never;
|
|
390
390
|
/**
|
|
391
391
|
* List one advertiser's creatives by advertiser ID or domain
|
|
392
|
-
* @description Costs
|
|
392
|
+
* @description Costs 2 credits.
|
|
393
393
|
*/
|
|
394
394
|
post: operations["googleAdsPageIntel"];
|
|
395
395
|
delete?: never;
|
|
@@ -409,7 +409,7 @@ interface paths {
|
|
|
409
409
|
put?: never;
|
|
410
410
|
/**
|
|
411
411
|
* Transcribe a Google ad's video by direct video URL
|
|
412
|
-
* @description
|
|
412
|
+
* @description 333 credits per minute (typical); a hold is taken and reconciled to actual duration and vendor cost.
|
|
413
413
|
*/
|
|
414
414
|
post: operations["googleAdsTranscribe"];
|
|
415
415
|
delete?: never;
|
|
@@ -429,7 +429,7 @@ interface paths {
|
|
|
429
429
|
put?: never;
|
|
430
430
|
/**
|
|
431
431
|
* List a public Instagram profile's grid content
|
|
432
|
-
* @description Costs
|
|
432
|
+
* @description Costs 4 credits per profile scan. Provide `handle` or `url`.
|
|
433
433
|
*/
|
|
434
434
|
post: operations["instagramProfileContent"];
|
|
435
435
|
delete?: never;
|
|
@@ -449,7 +449,7 @@ interface paths {
|
|
|
449
449
|
put?: never;
|
|
450
450
|
/**
|
|
451
451
|
* Extract and optionally download media from an Instagram post, reel, or tv URL
|
|
452
|
-
* @description Costs
|
|
452
|
+
* @description Costs 4 credits per post or reel; when `includeTranscript` is used, transcription is typically 333 credits per minute and is reconciled to actual duration and vendor cost.
|
|
453
453
|
*/
|
|
454
454
|
post: operations["instagramMediaDownload"];
|
|
455
455
|
delete?: never;
|
|
@@ -469,7 +469,7 @@ interface paths {
|
|
|
469
469
|
put?: never;
|
|
470
470
|
/**
|
|
471
471
|
* Capture a Reddit post and its comment tree
|
|
472
|
-
* @description Costs 2 credits. Refunded automatically if Reddit blocks the request after retries.
|
|
472
|
+
* @description Costs 30 credits for the thread plus 2 credits per comment actually returned. Refunded automatically if Reddit blocks the request after retries.
|
|
473
473
|
*/
|
|
474
474
|
post: operations["redditThread"];
|
|
475
475
|
delete?: never;
|
|
@@ -492,7 +492,7 @@ interface paths {
|
|
|
492
492
|
* @description Full multi-lens breakdown: samples frames across a video (up to 30 minutes),
|
|
493
493
|
* analyzes each with vision AI, transcribes audio, then produces summary,
|
|
494
494
|
* pacing/energy, words-per-minute, topic outline, key points, hook analysis,
|
|
495
|
-
* visual style, and a how-to-replicate recipe.
|
|
495
|
+
* visual style, and a how-to-replicate recipe. 6,667 credits per 120 frames
|
|
496
496
|
* requested (max 480 frames); billed down automatically if the video can't use
|
|
497
497
|
* the requested frames, refunded fully if the run fails.
|
|
498
498
|
*/
|
|
@@ -531,7 +531,7 @@ interface paths {
|
|
|
531
531
|
put?: never;
|
|
532
532
|
/**
|
|
533
533
|
* Search Google Maps for businesses matching a query and location
|
|
534
|
-
* @description Costs
|
|
534
|
+
* @description Costs 5 credits. Returns up to 50 business/profile candidates.
|
|
535
535
|
*/
|
|
536
536
|
post: operations["mapsSearch"];
|
|
537
537
|
delete?: never;
|
|
@@ -551,7 +551,7 @@ interface paths {
|
|
|
551
551
|
put?: never;
|
|
552
552
|
/**
|
|
553
553
|
* Deep-dive one Google Maps business by name and location, with reviews
|
|
554
|
-
* @description
|
|
554
|
+
* @description 60 credits base; +1 credit per review card when `includeReviews` is true.
|
|
555
555
|
*/
|
|
556
556
|
post: operations["mapsPlaceIntel"];
|
|
557
557
|
delete?: never;
|
|
@@ -571,7 +571,7 @@ interface paths {
|
|
|
571
571
|
put?: never;
|
|
572
572
|
/**
|
|
573
573
|
* Run Google Maps business search across many cities in a state/region at once
|
|
574
|
-
* @description Cost is `
|
|
574
|
+
* @description Cost is `5 credits × number of markets resolved` for the query — see `GET /workflows/definitions` for related workflow shapes. Failed cities are refunded individually.
|
|
575
575
|
*/
|
|
576
576
|
post: operations["directoryWorkflow"];
|
|
577
577
|
delete?: never;
|
|
@@ -591,7 +591,7 @@ interface paths {
|
|
|
591
591
|
put?: never;
|
|
592
592
|
/**
|
|
593
593
|
* Structured SERP capture with AI Overview/AI Mode detection, entity IDs, and location-match evidence
|
|
594
|
-
* @description Costs
|
|
594
|
+
* @description Costs 1 credit. Rate-limited to 60 requests/minute per account.
|
|
595
595
|
*/
|
|
596
596
|
post: operations["serpIntelligenceCapture"];
|
|
597
597
|
delete?: never;
|
|
@@ -611,7 +611,7 @@ interface paths {
|
|
|
611
611
|
put?: never;
|
|
612
612
|
/**
|
|
613
613
|
* Fetch and archive full-content snapshots (HTML/text/markdown/screenshot) of specific URLs
|
|
614
|
-
* @description Costs
|
|
614
|
+
* @description Costs 1 credit per URL (max 25 per call). Rate-limited to 60 requests/minute per account.
|
|
615
615
|
*/
|
|
616
616
|
post: operations["serpIntelligencePageSnapshots"];
|
|
617
617
|
delete?: never;
|
|
@@ -786,7 +786,7 @@ interface paths {
|
|
|
786
786
|
put?: never;
|
|
787
787
|
/**
|
|
788
788
|
* Call one memory.mcpscraper.dev tool by name, using this account's mcpscraper.dev API key
|
|
789
|
-
* @description Generic dispatch: names one of the
|
|
789
|
+
* @description Generic dispatch: names one of the 87 tools documented in this repo's
|
|
790
790
|
* `contracts/memory.tools.json` and forwards `args` to it, using a memory identity
|
|
791
791
|
* auto-provisioned for the calling mcpscraper.dev account. The response shape depends
|
|
792
792
|
* entirely on which tool was called — see that tool's `outputSchema` in the manifest.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "mcpscraper-sdk",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.2",
|
|
4
4
|
"description": "Official Node.js client for all 159 mcpscraper.dev MCP tools and the REST API",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"seo-api"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"mcpscraper-memory-sdk": "^0.11.
|
|
34
|
+
"mcpscraper-memory-sdk": "^0.11.3"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"openapi-typescript": "^7.13.0"
|