@getanyapi/sdk 0.126.3 → 0.126.4
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 +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -23874,7 +23874,7 @@ declare class GoogleNamespace {
|
|
|
23874
23874
|
*
|
|
23875
23875
|
* 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.
|
|
23876
23876
|
*
|
|
23877
|
-
* Price: $0.
|
|
23877
|
+
* Price: $0.0048 per request.
|
|
23878
23878
|
*
|
|
23879
23879
|
* @example
|
|
23880
23880
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -24002,7 +24002,7 @@ declare class GoogleNamespace {
|
|
|
24002
24002
|
*
|
|
24003
24003
|
* 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.
|
|
24004
24004
|
*
|
|
24005
|
-
* Price: $0.
|
|
24005
|
+
* Price: $0.0005 per request.
|
|
24006
24006
|
*
|
|
24007
24007
|
* @example
|
|
24008
24008
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -43265,7 +43265,7 @@ declare class PerplexityNamespace {
|
|
|
43265
43265
|
*
|
|
43266
43266
|
* Ask Perplexity a web-grounded question and receive an answer with source citations.
|
|
43267
43267
|
*
|
|
43268
|
-
* Price: $0.
|
|
43268
|
+
* Price: $0.00006 per request plus $0.011 per result (maximum $0.0111).
|
|
43269
43269
|
*
|
|
43270
43270
|
* @example
|
|
43271
43271
|
* const res = await client.perplexity.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
package/dist/index.d.ts
CHANGED
|
@@ -23874,7 +23874,7 @@ declare class GoogleNamespace {
|
|
|
23874
23874
|
*
|
|
23875
23875
|
* 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.
|
|
23876
23876
|
*
|
|
23877
|
-
* Price: $0.
|
|
23877
|
+
* Price: $0.0048 per request.
|
|
23878
23878
|
*
|
|
23879
23879
|
* @example
|
|
23880
23880
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -24002,7 +24002,7 @@ declare class GoogleNamespace {
|
|
|
24002
24002
|
*
|
|
24003
24003
|
* 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.
|
|
24004
24004
|
*
|
|
24005
|
-
* Price: $0.
|
|
24005
|
+
* Price: $0.0005 per request.
|
|
24006
24006
|
*
|
|
24007
24007
|
* @example
|
|
24008
24008
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -43265,7 +43265,7 @@ declare class PerplexityNamespace {
|
|
|
43265
43265
|
*
|
|
43266
43266
|
* Ask Perplexity a web-grounded question and receive an answer with source citations.
|
|
43267
43267
|
*
|
|
43268
|
-
* Price: $0.
|
|
43268
|
+
* Price: $0.00006 per request plus $0.011 per result (maximum $0.0111).
|
|
43269
43269
|
*
|
|
43270
43270
|
* @example
|
|
43271
43271
|
* const res = await client.perplexity.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
package/dist/index.js
CHANGED
|
@@ -3332,7 +3332,7 @@ var GoogleNamespace = class {
|
|
|
3332
3332
|
*
|
|
3333
3333
|
* 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
3334
|
*
|
|
3335
|
-
* Price: $0.
|
|
3335
|
+
* Price: $0.0048 per request.
|
|
3336
3336
|
*
|
|
3337
3337
|
* @example
|
|
3338
3338
|
* const res = await client.google.aiOverview({ prompt: "How does photosynthesis work?" });
|
|
@@ -3491,7 +3491,7 @@ var GoogleNamespace = class {
|
|
|
3491
3491
|
*
|
|
3492
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.
|
|
3493
3493
|
*
|
|
3494
|
-
* Price: $0.
|
|
3494
|
+
* Price: $0.0005 per request.
|
|
3495
3495
|
*
|
|
3496
3496
|
* @example
|
|
3497
3497
|
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
@@ -5445,7 +5445,7 @@ var PerplexityNamespace = class {
|
|
|
5445
5445
|
*
|
|
5446
5446
|
* Ask Perplexity a web-grounded question and receive an answer with source citations.
|
|
5447
5447
|
*
|
|
5448
|
-
* Price: $0.
|
|
5448
|
+
* Price: $0.00006 per request plus $0.011 per result (maximum $0.0111).
|
|
5449
5449
|
*
|
|
5450
5450
|
* @example
|
|
5451
5451
|
* const res = await client.perplexity.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|