@getanyapi/sdk 0.127.7 → 0.129.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/index.cjs +135 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1185 -25
- package/dist/index.d.ts +1185 -25
- package/dist/index.js +133 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1081,7 +1081,7 @@ var AhrefsNamespace = class {
|
|
|
1081
1081
|
/**
|
|
1082
1082
|
* Ahrefs Domain Overview
|
|
1083
1083
|
*
|
|
1084
|
-
* Get an SEO authority overview for any domain or URL: Domain Rating, total backlinks, and referring domains - as normalized JSON.
|
|
1084
|
+
* Get an SEO authority overview for any domain or URL: Domain Rating, total backlinks, and referring domains - as normalized JSON. For the keywords a domain ranks for, use seo.ranked_keywords.
|
|
1085
1085
|
*
|
|
1086
1086
|
* Price: $0.00006 per request plus $0.00495 per result (maximum $0.00501).
|
|
1087
1087
|
*
|
|
@@ -1094,7 +1094,7 @@ var AhrefsNamespace = class {
|
|
|
1094
1094
|
/**
|
|
1095
1095
|
* Ahrefs Traffic Overview
|
|
1096
1096
|
*
|
|
1097
|
-
* Get the Ahrefs organic traffic overview for any domain or URL: monthly traffic estimate and value, the top keywords it already ranks for with position and traffic, top pages, traffic by country, and a monthly traffic history - as normalized JSON.
|
|
1097
|
+
* Get the Ahrefs organic traffic overview for any domain or URL: monthly traffic estimate and value, the top 5 keywords it already ranks for with position and traffic, top pages, traffic by country, and a monthly traffic history - as normalized JSON. For a domain's full ranked-keyword list with search volume and difficulty, use seo.ranked_keywords.
|
|
1098
1098
|
*
|
|
1099
1099
|
* Price: $0.00006 per request plus $0.00495 per result (maximum $0.00501).
|
|
1100
1100
|
*
|
|
@@ -1148,6 +1148,53 @@ var AlibabaNamespace = class {
|
|
|
1148
1148
|
}
|
|
1149
1149
|
};
|
|
1150
1150
|
|
|
1151
|
+
// src/generated/platforms/aliexpress.ts
|
|
1152
|
+
var AliexpressNamespace = class {
|
|
1153
|
+
constructor(_core) {
|
|
1154
|
+
this._core = _core;
|
|
1155
|
+
}
|
|
1156
|
+
_core;
|
|
1157
|
+
/**
|
|
1158
|
+
* AliExpress Product
|
|
1159
|
+
*
|
|
1160
|
+
* Look up one AliExpress product by id and get its price, original price, rating, reviews count, images, options, variants with stock, specifications, store, ship-from country and delivery estimate in one normalized response.
|
|
1161
|
+
*
|
|
1162
|
+
* Price: $0.00085 per request.
|
|
1163
|
+
*
|
|
1164
|
+
* @example
|
|
1165
|
+
* const res = await client.aliexpress.product({ productId: "3256807039224587" });
|
|
1166
|
+
*/
|
|
1167
|
+
product(input, options) {
|
|
1168
|
+
return this._core.run("aliexpress.product", input, options);
|
|
1169
|
+
}
|
|
1170
|
+
/**
|
|
1171
|
+
* AliExpress Reviews
|
|
1172
|
+
*
|
|
1173
|
+
* Get one page of buyer reviews for an AliExpress product by id, with rating, text, buyer country, date, bought variant and photos for each review, plus the product's total reviews, average rating and star distribution, in one normalized response.
|
|
1174
|
+
*
|
|
1175
|
+
* Price: $0.00085 per request.
|
|
1176
|
+
*
|
|
1177
|
+
* @example
|
|
1178
|
+
* const res = await client.aliexpress.reviews({ productId: "3256807039224587" });
|
|
1179
|
+
*/
|
|
1180
|
+
reviews(input, options) {
|
|
1181
|
+
return this._core.run("aliexpress.reviews", input, options);
|
|
1182
|
+
}
|
|
1183
|
+
/**
|
|
1184
|
+
* AliExpress Search
|
|
1185
|
+
*
|
|
1186
|
+
* Search AliExpress by keyword with optional sort, price-range, page, ship-to country and currency, and get title, price, original price, units sold and image for each product in one normalized response.
|
|
1187
|
+
*
|
|
1188
|
+
* Price: $0.00085 per request.
|
|
1189
|
+
*
|
|
1190
|
+
* @example
|
|
1191
|
+
* const res = await client.aliexpress.search({ query: "minecraft room projector" });
|
|
1192
|
+
*/
|
|
1193
|
+
search(input, options) {
|
|
1194
|
+
return this._core.run("aliexpress.search", input, options);
|
|
1195
|
+
}
|
|
1196
|
+
};
|
|
1197
|
+
|
|
1151
1198
|
// src/generated/platforms/amazon.ts
|
|
1152
1199
|
var AmazonNamespace = class {
|
|
1153
1200
|
constructor(_core) {
|
|
@@ -1185,7 +1232,7 @@ var AmazonNamespace = class {
|
|
|
1185
1232
|
*
|
|
1186
1233
|
* Fetch full Amazon product details (title, brand, price when in stock, images, ratings, review count, variants, and attributes) from a product URL.
|
|
1187
1234
|
*
|
|
1188
|
-
* Price: $0.
|
|
1235
|
+
* Price: $0.0009 per request.
|
|
1189
1236
|
*
|
|
1190
1237
|
* @example
|
|
1191
1238
|
* const res = await client.amazon.product({ url: "https://www.amazon.com/dp/B00NTCH52W" });
|
|
@@ -2357,6 +2404,66 @@ var EmailVerificationNamespace = class {
|
|
|
2357
2404
|
}
|
|
2358
2405
|
};
|
|
2359
2406
|
|
|
2407
|
+
// src/generated/platforms/etsy.ts
|
|
2408
|
+
var EtsyNamespace = class {
|
|
2409
|
+
constructor(_core) {
|
|
2410
|
+
this._core = _core;
|
|
2411
|
+
}
|
|
2412
|
+
_core;
|
|
2413
|
+
/**
|
|
2414
|
+
* Etsy Product
|
|
2415
|
+
*
|
|
2416
|
+
* Look up one Etsy listing by id and get its price, images, description, rating, reviews count, shop, category, variations, stock, ship-from country, favorites and materials in one normalized response.
|
|
2417
|
+
*
|
|
2418
|
+
* Price: $0.00085 per request.
|
|
2419
|
+
*
|
|
2420
|
+
* @example
|
|
2421
|
+
* const res = await client.etsy.product({ listingId: "1810545592" });
|
|
2422
|
+
*/
|
|
2423
|
+
product(input, options) {
|
|
2424
|
+
return this._core.run("etsy.product", input, options);
|
|
2425
|
+
}
|
|
2426
|
+
/**
|
|
2427
|
+
* Etsy Search
|
|
2428
|
+
*
|
|
2429
|
+
* Search Etsy listings by keyword, the same results an Etsy search or /market page shows, with optional sort, price range and page, and get title, price, original price, image, shop, rating and ad flag for each listing in one normalized response.
|
|
2430
|
+
*
|
|
2431
|
+
* Price: $0.00085 per request.
|
|
2432
|
+
*
|
|
2433
|
+
* @example
|
|
2434
|
+
* const res = await client.etsy.search({ query: "cover letter template" });
|
|
2435
|
+
*/
|
|
2436
|
+
search(input, options) {
|
|
2437
|
+
return this._core.run("etsy.search", input, options);
|
|
2438
|
+
}
|
|
2439
|
+
/**
|
|
2440
|
+
* Etsy Shop
|
|
2441
|
+
*
|
|
2442
|
+
* Look up one Etsy shop by name and get its id, location, sales, active listings, rating, reviews count, followers, description, logo and banner in one normalized response.
|
|
2443
|
+
*
|
|
2444
|
+
* Price: $0.00085 per request.
|
|
2445
|
+
*
|
|
2446
|
+
* @example
|
|
2447
|
+
* const res = await client.etsy.shop({ shopName: "StudioStelleHD" });
|
|
2448
|
+
*/
|
|
2449
|
+
shop(input, options) {
|
|
2450
|
+
return this._core.run("etsy.shop", input, options);
|
|
2451
|
+
}
|
|
2452
|
+
/**
|
|
2453
|
+
* Etsy Shop Listings
|
|
2454
|
+
*
|
|
2455
|
+
* List one Etsy shop's active listings by shop name, a page at a time, and get title, price, original price and image for each listing in one normalized response.
|
|
2456
|
+
*
|
|
2457
|
+
* Price: $0.00085 per request.
|
|
2458
|
+
*
|
|
2459
|
+
* @example
|
|
2460
|
+
* const res = await client.etsy.shopListings({ shopName: "StudioStelleHD" });
|
|
2461
|
+
*/
|
|
2462
|
+
shopListings(input, options) {
|
|
2463
|
+
return this._core.run("etsy.shop_listings", input, options);
|
|
2464
|
+
}
|
|
2465
|
+
};
|
|
2466
|
+
|
|
2360
2467
|
// src/generated/platforms/facebook.ts
|
|
2361
2468
|
var FacebookNamespace = class {
|
|
2362
2469
|
constructor(_core) {
|
|
@@ -3332,7 +3439,7 @@ var GoogleNamespace = class {
|
|
|
3332
3439
|
*
|
|
3333
3440
|
* Ask Google Search a prompt and receive the AI Overview it generated for that scrape, with every source Google listed. Google regenerates the overview per search, so the same prompt can return different wording and a different source list.
|
|
3334
3441
|
*
|
|
3335
|
-
* Price: $0.
|
|
3442
|
+
* Price: $0.0018 per request.
|
|
3336
3443
|
*
|
|
3337
3444
|
* @example
|
|
3338
3445
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -3489,7 +3596,7 @@ var GoogleNamespace = class {
|
|
|
3489
3596
|
/**
|
|
3490
3597
|
* Google Search
|
|
3491
3598
|
*
|
|
3492
|
-
* Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is cheaper past roughly 20 results.
|
|
3599
|
+
* Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON. Returns about 10 results per call - Google stopped honoring bulk result counts in September 2025, so a limit above 10 is accepted but returns no more than a page. Send page 2, 3, ... to walk further, or use google.search_100 for up to 100 ranked results in one call, which is normally cheaper past roughly 20 results.
|
|
3493
3600
|
*
|
|
3494
3601
|
* Price: $0.0004 per request.
|
|
3495
3602
|
*
|
|
@@ -3518,7 +3625,7 @@ var GoogleNamespace = class {
|
|
|
3518
3625
|
/**
|
|
3519
3626
|
* Google Search Top 100
|
|
3520
3627
|
*
|
|
3521
|
-
* Run a Google web search and get up to 100 ranked organic results in one call, with true absolute positions rather than per-page numbering. One
|
|
3628
|
+
* Run a Google web search and get up to 100 ranked organic results in one call, with true absolute positions rather than per-page numbering. One charge per call whatever the depth, which normally makes it cheaper than paging google.search past roughly 20 results; when the backup source has to answer, the call costs more, up to $0.024. It reads ten pages of Google to build the list, so a call can take up to about five minutes - use google.search when you want the first page back in a second.
|
|
3522
3629
|
*
|
|
3523
3630
|
* Price: $0.0018 per request.
|
|
3524
3631
|
*
|
|
@@ -4474,7 +4581,7 @@ var InstagramNamespace = class {
|
|
|
4474
4581
|
*
|
|
4475
4582
|
* List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).
|
|
4476
4583
|
*
|
|
4477
|
-
* Price: $0.
|
|
4584
|
+
* Price: $0.0008 per request.
|
|
4478
4585
|
*
|
|
4479
4586
|
* @example
|
|
4480
4587
|
* const res = await client.instagram.userReels({ handle: "nasa" });
|
|
@@ -9209,7 +9316,7 @@ var YoutubeNamespace = class {
|
|
|
9209
9316
|
*
|
|
9210
9317
|
* Fetch a YouTube video or Short transcript with timed segments and its provenance: whether the words are creator-written captions or machine speech recognition.
|
|
9211
9318
|
*
|
|
9212
|
-
* Price: $0.
|
|
9319
|
+
* Price: $0.002 per request.
|
|
9213
9320
|
*
|
|
9214
9321
|
* @example
|
|
9215
9322
|
* const res = await client.youtube.videoTranscriptFull({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
|
@@ -9369,6 +9476,14 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
9369
9476
|
this._core
|
|
9370
9477
|
);
|
|
9371
9478
|
}
|
|
9479
|
+
/**
|
|
9480
|
+
* Typed methods for the aliexpress platform.
|
|
9481
|
+
*/
|
|
9482
|
+
get aliexpress() {
|
|
9483
|
+
return this._namespaces["aliexpress"] ??= new AliexpressNamespace(
|
|
9484
|
+
this._core
|
|
9485
|
+
);
|
|
9486
|
+
}
|
|
9372
9487
|
/**
|
|
9373
9488
|
* Typed methods for the amazon platform.
|
|
9374
9489
|
*/
|
|
@@ -9553,6 +9668,14 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
9553
9668
|
get emailVerification() {
|
|
9554
9669
|
return this._namespaces["emailVerification"] ??= new EmailVerificationNamespace(this._core);
|
|
9555
9670
|
}
|
|
9671
|
+
/**
|
|
9672
|
+
* Typed methods for the etsy platform.
|
|
9673
|
+
*/
|
|
9674
|
+
get etsy() {
|
|
9675
|
+
return this._namespaces["etsy"] ??= new EtsyNamespace(
|
|
9676
|
+
this._core
|
|
9677
|
+
);
|
|
9678
|
+
}
|
|
9556
9679
|
/**
|
|
9557
9680
|
* Typed methods for the facebook platform.
|
|
9558
9681
|
*/
|
|
@@ -10082,6 +10205,7 @@ export {
|
|
|
10082
10205
|
AhrefsNamespace,
|
|
10083
10206
|
AirbnbNamespace,
|
|
10084
10207
|
AlibabaNamespace,
|
|
10208
|
+
AliexpressNamespace,
|
|
10085
10209
|
AmazonNamespace,
|
|
10086
10210
|
AnyAPI2 as AnyAPI,
|
|
10087
10211
|
AnyAPIError,
|
|
@@ -10111,6 +10235,7 @@ export {
|
|
|
10111
10235
|
EmailFindingNamespace,
|
|
10112
10236
|
EmailNamespace,
|
|
10113
10237
|
EmailVerificationNamespace,
|
|
10238
|
+
EtsyNamespace,
|
|
10114
10239
|
FacebookNamespace,
|
|
10115
10240
|
FiverrNamespace,
|
|
10116
10241
|
G2Namespace,
|