@getanyapi/sdk 0.90.8 → 0.90.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.d.cts CHANGED
@@ -17533,7 +17533,7 @@ declare class FacebookNamespace {
17533
17533
  *
17534
17534
  * Search the Meta Ad Library by keyword and get matching ads (advertiser, creative text, CTA, platforms, and run dates) with cursor pagination.
17535
17535
  *
17536
- * Price: $0.0012 per request.
17536
+ * Price: $0.001 per request.
17537
17537
  *
17538
17538
  * @example
17539
17539
  * const res = await client.facebook.adsSearch({ query: "nike", country: "US", searchType: "keyword_exact_phrase" });
@@ -17569,10 +17569,10 @@ declare class FacebookNamespace {
17569
17569
  *
17570
17570
  * List the Meta Ad Library ads a company is running by page ID or company name (creative text, format, platforms, and run dates) with cursor pagination.
17571
17571
  *
17572
- * Price: $0.0012 per request.
17572
+ * Price: $0.001 per request.
17573
17573
  *
17574
17574
  * @example
17575
- * const res = await client.facebook.companyAds({ companyName: "nike", sortBy: "recent" });
17575
+ * const res = await client.facebook.companyAds({ pageId: "15087023444", sortBy: "recent" });
17576
17576
  */
17577
17577
  companyAds(input: FacebookCompanyAdsInput, options?: RequestOptions): Promise<RunResult<FacebookCompanyAdsData>>;
17578
17578
  /**
@@ -20562,7 +20562,7 @@ declare class GoogleNamespace {
20562
20562
  *
20563
20563
  * 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.
20564
20564
  *
20565
- * Price: $0.0005 per request.
20565
+ * Price: $0.0004 per request.
20566
20566
  *
20567
20567
  * @example
20568
20568
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -20983,7 +20983,7 @@ declare class GoogleAdsNamespace {
20983
20983
  *
20984
20984
  * List the ads a company is running from the Google Ads Transparency Center by domain or advertiser ID (creative ID, format, ad URL, and first/last shown dates) with cursor pagination.
20985
20985
  *
20986
- * Price: $0.0012 per request.
20986
+ * Price: $0.001 per request.
20987
20987
  *
20988
20988
  * @example
20989
20989
  * const res = await client.googleAds.companyAds({ domain: "lululemon.com" });
@@ -63780,7 +63780,7 @@ declare class YoutubeNamespace {
63780
63780
  *
63781
63781
  * Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
63782
63782
  *
63783
- * Price: $0.0009 per request.
63783
+ * Price: $0.0012 per request.
63784
63784
  *
63785
63785
  * @example
63786
63786
  * const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
package/dist/index.d.ts CHANGED
@@ -17533,7 +17533,7 @@ declare class FacebookNamespace {
17533
17533
  *
17534
17534
  * Search the Meta Ad Library by keyword and get matching ads (advertiser, creative text, CTA, platforms, and run dates) with cursor pagination.
17535
17535
  *
17536
- * Price: $0.0012 per request.
17536
+ * Price: $0.001 per request.
17537
17537
  *
17538
17538
  * @example
17539
17539
  * const res = await client.facebook.adsSearch({ query: "nike", country: "US", searchType: "keyword_exact_phrase" });
@@ -17569,10 +17569,10 @@ declare class FacebookNamespace {
17569
17569
  *
17570
17570
  * List the Meta Ad Library ads a company is running by page ID or company name (creative text, format, platforms, and run dates) with cursor pagination.
17571
17571
  *
17572
- * Price: $0.0012 per request.
17572
+ * Price: $0.001 per request.
17573
17573
  *
17574
17574
  * @example
17575
- * const res = await client.facebook.companyAds({ companyName: "nike", sortBy: "recent" });
17575
+ * const res = await client.facebook.companyAds({ pageId: "15087023444", sortBy: "recent" });
17576
17576
  */
17577
17577
  companyAds(input: FacebookCompanyAdsInput, options?: RequestOptions): Promise<RunResult<FacebookCompanyAdsData>>;
17578
17578
  /**
@@ -20562,7 +20562,7 @@ declare class GoogleNamespace {
20562
20562
  *
20563
20563
  * 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.
20564
20564
  *
20565
- * Price: $0.0005 per request.
20565
+ * Price: $0.0004 per request.
20566
20566
  *
20567
20567
  * @example
20568
20568
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -20983,7 +20983,7 @@ declare class GoogleAdsNamespace {
20983
20983
  *
20984
20984
  * List the ads a company is running from the Google Ads Transparency Center by domain or advertiser ID (creative ID, format, ad URL, and first/last shown dates) with cursor pagination.
20985
20985
  *
20986
- * Price: $0.0012 per request.
20986
+ * Price: $0.001 per request.
20987
20987
  *
20988
20988
  * @example
20989
20989
  * const res = await client.googleAds.companyAds({ domain: "lululemon.com" });
@@ -63780,7 +63780,7 @@ declare class YoutubeNamespace {
63780
63780
  *
63781
63781
  * Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
63782
63782
  *
63783
- * Price: $0.0009 per request.
63783
+ * Price: $0.0012 per request.
63784
63784
  *
63785
63785
  * @example
63786
63786
  * const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });
package/dist/index.js CHANGED
@@ -2224,7 +2224,7 @@ var FacebookNamespace = class {
2224
2224
  *
2225
2225
  * Search the Meta Ad Library by keyword and get matching ads (advertiser, creative text, CTA, platforms, and run dates) with cursor pagination.
2226
2226
  *
2227
- * Price: $0.0012 per request.
2227
+ * Price: $0.001 per request.
2228
2228
  *
2229
2229
  * @example
2230
2230
  * const res = await client.facebook.adsSearch({ query: "nike", country: "US", searchType: "keyword_exact_phrase" });
@@ -2282,10 +2282,10 @@ var FacebookNamespace = class {
2282
2282
  *
2283
2283
  * List the Meta Ad Library ads a company is running by page ID or company name (creative text, format, platforms, and run dates) with cursor pagination.
2284
2284
  *
2285
- * Price: $0.0012 per request.
2285
+ * Price: $0.001 per request.
2286
2286
  *
2287
2287
  * @example
2288
- * const res = await client.facebook.companyAds({ companyName: "nike", sortBy: "recent" });
2288
+ * const res = await client.facebook.companyAds({ pageId: "15087023444", sortBy: "recent" });
2289
2289
  */
2290
2290
  companyAds(input, options) {
2291
2291
  return this._core.run("facebook.company_ads", input, options);
@@ -3159,7 +3159,7 @@ var GoogleNamespace = class {
3159
3159
  *
3160
3160
  * 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.
3161
3161
  *
3162
- * Price: $0.0005 per request.
3162
+ * Price: $0.0004 per request.
3163
3163
  *
3164
3164
  * @example
3165
3165
  * const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
@@ -3248,7 +3248,7 @@ var GoogleAdsNamespace = class {
3248
3248
  *
3249
3249
  * List the ads a company is running from the Google Ads Transparency Center by domain or advertiser ID (creative ID, format, ad URL, and first/last shown dates) with cursor pagination.
3250
3250
  *
3251
- * Price: $0.0012 per request.
3251
+ * Price: $0.001 per request.
3252
3252
  *
3253
3253
  * @example
3254
3254
  * const res = await client.googleAds.companyAds({ domain: "lululemon.com" });
@@ -8348,7 +8348,7 @@ var YoutubeNamespace = class {
8348
8348
  *
8349
8349
  * Fetch a YouTube video or Short's metadata (title, channel, views, likes, duration, publish date) by URL or ID.
8350
8350
  *
8351
- * Price: $0.0009 per request.
8351
+ * Price: $0.0012 per request.
8352
8352
  *
8353
8353
  * @example
8354
8354
  * const res = await client.youtube.video({ url: "https://www.youtube.com/watch?v=dQw4w9WgXcQ" });