@getanyapi/sdk 0.162.9 → 0.162.10
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 +9 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +9 -9
- package/dist/index.d.ts +9 -9
- package/dist/index.js +9 -9
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -3097,7 +3097,7 @@ declare class AmazonNamespace {
|
|
|
3097
3097
|
*
|
|
3098
3098
|
* Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
|
|
3099
3099
|
*
|
|
3100
|
-
* Price: $0.
|
|
3100
|
+
* Price: $0.00075 per request.
|
|
3101
3101
|
*
|
|
3102
3102
|
* @example
|
|
3103
3103
|
* const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
|
|
@@ -19804,7 +19804,7 @@ declare class FacebookNamespace {
|
|
|
19804
19804
|
*
|
|
19805
19805
|
* Search the Meta Ad Library by keyword and get matching ads (advertiser, creative text, CTA, platforms, and run dates) with cursor pagination.
|
|
19806
19806
|
*
|
|
19807
|
-
* Price: $0.
|
|
19807
|
+
* Price: $0.00105 per request.
|
|
19808
19808
|
*
|
|
19809
19809
|
* @example
|
|
19810
19810
|
* const res = await client.facebook.adsSearch({ query: "nike", country: "US", searchType: "keyword_exact_phrase" });
|
|
@@ -24031,7 +24031,7 @@ declare class GoogleNamespace {
|
|
|
24031
24031
|
*
|
|
24032
24032
|
* 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.
|
|
24033
24033
|
*
|
|
24034
|
-
* Price: $0.
|
|
24034
|
+
* Price: $0.0015 per request.
|
|
24035
24035
|
*
|
|
24036
24036
|
* @example
|
|
24037
24037
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -24126,7 +24126,7 @@ declare class GoogleNamespace {
|
|
|
24126
24126
|
*
|
|
24127
24127
|
* Search Google News by keyword and get fresh articles (headlines, sources, links, and publish times) as clean JSON.
|
|
24128
24128
|
*
|
|
24129
|
-
* Price: $0.
|
|
24129
|
+
* Price: $0.00099 per request.
|
|
24130
24130
|
*
|
|
24131
24131
|
* @example
|
|
24132
24132
|
* const res = await client.google.news({ query: "openai", gl: "us", hl: "en" });
|
|
@@ -31806,7 +31806,7 @@ declare class InstagramNamespace {
|
|
|
31806
31806
|
*
|
|
31807
31807
|
* Look up the contact email and phone number an Instagram creator or business publishes on its profile, including the address behind the profile's Email button that public profile lookups do not return.
|
|
31808
31808
|
*
|
|
31809
|
-
* Price: $0.
|
|
31809
|
+
* Price: $0.00175 per request.
|
|
31810
31810
|
*
|
|
31811
31811
|
* @example
|
|
31812
31812
|
* const res = await client.instagram.profileContact({ handle: "eminenceorganics" });
|
|
@@ -32010,7 +32010,7 @@ declare class InstagramNamespace {
|
|
|
32010
32010
|
*
|
|
32011
32011
|
* List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).
|
|
32012
32012
|
*
|
|
32013
|
-
* Price: $0.
|
|
32013
|
+
* Price: $0.00135 per request.
|
|
32014
32014
|
*
|
|
32015
32015
|
* @example
|
|
32016
32016
|
* const res = await client.instagram.taggedPosts({ handle: "nasa" });
|
|
@@ -39454,7 +39454,7 @@ declare class LinkedinNamespace {
|
|
|
39454
39454
|
*
|
|
39455
39455
|
* Cheap job index: title, company, location, posted date, URL. No description, salary, applicant counts, or seniority - for those use linkedin.jobs.
|
|
39456
39456
|
*
|
|
39457
|
-
* Price: $0.
|
|
39457
|
+
* Price: $0.00057 per request.
|
|
39458
39458
|
*
|
|
39459
39459
|
* @example
|
|
39460
39460
|
* const res = await client.linkedin.jobsThin({ query: "software engineer", limit: 3, location: "United States", workplaceType: "remote" });
|
|
@@ -72691,7 +72691,7 @@ declare class TwitterNamespace {
|
|
|
72691
72691
|
*
|
|
72692
72692
|
* Search X (Twitter) with full advanced-search syntax (operators like from:, since:, until:, min_faves: work inline in the query) and get structured tweets with text, author, engagement, and cursor pagination. Limit is a per-page maximum; native pages contain approximately 20 tweets unless requireSinglePage selects a bulk lane.
|
|
72693
72693
|
*
|
|
72694
|
-
* Price: $0.
|
|
72694
|
+
* Price: $0.00047 per request.
|
|
72695
72695
|
*
|
|
72696
72696
|
* @example
|
|
72697
72697
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -77581,7 +77581,7 @@ declare class YoutubeNamespace {
|
|
|
77581
77581
|
*
|
|
77582
77582
|
* Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
|
|
77583
77583
|
*
|
|
77584
|
-
* Price: $0.
|
|
77584
|
+
* Price: $0.00071 per request.
|
|
77585
77585
|
*
|
|
77586
77586
|
* @example
|
|
77587
77587
|
* const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
package/dist/index.d.ts
CHANGED
|
@@ -3097,7 +3097,7 @@ declare class AmazonNamespace {
|
|
|
3097
3097
|
*
|
|
3098
3098
|
* Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
|
|
3099
3099
|
*
|
|
3100
|
-
* Price: $0.
|
|
3100
|
+
* Price: $0.00075 per request.
|
|
3101
3101
|
*
|
|
3102
3102
|
* @example
|
|
3103
3103
|
* const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
|
|
@@ -19804,7 +19804,7 @@ declare class FacebookNamespace {
|
|
|
19804
19804
|
*
|
|
19805
19805
|
* Search the Meta Ad Library by keyword and get matching ads (advertiser, creative text, CTA, platforms, and run dates) with cursor pagination.
|
|
19806
19806
|
*
|
|
19807
|
-
* Price: $0.
|
|
19807
|
+
* Price: $0.00105 per request.
|
|
19808
19808
|
*
|
|
19809
19809
|
* @example
|
|
19810
19810
|
* const res = await client.facebook.adsSearch({ query: "nike", country: "US", searchType: "keyword_exact_phrase" });
|
|
@@ -24031,7 +24031,7 @@ declare class GoogleNamespace {
|
|
|
24031
24031
|
*
|
|
24032
24032
|
* 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.
|
|
24033
24033
|
*
|
|
24034
|
-
* Price: $0.
|
|
24034
|
+
* Price: $0.0015 per request.
|
|
24035
24035
|
*
|
|
24036
24036
|
* @example
|
|
24037
24037
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -24126,7 +24126,7 @@ declare class GoogleNamespace {
|
|
|
24126
24126
|
*
|
|
24127
24127
|
* Search Google News by keyword and get fresh articles (headlines, sources, links, and publish times) as clean JSON.
|
|
24128
24128
|
*
|
|
24129
|
-
* Price: $0.
|
|
24129
|
+
* Price: $0.00099 per request.
|
|
24130
24130
|
*
|
|
24131
24131
|
* @example
|
|
24132
24132
|
* const res = await client.google.news({ query: "openai", gl: "us", hl: "en" });
|
|
@@ -31806,7 +31806,7 @@ declare class InstagramNamespace {
|
|
|
31806
31806
|
*
|
|
31807
31807
|
* Look up the contact email and phone number an Instagram creator or business publishes on its profile, including the address behind the profile's Email button that public profile lookups do not return.
|
|
31808
31808
|
*
|
|
31809
|
-
* Price: $0.
|
|
31809
|
+
* Price: $0.00175 per request.
|
|
31810
31810
|
*
|
|
31811
31811
|
* @example
|
|
31812
31812
|
* const res = await client.instagram.profileContact({ handle: "eminenceorganics" });
|
|
@@ -32010,7 +32010,7 @@ declare class InstagramNamespace {
|
|
|
32010
32010
|
*
|
|
32011
32011
|
* List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).
|
|
32012
32012
|
*
|
|
32013
|
-
* Price: $0.
|
|
32013
|
+
* Price: $0.00135 per request.
|
|
32014
32014
|
*
|
|
32015
32015
|
* @example
|
|
32016
32016
|
* const res = await client.instagram.taggedPosts({ handle: "nasa" });
|
|
@@ -39454,7 +39454,7 @@ declare class LinkedinNamespace {
|
|
|
39454
39454
|
*
|
|
39455
39455
|
* Cheap job index: title, company, location, posted date, URL. No description, salary, applicant counts, or seniority - for those use linkedin.jobs.
|
|
39456
39456
|
*
|
|
39457
|
-
* Price: $0.
|
|
39457
|
+
* Price: $0.00057 per request.
|
|
39458
39458
|
*
|
|
39459
39459
|
* @example
|
|
39460
39460
|
* const res = await client.linkedin.jobsThin({ query: "software engineer", limit: 3, location: "United States", workplaceType: "remote" });
|
|
@@ -72691,7 +72691,7 @@ declare class TwitterNamespace {
|
|
|
72691
72691
|
*
|
|
72692
72692
|
* Search X (Twitter) with full advanced-search syntax (operators like from:, since:, until:, min_faves: work inline in the query) and get structured tweets with text, author, engagement, and cursor pagination. Limit is a per-page maximum; native pages contain approximately 20 tweets unless requireSinglePage selects a bulk lane.
|
|
72693
72693
|
*
|
|
72694
|
-
* Price: $0.
|
|
72694
|
+
* Price: $0.00047 per request.
|
|
72695
72695
|
*
|
|
72696
72696
|
* @example
|
|
72697
72697
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -77581,7 +77581,7 @@ declare class YoutubeNamespace {
|
|
|
77581
77581
|
*
|
|
77582
77582
|
* Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
|
|
77583
77583
|
*
|
|
77584
|
-
* Price: $0.
|
|
77584
|
+
* Price: $0.00071 per request.
|
|
77585
77585
|
*
|
|
77586
77586
|
* @example
|
|
77587
77587
|
* const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|
package/dist/index.js
CHANGED
|
@@ -1291,7 +1291,7 @@ var AmazonNamespace = class {
|
|
|
1291
1291
|
*
|
|
1292
1292
|
* Search Amazon from any search or category URL and get up to 20 matching products (title, price, rating, and thumbnail) in one normalized response.
|
|
1293
1293
|
*
|
|
1294
|
-
* Price: $0.
|
|
1294
|
+
* Price: $0.00075 per request.
|
|
1295
1295
|
*
|
|
1296
1296
|
* @example
|
|
1297
1297
|
* const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
|
|
@@ -2560,7 +2560,7 @@ var FacebookNamespace = class {
|
|
|
2560
2560
|
*
|
|
2561
2561
|
* Search the Meta Ad Library by keyword and get matching ads (advertiser, creative text, CTA, platforms, and run dates) with cursor pagination.
|
|
2562
2562
|
*
|
|
2563
|
-
* Price: $0.
|
|
2563
|
+
* Price: $0.00105 per request.
|
|
2564
2564
|
*
|
|
2565
2565
|
* @example
|
|
2566
2566
|
* const res = await client.facebook.adsSearch({ query: "nike", country: "US", searchType: "keyword_exact_phrase" });
|
|
@@ -3485,7 +3485,7 @@ var GoogleNamespace = class {
|
|
|
3485
3485
|
*
|
|
3486
3486
|
* 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.
|
|
3487
3487
|
*
|
|
3488
|
-
* Price: $0.
|
|
3488
|
+
* Price: $0.0015 per request.
|
|
3489
3489
|
*
|
|
3490
3490
|
* @example
|
|
3491
3491
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -3605,7 +3605,7 @@ var GoogleNamespace = class {
|
|
|
3605
3605
|
*
|
|
3606
3606
|
* Search Google News by keyword and get fresh articles (headlines, sources, links, and publish times) as clean JSON.
|
|
3607
3607
|
*
|
|
3608
|
-
* Price: $0.
|
|
3608
|
+
* Price: $0.00099 per request.
|
|
3609
3609
|
*
|
|
3610
3610
|
* @example
|
|
3611
3611
|
* const res = await client.google.news({ query: "openai", gl: "us", hl: "en" });
|
|
@@ -4412,7 +4412,7 @@ var InstagramNamespace = class {
|
|
|
4412
4412
|
*
|
|
4413
4413
|
* Look up the contact email and phone number an Instagram creator or business publishes on its profile, including the address behind the profile's Email button that public profile lookups do not return.
|
|
4414
4414
|
*
|
|
4415
|
-
* Price: $0.
|
|
4415
|
+
* Price: $0.00175 per request.
|
|
4416
4416
|
*
|
|
4417
4417
|
* @example
|
|
4418
4418
|
* const res = await client.instagram.profileContact({ handle: "eminenceorganics" });
|
|
@@ -4684,7 +4684,7 @@ var InstagramNamespace = class {
|
|
|
4684
4684
|
*
|
|
4685
4685
|
* List the posts an Instagram user is tagged in, with cursor pagination (author, caption, likes, comments).
|
|
4686
4686
|
*
|
|
4687
|
-
* Price: $0.
|
|
4687
|
+
* Price: $0.00135 per request.
|
|
4688
4688
|
*
|
|
4689
4689
|
* @example
|
|
4690
4690
|
* const res = await client.instagram.taggedPosts({ handle: "nasa" });
|
|
@@ -5158,7 +5158,7 @@ var LinkedinNamespace = class {
|
|
|
5158
5158
|
*
|
|
5159
5159
|
* Cheap job index: title, company, location, posted date, URL. No description, salary, applicant counts, or seniority - for those use linkedin.jobs.
|
|
5160
5160
|
*
|
|
5161
|
-
* Price: $0.
|
|
5161
|
+
* Price: $0.00057 per request.
|
|
5162
5162
|
*
|
|
5163
5163
|
* @example
|
|
5164
5164
|
* const res = await client.linkedin.jobsThin({ query: "software engineer", limit: 3, location: "United States", workplaceType: "remote" });
|
|
@@ -8867,7 +8867,7 @@ var TwitterNamespace = class {
|
|
|
8867
8867
|
*
|
|
8868
8868
|
* Search X (Twitter) with full advanced-search syntax (operators like from:, since:, until:, min_faves: work inline in the query) and get structured tweets with text, author, engagement, and cursor pagination. Limit is a per-page maximum; native pages contain approximately 20 tweets unless requireSinglePage selects a bulk lane.
|
|
8869
8869
|
*
|
|
8870
|
-
* Price: $0.
|
|
8870
|
+
* Price: $0.00047 per request.
|
|
8871
8871
|
*
|
|
8872
8872
|
* @example
|
|
8873
8873
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -9738,7 +9738,7 @@ var YoutubeNamespace = class {
|
|
|
9738
9738
|
*
|
|
9739
9739
|
* Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
|
|
9740
9740
|
*
|
|
9741
|
-
* Price: $0.
|
|
9741
|
+
* Price: $0.00071 per request.
|
|
9742
9742
|
*
|
|
9743
9743
|
* @example
|
|
9744
9744
|
* const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
|