@getanyapi/sdk 0.1.0 → 0.7.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/README.md +47 -22
- package/dist/index.cjs +1344 -294
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18718 -7935
- package/dist/index.d.ts +18718 -7935
- package/dist/index.js +1339 -294
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -52,14 +52,130 @@ function errorFromStatus(status, message, requestId) {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
// src/core/account.ts
|
|
55
|
-
var CREDITS_TO_USD = 1e-5;
|
|
56
55
|
var DEFAULT_BASE_URL = "https://api.getanyapi.com";
|
|
57
|
-
function
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
56
|
+
function malformed(path) {
|
|
57
|
+
throw new AnyAPIError(`malformed discovery response: ${path}`, 0);
|
|
58
|
+
}
|
|
59
|
+
function rejectInternalKeys(value, path) {
|
|
60
|
+
if (Array.isArray(value)) {
|
|
61
|
+
value.forEach(
|
|
62
|
+
(item, index) => rejectInternalKeys(item, `${path}[${index}]`)
|
|
63
|
+
);
|
|
64
|
+
return;
|
|
65
|
+
}
|
|
66
|
+
if (typeof value !== "object" || value === null) return;
|
|
67
|
+
for (const [key, item] of Object.entries(value)) {
|
|
68
|
+
if (key.toLowerCase().includes("credit")) malformed(`${path}.${key}`);
|
|
69
|
+
rejectInternalKeys(item, `${path}.${key}`);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
function record(value, path) {
|
|
73
|
+
if (typeof value !== "object" || value === null || Array.isArray(value)) {
|
|
74
|
+
return malformed(path);
|
|
75
|
+
}
|
|
76
|
+
return value;
|
|
77
|
+
}
|
|
78
|
+
function exactKeys(raw, allowed, path) {
|
|
79
|
+
const keys = new Set(allowed);
|
|
80
|
+
for (const key of Object.keys(raw)) {
|
|
81
|
+
if (!keys.has(key)) malformed(`${path}.${key}`);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
function stringField(raw, key, path) {
|
|
85
|
+
const value = raw[key];
|
|
86
|
+
if (typeof value !== "string") return malformed(`${path}.${key}`);
|
|
87
|
+
return value;
|
|
88
|
+
}
|
|
89
|
+
function numberField(raw, key, path) {
|
|
90
|
+
const value = raw[key];
|
|
91
|
+
if (typeof value !== "number" || !Number.isFinite(value) || value < 0) {
|
|
92
|
+
return malformed(`${path}.${key}`);
|
|
93
|
+
}
|
|
94
|
+
return value;
|
|
95
|
+
}
|
|
96
|
+
function integerField(raw, key, path) {
|
|
97
|
+
const value = numberField(raw, key, path);
|
|
98
|
+
if (!Number.isInteger(value)) return malformed(`${path}.${key}`);
|
|
99
|
+
return value;
|
|
100
|
+
}
|
|
101
|
+
function boundedNumberField(raw, key, path, minimumExclusive, maximumInclusive) {
|
|
102
|
+
const value = numberField(raw, key, path);
|
|
103
|
+
if (minimumExclusive !== void 0 && value <= minimumExclusive || value > maximumInclusive) {
|
|
104
|
+
return malformed(`${path}.${key}`);
|
|
105
|
+
}
|
|
106
|
+
return value;
|
|
107
|
+
}
|
|
108
|
+
function parseOffer(value, path) {
|
|
109
|
+
const raw = record(value, path);
|
|
110
|
+
const model = stringField(raw, "model", path);
|
|
111
|
+
const unit = stringField(raw, "unit", path);
|
|
112
|
+
const maxUsd = numberField(raw, "maxUsd", path);
|
|
113
|
+
if (model === "flat") {
|
|
114
|
+
exactKeys(raw, ["model", "unit", "maxUsd"], path);
|
|
115
|
+
if (unit !== "request" || "baseUsd" in raw || "perUnitUsd" in raw) {
|
|
116
|
+
return malformed(path);
|
|
117
|
+
}
|
|
118
|
+
return { model, unit, maxUsd };
|
|
119
|
+
}
|
|
120
|
+
if (model === "linear") {
|
|
121
|
+
exactKeys(raw, ["model", "unit", "baseUsd", "perUnitUsd", "maxUsd"], path);
|
|
122
|
+
if (unit.length === 0) return malformed(`${path}.unit`);
|
|
123
|
+
return {
|
|
124
|
+
model,
|
|
125
|
+
unit,
|
|
126
|
+
baseUsd: numberField(raw, "baseUsd", path),
|
|
127
|
+
perUnitUsd: numberField(raw, "perUnitUsd", path),
|
|
128
|
+
maxUsd
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
return malformed(`${path}.model`);
|
|
132
|
+
}
|
|
133
|
+
function parsePricing(value, path) {
|
|
134
|
+
const raw = record(value, path);
|
|
135
|
+
exactKeys(raw, ["from", "failoverMaxUsd"], path);
|
|
136
|
+
return {
|
|
137
|
+
from: parseOffer(raw["from"], `${path}.from`),
|
|
138
|
+
failoverMaxUsd: numberField(raw, "failoverMaxUsd", path)
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
function parseHealth(value, path) {
|
|
142
|
+
const raw = record(value, path);
|
|
143
|
+
exactKeys(raw, ["window", "uptimePct", "latencyP50Ms", "requests"], path);
|
|
144
|
+
if (raw["window"] !== "30d") return malformed(`${path}.window`);
|
|
145
|
+
return {
|
|
146
|
+
window: "30d",
|
|
147
|
+
uptimePct: boundedNumberField(raw, "uptimePct", path, void 0, 100),
|
|
148
|
+
latencyP50Ms: integerField(raw, "latencyP50Ms", path),
|
|
149
|
+
requests: integerField(raw, "requests", path)
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
function parseLane(value, path) {
|
|
153
|
+
const raw = record(value, path);
|
|
154
|
+
exactKeys(raw, ["pricing", "health"], path);
|
|
155
|
+
const lane = {
|
|
156
|
+
pricing: parseOffer(raw["pricing"], `${path}.pricing`)
|
|
157
|
+
};
|
|
158
|
+
if (raw["health"] !== void 0) {
|
|
159
|
+
lane.health = parseHealth(raw["health"], `${path}.health`);
|
|
61
160
|
}
|
|
62
|
-
return
|
|
161
|
+
return lane;
|
|
162
|
+
}
|
|
163
|
+
function parseProvider(raw, path) {
|
|
164
|
+
if (raw["provider"] !== "AnyAPI") return malformed(`${path}.provider`);
|
|
165
|
+
return "AnyAPI";
|
|
166
|
+
}
|
|
167
|
+
function parseSchema(value, path) {
|
|
168
|
+
return record(value, path);
|
|
169
|
+
}
|
|
170
|
+
function parseHighlight(value, path) {
|
|
171
|
+
const raw = record(value, path);
|
|
172
|
+
exactKeys(raw, ["path", "type", "why"], path);
|
|
173
|
+
const field = {
|
|
174
|
+
path: stringField(raw, "path", path),
|
|
175
|
+
type: stringField(raw, "type", path)
|
|
176
|
+
};
|
|
177
|
+
if (raw["why"] !== void 0) field.why = stringField(raw, "why", path);
|
|
178
|
+
return field;
|
|
63
179
|
}
|
|
64
180
|
function mapProfile(raw) {
|
|
65
181
|
const profile = {
|
|
@@ -74,19 +190,138 @@ function mapProfile(raw) {
|
|
|
74
190
|
return profile;
|
|
75
191
|
}
|
|
76
192
|
function mapCatalogEntry(raw) {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
193
|
+
rejectInternalKeys(raw, "api");
|
|
194
|
+
const value = record(raw, "api");
|
|
195
|
+
exactKeys(
|
|
196
|
+
value,
|
|
197
|
+
[
|
|
198
|
+
"id",
|
|
199
|
+
"slug",
|
|
200
|
+
"category",
|
|
201
|
+
"name",
|
|
202
|
+
"description",
|
|
203
|
+
"provider",
|
|
204
|
+
"pricing",
|
|
205
|
+
"lanes",
|
|
206
|
+
"heavy",
|
|
207
|
+
"tryEligible",
|
|
208
|
+
"inputSchema",
|
|
209
|
+
"outputSchema"
|
|
210
|
+
],
|
|
211
|
+
"api"
|
|
212
|
+
);
|
|
213
|
+
const lanesRaw = value["lanes"];
|
|
214
|
+
if (!Array.isArray(lanesRaw) || lanesRaw.length === 0) {
|
|
215
|
+
return malformed("api.lanes");
|
|
216
|
+
}
|
|
217
|
+
const entry = {
|
|
218
|
+
id: stringField(value, "id", "api"),
|
|
219
|
+
slug: stringField(value, "slug", "api"),
|
|
220
|
+
category: stringField(value, "category", "api"),
|
|
221
|
+
name: stringField(value, "name", "api"),
|
|
222
|
+
description: stringField(value, "description", "api"),
|
|
223
|
+
provider: parseProvider(value, "api"),
|
|
224
|
+
pricing: parsePricing(value["pricing"], "api.pricing"),
|
|
225
|
+
lanes: lanesRaw.map(
|
|
226
|
+
(lane, index) => parseLane(lane, `api.lanes[${index}]`)
|
|
227
|
+
),
|
|
228
|
+
heavy: value["heavy"] === void 0 ? false : value["heavy"] === true,
|
|
229
|
+
tryEligible: value["tryEligible"] === true
|
|
86
230
|
};
|
|
231
|
+
if (value["heavy"] !== void 0 && typeof value["heavy"] !== "boolean") {
|
|
232
|
+
return malformed("api.heavy");
|
|
233
|
+
}
|
|
234
|
+
if (typeof value["tryEligible"] !== "boolean")
|
|
235
|
+
return malformed("api.tryEligible");
|
|
236
|
+
if (value["inputSchema"] !== void 0) {
|
|
237
|
+
entry.inputSchema = parseSchema(value["inputSchema"], "api.inputSchema");
|
|
238
|
+
}
|
|
239
|
+
if (value["outputSchema"] !== void 0) {
|
|
240
|
+
entry.outputSchema = parseSchema(value["outputSchema"], "api.outputSchema");
|
|
241
|
+
}
|
|
242
|
+
if (!offersEqual(entry.pricing.from, entry.lanes[0].pricing)) {
|
|
243
|
+
return malformed("api.pricing.from");
|
|
244
|
+
}
|
|
245
|
+
const failoverMaxUsd = Math.max(
|
|
246
|
+
...entry.lanes.map((lane) => lane.pricing.maxUsd)
|
|
247
|
+
);
|
|
248
|
+
if (entry.pricing.failoverMaxUsd !== failoverMaxUsd) {
|
|
249
|
+
return malformed("api.pricing.failoverMaxUsd");
|
|
250
|
+
}
|
|
251
|
+
return entry;
|
|
252
|
+
}
|
|
253
|
+
function offersEqual(left, right) {
|
|
254
|
+
if (left.model !== right.model || left.unit !== right.unit || left.maxUsd !== right.maxUsd) {
|
|
255
|
+
return false;
|
|
256
|
+
}
|
|
257
|
+
if (left.model === "flat" || right.model === "flat") {
|
|
258
|
+
return left.model === right.model;
|
|
259
|
+
}
|
|
260
|
+
return left.baseUsd === right.baseUsd && left.perUnitUsd === right.perUnitUsd;
|
|
261
|
+
}
|
|
262
|
+
function mapCatalogDetail(raw) {
|
|
263
|
+
const entry = mapCatalogEntry(raw);
|
|
264
|
+
if (entry.inputSchema === void 0) return malformed("api.inputSchema");
|
|
265
|
+
if (entry.outputSchema === void 0) return malformed("api.outputSchema");
|
|
266
|
+
return entry;
|
|
87
267
|
}
|
|
88
268
|
function mapCatalogList(raw) {
|
|
89
|
-
|
|
269
|
+
const envelope = record(raw, "catalog");
|
|
270
|
+
exactKeys(envelope, ["apis"], "catalog");
|
|
271
|
+
if (!Array.isArray(envelope["apis"])) return malformed("catalog.apis");
|
|
272
|
+
return envelope["apis"].map(mapCatalogEntry);
|
|
273
|
+
}
|
|
274
|
+
function mapSearchResult(value, path) {
|
|
275
|
+
const raw = record(value, path);
|
|
276
|
+
exactKeys(
|
|
277
|
+
raw,
|
|
278
|
+
[
|
|
279
|
+
"slug",
|
|
280
|
+
"platformId",
|
|
281
|
+
"name",
|
|
282
|
+
"description",
|
|
283
|
+
"category",
|
|
284
|
+
"provider",
|
|
285
|
+
"pricing",
|
|
286
|
+
"relevance",
|
|
287
|
+
"highlightFields"
|
|
288
|
+
],
|
|
289
|
+
path
|
|
290
|
+
);
|
|
291
|
+
const result = {
|
|
292
|
+
slug: stringField(raw, "slug", path),
|
|
293
|
+
platformId: stringField(raw, "platformId", path),
|
|
294
|
+
name: stringField(raw, "name", path),
|
|
295
|
+
description: stringField(raw, "description", path),
|
|
296
|
+
category: stringField(raw, "category", path),
|
|
297
|
+
provider: parseProvider(raw, path),
|
|
298
|
+
pricing: parsePricing(raw["pricing"], `${path}.pricing`),
|
|
299
|
+
relevance: boundedNumberField(raw, "relevance", path, 0, 1)
|
|
300
|
+
};
|
|
301
|
+
if (raw["highlightFields"] !== void 0) {
|
|
302
|
+
if (!Array.isArray(raw["highlightFields"]))
|
|
303
|
+
return malformed(`${path}.highlightFields`);
|
|
304
|
+
result.highlightFields = raw["highlightFields"].map(
|
|
305
|
+
(field, index) => parseHighlight(field, `${path}.highlightFields[${index}]`)
|
|
306
|
+
);
|
|
307
|
+
}
|
|
308
|
+
return result;
|
|
309
|
+
}
|
|
310
|
+
function mapCatalogSearch(raw) {
|
|
311
|
+
rejectInternalKeys(raw, "search");
|
|
312
|
+
const envelope = record(raw, "search");
|
|
313
|
+
exactKeys(envelope, ["results", "total", "ranking"], "search");
|
|
314
|
+
if (!Array.isArray(envelope["results"])) return malformed("search.results");
|
|
315
|
+
const ranking = envelope["ranking"];
|
|
316
|
+
if (ranking !== "semantic" && ranking !== "keyword")
|
|
317
|
+
return malformed("search.ranking");
|
|
318
|
+
return {
|
|
319
|
+
results: envelope["results"].map(
|
|
320
|
+
(row, index) => mapSearchResult(row, `search.results[${index}]`)
|
|
321
|
+
),
|
|
322
|
+
total: integerField(envelope, "total", "search"),
|
|
323
|
+
ranking
|
|
324
|
+
};
|
|
90
325
|
}
|
|
91
326
|
async function agentSignup(options = {}) {
|
|
92
327
|
const fetchImpl = options.fetch ?? globalThis.fetch;
|
|
@@ -213,12 +448,16 @@ function composeSignal(timeoutMs, callerSignal) {
|
|
|
213
448
|
if (callerSignal.aborted) {
|
|
214
449
|
controller.abort(callerSignal.reason);
|
|
215
450
|
} else {
|
|
216
|
-
callerSignal.addEventListener("abort", () => abort(callerSignal.reason), {
|
|
451
|
+
callerSignal.addEventListener("abort", () => abort(callerSignal.reason), {
|
|
452
|
+
once: true
|
|
453
|
+
});
|
|
217
454
|
}
|
|
218
455
|
if (timeoutSignal.aborted) {
|
|
219
456
|
controller.abort(timeoutSignal.reason);
|
|
220
457
|
} else {
|
|
221
|
-
timeoutSignal.addEventListener("abort", () => abort(timeoutSignal.reason), {
|
|
458
|
+
timeoutSignal.addEventListener("abort", () => abort(timeoutSignal.reason), {
|
|
459
|
+
once: true
|
|
460
|
+
});
|
|
222
461
|
}
|
|
223
462
|
return { signal: controller.signal, timeoutSignal };
|
|
224
463
|
}
|
|
@@ -269,10 +508,7 @@ var AnyAPI = class {
|
|
|
269
508
|
constructor(options = {}) {
|
|
270
509
|
this.apiKey = options.apiKey ?? envApiKey();
|
|
271
510
|
if (!this.apiKey) {
|
|
272
|
-
throw new AnyAPIError(
|
|
273
|
-
"no API key: pass apiKey or set ANYAPI_API_KEY",
|
|
274
|
-
0
|
|
275
|
-
);
|
|
511
|
+
throw new AnyAPIError("no API key: pass apiKey or set ANYAPI_API_KEY", 0);
|
|
276
512
|
}
|
|
277
513
|
this.baseUrl = options.baseUrl ?? DEFAULT_BASE_URL2;
|
|
278
514
|
const resolvedFetch = options.fetch ?? globalThis.fetch;
|
|
@@ -292,12 +528,16 @@ var AnyAPI = class {
|
|
|
292
528
|
* base signature is the fallback that returns RunResult<unknown> for an unknown slug.
|
|
293
529
|
*/
|
|
294
530
|
run(slug, input, options) {
|
|
295
|
-
return this.request(
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
531
|
+
return this.request(
|
|
532
|
+
"POST",
|
|
533
|
+
buildUrl(this.baseUrl, slug, options),
|
|
534
|
+
{
|
|
535
|
+
body: JSON.stringify(input ?? {}),
|
|
536
|
+
timeoutMs: options?.timeoutMs ?? this.timeoutMs,
|
|
537
|
+
maxRetries: options?.maxRetries ?? this.maxRetries,
|
|
538
|
+
...options?.signal ? { signal: options.signal } : {}
|
|
539
|
+
}
|
|
540
|
+
);
|
|
301
541
|
}
|
|
302
542
|
/** Current wallet balance in USD. GET /v1/balance. See SPEC 2.7. */
|
|
303
543
|
balance() {
|
|
@@ -308,14 +548,11 @@ var AnyAPI = class {
|
|
|
308
548
|
const raw = await this.httpGet("/v1/me");
|
|
309
549
|
return mapProfile(raw);
|
|
310
550
|
}
|
|
311
|
-
/**
|
|
312
|
-
async catalog(
|
|
551
|
+
/** Browse catalog SKUs, optionally scoped by category. GET /v1/apis. */
|
|
552
|
+
async catalog(options = {}) {
|
|
313
553
|
const search = new URLSearchParams();
|
|
314
|
-
if (
|
|
315
|
-
search.set("
|
|
316
|
-
}
|
|
317
|
-
if (query?.category) {
|
|
318
|
-
search.set("category", query.category);
|
|
554
|
+
if (options.category) {
|
|
555
|
+
search.set("category", options.category);
|
|
319
556
|
}
|
|
320
557
|
const qs = search.toString();
|
|
321
558
|
const raw = await this.httpGet(
|
|
@@ -323,12 +560,23 @@ var AnyAPI = class {
|
|
|
323
560
|
);
|
|
324
561
|
return mapCatalogList(raw);
|
|
325
562
|
}
|
|
563
|
+
/** Ranked catalog search. GET /catalog/search. Browse never accepts a query. */
|
|
564
|
+
async search(options) {
|
|
565
|
+
const search = new URLSearchParams({ q: options.query });
|
|
566
|
+
if (options.category) search.set("category", options.category);
|
|
567
|
+
if (options.platform) search.set("platform", options.platform);
|
|
568
|
+
if (options.limit !== void 0) search.set("limit", String(options.limit));
|
|
569
|
+
const raw = await this.httpGet(
|
|
570
|
+
`/catalog/search?${search.toString()}`
|
|
571
|
+
);
|
|
572
|
+
return mapCatalogSearch(raw);
|
|
573
|
+
}
|
|
326
574
|
/** Describe a single SKU by slug. GET /v1/apis/{slug}. 404 -> NotFoundError. See SPEC 2.7. */
|
|
327
575
|
async describe(slug) {
|
|
328
576
|
const raw = await this.httpGet(
|
|
329
577
|
`/v1/apis/${encodeURIComponent(slug)}`
|
|
330
578
|
);
|
|
331
|
-
return
|
|
579
|
+
return mapCatalogDetail(raw);
|
|
332
580
|
}
|
|
333
581
|
/** Internal GET against the gateway with the same auth/retry/error machinery. */
|
|
334
582
|
httpGet(path) {
|
|
@@ -353,7 +601,10 @@ var AnyAPI = class {
|
|
|
353
601
|
}
|
|
354
602
|
let attempt = 0;
|
|
355
603
|
for (; ; ) {
|
|
356
|
-
const { signal, timeoutSignal } = composeSignal(
|
|
604
|
+
const { signal, timeoutSignal } = composeSignal(
|
|
605
|
+
opts.timeoutMs,
|
|
606
|
+
opts.signal
|
|
607
|
+
);
|
|
357
608
|
let response;
|
|
358
609
|
try {
|
|
359
610
|
response = await this.fetchImpl(url, {
|
|
@@ -386,7 +637,11 @@ var AnyAPI = class {
|
|
|
386
637
|
try {
|
|
387
638
|
return JSON.parse(text);
|
|
388
639
|
} catch {
|
|
389
|
-
throw new AnyAPIError(
|
|
640
|
+
throw new AnyAPIError(
|
|
641
|
+
"failed to parse response JSON",
|
|
642
|
+
200,
|
|
643
|
+
requestId
|
|
644
|
+
);
|
|
390
645
|
}
|
|
391
646
|
}
|
|
392
647
|
const body = await response.text().catch(() => "");
|
|
@@ -508,9 +763,9 @@ var AhrefsNamespace = class {
|
|
|
508
763
|
/**
|
|
509
764
|
* Ahrefs Backlinks
|
|
510
765
|
*
|
|
511
|
-
* Get the referring pages linking to a domain or URL, each with the source page, anchor text, linking domain rating, and page title.
|
|
766
|
+
* Get the referring pages linking to a domain or URL, each with the source page, anchor text, linking domain rating, and page title.
|
|
512
767
|
*
|
|
513
|
-
* Price: $0.0195 per request.
|
|
768
|
+
* Price: $0.0195 per request plus $0 per result (maximum $0.0195).
|
|
514
769
|
*
|
|
515
770
|
* @example
|
|
516
771
|
* const res = await client.ahrefs.backlinks({ url: "ahrefs.com", mode: "exact" });
|
|
@@ -521,9 +776,9 @@ var AhrefsNamespace = class {
|
|
|
521
776
|
/**
|
|
522
777
|
* Ahrefs Keyword Ideas
|
|
523
778
|
*
|
|
524
|
-
* Get related keyword suggestions for any seed term, each with an Ahrefs difficulty and search-volume bucket.
|
|
779
|
+
* Get related keyword suggestions for any seed term, each with an Ahrefs difficulty and search-volume bucket.
|
|
525
780
|
*
|
|
526
|
-
* Price: $0.0015 per request plus $0.018 per result.
|
|
781
|
+
* Price: $0.0015 per request plus $0.018 per result (maximum $0.0195).
|
|
527
782
|
*
|
|
528
783
|
* @example
|
|
529
784
|
* const res = await client.ahrefs.keywordIdeas({ keyword: "coffee", country: "us" });
|
|
@@ -534,9 +789,9 @@ var AhrefsNamespace = class {
|
|
|
534
789
|
/**
|
|
535
790
|
* Ahrefs Keyword Difficulty
|
|
536
791
|
*
|
|
537
|
-
* Get the Ahrefs keyword-difficulty metrics for any search term: the difficulty score (0-100) and the number of referring domains a page needs to rank in the top 10 - as normalized JSON
|
|
792
|
+
* Get the Ahrefs keyword-difficulty metrics for any search term: the difficulty score (0-100) and the number of referring domains a page needs to rank in the top 10 - as normalized JSON.
|
|
538
793
|
*
|
|
539
|
-
* Price: $0.0015 per request plus $0.018 per result.
|
|
794
|
+
* Price: $0.0015 per request plus $0.018 per result (maximum $0.0195).
|
|
540
795
|
*
|
|
541
796
|
* @example
|
|
542
797
|
* const res = await client.ahrefs.keywords({ keyword: "seo tools", country: "us" });
|
|
@@ -547,9 +802,9 @@ var AhrefsNamespace = class {
|
|
|
547
802
|
/**
|
|
548
803
|
* Ahrefs Domain Overview
|
|
549
804
|
*
|
|
550
|
-
* Get an SEO authority overview for any domain or URL: Domain Rating, total backlinks, and referring domains - as normalized JSON
|
|
805
|
+
* Get an SEO authority overview for any domain or URL: Domain Rating, total backlinks, and referring domains - as normalized JSON.
|
|
551
806
|
*
|
|
552
|
-
* Price: $0.0015 per request plus $0.018 per result.
|
|
807
|
+
* Price: $0.0015 per request plus $0.018 per result (maximum $0.0195).
|
|
553
808
|
*
|
|
554
809
|
* @example
|
|
555
810
|
* const res = await client.ahrefs.overview({ url: "ahrefs.com", mode: "subdomains" });
|
|
@@ -568,12 +823,12 @@ var AirbnbNamespace = class {
|
|
|
568
823
|
/**
|
|
569
824
|
* Airbnb Search
|
|
570
825
|
*
|
|
571
|
-
* Search Airbnb listings by location and dates and get results (name, price, rating, host) as normalized JSON
|
|
826
|
+
* Search Airbnb listings by location and dates with optional price, beds/bedrooms/bathrooms, and guest-party filters and get results (name, total-stay price label, rating, host) as normalized JSON.
|
|
572
827
|
*
|
|
573
|
-
* Price: $0.00008 per request plus $0.0015 per result.
|
|
828
|
+
* Price: $0.00008 per request plus $0.0015 per result (maximum $0.03008).
|
|
574
829
|
*
|
|
575
830
|
* @example
|
|
576
|
-
* const res = await client.airbnb.search({ location: "San Diego", limit: 3 });
|
|
831
|
+
* const res = await client.airbnb.search({ location: "San Diego", adults: 2, limit: 3, minBedrooms: 3 });
|
|
577
832
|
*/
|
|
578
833
|
search(input, options) {
|
|
579
834
|
return this._core.run("airbnb.search", input, options);
|
|
@@ -589,9 +844,9 @@ var AlibabaNamespace = class {
|
|
|
589
844
|
/**
|
|
590
845
|
* Alibaba Search
|
|
591
846
|
*
|
|
592
|
-
* Search Alibaba by keyword and get up to 25 wholesale listings - title, price range, minimum order, and supplier - in one normalized
|
|
847
|
+
* Search Alibaba by keyword and get up to 25 wholesale listings - title, price range, minimum order, and supplier - in one normalized response.
|
|
593
848
|
*
|
|
594
|
-
* Price: $0.0012 per result.
|
|
849
|
+
* Price: $0 per request plus $0.0012 per result (maximum $0.03).
|
|
595
850
|
*
|
|
596
851
|
* @example
|
|
597
852
|
* const res = await client.alibaba.search({ query: "bluetooth speaker", limit: 3 });
|
|
@@ -610,9 +865,9 @@ var AmazonNamespace = class {
|
|
|
610
865
|
/**
|
|
611
866
|
* Amazon Products by ASIN
|
|
612
867
|
*
|
|
613
|
-
* Look up to 10 Amazon products in one call by ASIN - title, brand, price, ratings, images, and attributes - as normalized JSON
|
|
868
|
+
* Look up to 10 Amazon products in one call by ASIN - title, brand, price, ratings, images, and attributes - as normalized JSON.
|
|
614
869
|
*
|
|
615
|
-
* Price: $0.0035 per asin.
|
|
870
|
+
* Price: $0 per request plus $0.0035 per asin (maximum $0.035).
|
|
616
871
|
*
|
|
617
872
|
* @example
|
|
618
873
|
* const res = await client.amazon.asins({ asins: ["B09G9FPHY6"], limit: 3 });
|
|
@@ -623,9 +878,9 @@ var AmazonNamespace = class {
|
|
|
623
878
|
/**
|
|
624
879
|
* Amazon Bestsellers
|
|
625
880
|
*
|
|
626
|
-
* List the top-ranked products of any Amazon Best Sellers category - rank, title, price, and rating - in one normalized
|
|
881
|
+
* List the top-ranked products of any Amazon Best Sellers category - rank, title, price, and rating - in one normalized request.
|
|
627
882
|
*
|
|
628
|
-
* Price: $0.0041 per result.
|
|
883
|
+
* Price: $0 per request plus $0.0041 per result (maximum $0.082).
|
|
629
884
|
*
|
|
630
885
|
* @example
|
|
631
886
|
* const res = await client.amazon.bestsellers({ url: "https://www.amazon.com/gp/bestsellers/electronics", limit: 3 });
|
|
@@ -636,9 +891,9 @@ var AmazonNamespace = class {
|
|
|
636
891
|
/**
|
|
637
892
|
* Amazon Product
|
|
638
893
|
*
|
|
639
|
-
* Fetch full Amazon product details (title, brand, price when in stock, images, ratings, review count, variants, and attributes) from a product URL
|
|
894
|
+
* Fetch full Amazon product details (title, brand, price when in stock, images, ratings, review count, variants, and attributes) from a product URL.
|
|
640
895
|
*
|
|
641
|
-
* Price: $0.001 per request plus $0.0081 per result.
|
|
896
|
+
* Price: $0.001 per request plus $0.0081 per result (maximum $0.0091).
|
|
642
897
|
*
|
|
643
898
|
* @example
|
|
644
899
|
* const res = await client.amazon.product({ url: "https://www.amazon.com/dp/B00NTCH52W" });
|
|
@@ -649,12 +904,12 @@ var AmazonNamespace = class {
|
|
|
649
904
|
/**
|
|
650
905
|
* Amazon Reviews
|
|
651
906
|
*
|
|
652
|
-
* Pull up to 50 customer reviews for any Amazon product by ASIN or URL - rating, title, text, date, and verified-purchase badge
|
|
907
|
+
* Pull up to 50 customer reviews for any Amazon product by ASIN or URL - rating, title, text, date, and verified-purchase badge.
|
|
653
908
|
*
|
|
654
909
|
* Price: $0.01625 per request.
|
|
655
910
|
*
|
|
656
911
|
* @example
|
|
657
|
-
* const res = await client.amazon.reviews({ product: "
|
|
912
|
+
* const res = await client.amazon.reviews({ product: "B07PXGQC1Q", limit: 3 });
|
|
658
913
|
*/
|
|
659
914
|
reviews(input, options) {
|
|
660
915
|
return this._core.run("amazon.reviews", input, options);
|
|
@@ -662,9 +917,9 @@ var AmazonNamespace = class {
|
|
|
662
917
|
/**
|
|
663
918
|
* Amazon Search
|
|
664
919
|
*
|
|
665
|
-
* Search Amazon from any search or category URL and get up to 20 matching products - title, price, rating, and thumbnail - in one normalized
|
|
920
|
+
* Search Amazon from any search or category URL and get up to 20 matching products - title, price, rating, and thumbnail - in one normalized response.
|
|
666
921
|
*
|
|
667
|
-
* Price: $0.0035 per result.
|
|
922
|
+
* Price: $0 per request plus $0.0035 per result (maximum $0.07).
|
|
668
923
|
*
|
|
669
924
|
* @example
|
|
670
925
|
* const res = await client.amazon.search({ url: "https://www.amazon.com/s?k=laptop", limit: 3 });
|
|
@@ -674,6 +929,118 @@ var AmazonNamespace = class {
|
|
|
674
929
|
}
|
|
675
930
|
};
|
|
676
931
|
|
|
932
|
+
// src/generated/platforms/apollo.ts
|
|
933
|
+
var ApolloNamespace = class {
|
|
934
|
+
constructor(_core) {
|
|
935
|
+
this._core = _core;
|
|
936
|
+
}
|
|
937
|
+
_core;
|
|
938
|
+
/**
|
|
939
|
+
* Apollo Organization
|
|
940
|
+
*
|
|
941
|
+
* Get a complete organization profile by ID including company, industry, employee, revenue, funding, location, and technology data.
|
|
942
|
+
*
|
|
943
|
+
* Price: $0.012 per request.
|
|
944
|
+
*
|
|
945
|
+
* @example
|
|
946
|
+
* const res = await client.apollo.organization({ organizationId: "5e66b6381e05b4008c8331b8" });
|
|
947
|
+
*/
|
|
948
|
+
organization(input, options) {
|
|
949
|
+
return this._core.run("apollo.organization", input, options);
|
|
950
|
+
}
|
|
951
|
+
/**
|
|
952
|
+
* Apollo Organization Enrichment
|
|
953
|
+
*
|
|
954
|
+
* Enrich an organization by domain with company profile, industry, employee, revenue, funding, location, and technology data.
|
|
955
|
+
*
|
|
956
|
+
* Price: $0.012 per request.
|
|
957
|
+
*
|
|
958
|
+
* @example
|
|
959
|
+
* const res = await client.apollo.organizationEnrich({ domain: "apollo.io" });
|
|
960
|
+
*/
|
|
961
|
+
organizationEnrich(input, options) {
|
|
962
|
+
return this._core.run("apollo.organization_enrich", input, options);
|
|
963
|
+
}
|
|
964
|
+
/**
|
|
965
|
+
* Apollo Organization Jobs
|
|
966
|
+
*
|
|
967
|
+
* Get current job postings for an organization by ID with title, location, source URL, and timestamps.
|
|
968
|
+
*
|
|
969
|
+
* Price: $0.012 per request.
|
|
970
|
+
*
|
|
971
|
+
* @example
|
|
972
|
+
* const res = await client.apollo.organizationJobs({ organizationId: "5e66b6381e05b4008c8331b8" });
|
|
973
|
+
*/
|
|
974
|
+
organizationJobs(input, options) {
|
|
975
|
+
return this._core.run("apollo.organization_jobs", input, options);
|
|
976
|
+
}
|
|
977
|
+
/**
|
|
978
|
+
* Apollo Organization News
|
|
979
|
+
*
|
|
980
|
+
* Search news related to one or more organizations with article details, categories, and pagination totals.
|
|
981
|
+
*
|
|
982
|
+
* Price: $0.012 per request.
|
|
983
|
+
*
|
|
984
|
+
* @example
|
|
985
|
+
* const res = await client.apollo.organizationNews({ organizationIds: ["5e66b6381e05b4008c8331b8"], limit: 3, page: 1 });
|
|
986
|
+
*/
|
|
987
|
+
organizationNews(input, options) {
|
|
988
|
+
return this._core.run("apollo.organization_news", input, options);
|
|
989
|
+
}
|
|
990
|
+
/**
|
|
991
|
+
* Apollo Bulk Organization Enrichment
|
|
992
|
+
*
|
|
993
|
+
* Enrich up to 10 organization domains in one request with normalized company profile, industry, employee, revenue, funding, and location data.
|
|
994
|
+
*
|
|
995
|
+
* Price: $0.06 per request.
|
|
996
|
+
*
|
|
997
|
+
* @example
|
|
998
|
+
* const res = await client.apollo.organizationsBulkEnrich({ domains: ["apollo.io", "openai.com"] });
|
|
999
|
+
*/
|
|
1000
|
+
organizationsBulkEnrich(input, options) {
|
|
1001
|
+
return this._core.run("apollo.organizations_bulk_enrich", input, options);
|
|
1002
|
+
}
|
|
1003
|
+
/**
|
|
1004
|
+
* Apollo Organization Search
|
|
1005
|
+
*
|
|
1006
|
+
* Search organizations by location, employee range, industry, and keywords with normalized company records and pagination totals.
|
|
1007
|
+
*
|
|
1008
|
+
* Price: $0.012 per request.
|
|
1009
|
+
*
|
|
1010
|
+
* @example
|
|
1011
|
+
* const res = await client.apollo.organizationsSearch({ keywords: "Apollo", limit: 3, page: 1 });
|
|
1012
|
+
*/
|
|
1013
|
+
organizationsSearch(input, options) {
|
|
1014
|
+
return this._core.run("apollo.organizations_search", input, options);
|
|
1015
|
+
}
|
|
1016
|
+
/**
|
|
1017
|
+
* Apollo People Search
|
|
1018
|
+
*
|
|
1019
|
+
* Search people by title, seniority, person or organization location, employee range, and keywords with normalized profile summaries.
|
|
1020
|
+
*
|
|
1021
|
+
* Price: $0.01 per request.
|
|
1022
|
+
*
|
|
1023
|
+
* @example
|
|
1024
|
+
* const res = await client.apollo.peopleSearch({ limit: 3, page: 1, titles: ["CEO"] });
|
|
1025
|
+
*/
|
|
1026
|
+
peopleSearch(input, options) {
|
|
1027
|
+
return this._core.run("apollo.people_search", input, options);
|
|
1028
|
+
}
|
|
1029
|
+
/**
|
|
1030
|
+
* Apollo Person Enrichment
|
|
1031
|
+
*
|
|
1032
|
+
* Enrich a person by email, LinkedIn URL, or name and organization with contact, role, location, and company data.
|
|
1033
|
+
*
|
|
1034
|
+
* Price: $0.012 per request.
|
|
1035
|
+
*
|
|
1036
|
+
* @example
|
|
1037
|
+
* const res = await client.apollo.personEnrich({ domain: "apollo.io", firstName: "Tim", lastName: "Zheng" });
|
|
1038
|
+
*/
|
|
1039
|
+
personEnrich(input, options) {
|
|
1040
|
+
return this._core.run("apollo.person_enrich", input, options);
|
|
1041
|
+
}
|
|
1042
|
+
};
|
|
1043
|
+
|
|
677
1044
|
// src/generated/platforms/appstore.ts
|
|
678
1045
|
var AppstoreNamespace = class {
|
|
679
1046
|
constructor(_core) {
|
|
@@ -683,9 +1050,9 @@ var AppstoreNamespace = class {
|
|
|
683
1050
|
/**
|
|
684
1051
|
* App Store Reviews
|
|
685
1052
|
*
|
|
686
|
-
* Get App Store reviews for any iOS app by app ID, in any storefront country - ratings, titles, and review text
|
|
1053
|
+
* Get App Store reviews for any iOS app by app ID, in any storefront country - ratings, titles, and review text.
|
|
687
1054
|
*
|
|
688
|
-
* Price: $0.0001 per result.
|
|
1055
|
+
* Price: $0 per request plus $0.0001 per result (maximum $0.01).
|
|
689
1056
|
*
|
|
690
1057
|
* @example
|
|
691
1058
|
* const res = await client.appstore.reviews({ appId: "389801252", country: "us", limit: 3 });
|
|
@@ -704,7 +1071,7 @@ var BlueskyNamespace = class {
|
|
|
704
1071
|
/**
|
|
705
1072
|
* Bluesky Post
|
|
706
1073
|
*
|
|
707
|
-
* Get a single Bluesky post by URL - text, author handle, like, reply, and repost counts as clean JSON
|
|
1074
|
+
* Get a single Bluesky post by URL - text, author handle, like, reply, and repost counts as clean JSON.
|
|
708
1075
|
*
|
|
709
1076
|
* Price: $0.002 per request.
|
|
710
1077
|
*
|
|
@@ -717,7 +1084,7 @@ var BlueskyNamespace = class {
|
|
|
717
1084
|
/**
|
|
718
1085
|
* Bluesky Profile
|
|
719
1086
|
*
|
|
720
|
-
* Get a Bluesky user's public profile by handle - display name, bio, follower and post counts as clean JSON
|
|
1087
|
+
* Get a Bluesky user's public profile by handle - display name, bio, follower and post counts as clean JSON.
|
|
721
1088
|
*
|
|
722
1089
|
* Price: $0.002 per request.
|
|
723
1090
|
*
|
|
@@ -730,7 +1097,7 @@ var BlueskyNamespace = class {
|
|
|
730
1097
|
/**
|
|
731
1098
|
* Bluesky User Posts
|
|
732
1099
|
*
|
|
733
|
-
* List a Bluesky account's recent posts (text, author handle, like, reply, and repost counts) by handle as clean JSON, normalized across providers
|
|
1100
|
+
* List a Bluesky account's recent posts (text, author handle, like, reply, and repost counts) by handle as clean JSON, normalized across providers.
|
|
734
1101
|
*
|
|
735
1102
|
* Price: $0.002 per request.
|
|
736
1103
|
*
|
|
@@ -751,12 +1118,12 @@ var BookingNamespace = class {
|
|
|
751
1118
|
/**
|
|
752
1119
|
* Booking.com Search
|
|
753
1120
|
*
|
|
754
|
-
* Search Booking.com stays by destination and dates and get hotel results (name, price, review score, location) as normalized JSON
|
|
1121
|
+
* Search Booking.com stays by destination and dates with optional guest and room occupancy and get hotel results (name, price, review score, location) as normalized JSON.
|
|
755
1122
|
*
|
|
756
|
-
* Price: $0.002 per request plus $0.0045 per result.
|
|
1123
|
+
* Price: $0.002 per request plus $0.0045 per result (maximum $0.092).
|
|
757
1124
|
*
|
|
758
1125
|
* @example
|
|
759
|
-
* const res = await client.booking.search({ query: "New York", checkIn: "2026-09-01", checkOut: "2026-09-03", limit: 3 });
|
|
1126
|
+
* const res = await client.booking.search({ query: "New York", adults: 2, checkIn: "2026-09-01", checkOut: "2026-09-03", limit: 3 });
|
|
760
1127
|
*/
|
|
761
1128
|
search(input, options) {
|
|
762
1129
|
return this._core.run("booking.search", input, options);
|
|
@@ -772,9 +1139,9 @@ var CoinmarketcapNamespace = class {
|
|
|
772
1139
|
/**
|
|
773
1140
|
* CoinMarketCap Listings
|
|
774
1141
|
*
|
|
775
|
-
* Get the current top cryptocurrencies from CoinMarketCap - rank, price, market cap, volume, and 24h change - as normalized JSON
|
|
1142
|
+
* Get the current top cryptocurrencies from CoinMarketCap - rank, price, market cap, volume, and 24h change - as normalized JSON.
|
|
776
1143
|
*
|
|
777
|
-
* Price: $0.0018 per result.
|
|
1144
|
+
* Price: $0 per request plus $0.0018 per result (maximum $0.045).
|
|
778
1145
|
*
|
|
779
1146
|
* @example
|
|
780
1147
|
* const res = await client.coinmarketcap.listings({ limit: 5 });
|
|
@@ -793,9 +1160,9 @@ var CongressNamespace = class {
|
|
|
793
1160
|
/**
|
|
794
1161
|
* Congress Stock Trades
|
|
795
1162
|
*
|
|
796
|
-
* Get US Congress members' financial disclosures and stock trades - member, ticker, transaction type, amount range, and dates - filterable by member, ticker, or date range
|
|
1163
|
+
* Get US Congress members' financial disclosures and stock trades - member, ticker, transaction type, amount range, and dates - filterable by member, ticker, or date range.
|
|
797
1164
|
*
|
|
798
|
-
* Price: $0.001 per request plus $0.0019 per result.
|
|
1165
|
+
* Price: $0.001 per request plus $0.0019 per result (maximum $0.0485).
|
|
799
1166
|
*
|
|
800
1167
|
* @example
|
|
801
1168
|
* const res = await client.congress.trades({ limit: 5 });
|
|
@@ -814,18 +1181,91 @@ var DexscreenerNamespace = class {
|
|
|
814
1181
|
/**
|
|
815
1182
|
* DEX Screener Tokens
|
|
816
1183
|
*
|
|
817
|
-
* List trending tokens on any blockchain from DEX Screener - price, liquidity, volume, transactions, and market cap - sorted how you want, as normalized JSON
|
|
1184
|
+
* List trending tokens on any blockchain from DEX Screener - price, liquidity, volume, transactions, and market cap - sorted how you want, as normalized JSON.
|
|
818
1185
|
*
|
|
819
|
-
* Price: $0.02 per request plus $0.0015 per result.
|
|
1186
|
+
* Price: $0.02 per request plus $0.0015 per result (maximum $0.0575).
|
|
820
1187
|
*
|
|
821
1188
|
* @example
|
|
822
|
-
* const res = await client.dexscreener.tokens({ chain: "solana", limit: 5 });
|
|
1189
|
+
* const res = await client.dexscreener.tokens({ chain: "solana", limit: 5, min24HVol: 100000 });
|
|
823
1190
|
*/
|
|
824
1191
|
tokens(input, options) {
|
|
825
1192
|
return this._core.run("dexscreener.tokens", input, options);
|
|
826
1193
|
}
|
|
827
1194
|
};
|
|
828
1195
|
|
|
1196
|
+
// src/generated/platforms/douyin.ts
|
|
1197
|
+
var DouyinNamespace = class {
|
|
1198
|
+
constructor(_core) {
|
|
1199
|
+
this._core = _core;
|
|
1200
|
+
}
|
|
1201
|
+
_core;
|
|
1202
|
+
/**
|
|
1203
|
+
* Douyin Profile
|
|
1204
|
+
*
|
|
1205
|
+
* Look up a public Douyin profile by sec_user_id and return normalized profile statistics.
|
|
1206
|
+
*
|
|
1207
|
+
* Price: $0.001 per request.
|
|
1208
|
+
*
|
|
1209
|
+
* @example
|
|
1210
|
+
* const res = await client.douyin.profile({ secUserId: "MS4wLjABAAAAW9FWcqS7RdQAWPd2AA5fL_ilmqsIFUCQ_Iym6Yh9_cUa6ZRqVLjVQSUjlHrfXY1Y" });
|
|
1211
|
+
*/
|
|
1212
|
+
profile(input, options) {
|
|
1213
|
+
return this._core.run("douyin.profile", input, options);
|
|
1214
|
+
}
|
|
1215
|
+
/**
|
|
1216
|
+
* Douyin Video Search
|
|
1217
|
+
*
|
|
1218
|
+
* Search public Douyin videos by keyword with sorting, time, duration, and content filters.
|
|
1219
|
+
*
|
|
1220
|
+
* Price: $0.01 per request.
|
|
1221
|
+
*
|
|
1222
|
+
* @example
|
|
1223
|
+
* const res = await client.douyin.searchVideos({ query: "机器人", duration: "0", publishedWithin: "0", sort: "0" });
|
|
1224
|
+
*/
|
|
1225
|
+
searchVideos(input, options) {
|
|
1226
|
+
return this._core.run("douyin.search_videos", input, options);
|
|
1227
|
+
}
|
|
1228
|
+
/**
|
|
1229
|
+
* Douyin User Posts
|
|
1230
|
+
*
|
|
1231
|
+
* List public posts from a Douyin user with normalized engagement data and pagination.
|
|
1232
|
+
*
|
|
1233
|
+
* Price: $0.001 per request.
|
|
1234
|
+
*
|
|
1235
|
+
* @example
|
|
1236
|
+
* const res = await client.douyin.userPosts({ secUserId: "MS4wLjABAAAANXSltcLCzDGmdNFI2Q_QixVTr67NiYzjKOIP5s03CAE", limit: 20, sort: 0 });
|
|
1237
|
+
*/
|
|
1238
|
+
userPosts(input, options) {
|
|
1239
|
+
return this._core.run("douyin.user_posts", input, options);
|
|
1240
|
+
}
|
|
1241
|
+
/**
|
|
1242
|
+
* Douyin Video
|
|
1243
|
+
*
|
|
1244
|
+
* Fetch a public Douyin video by share URL with normalized author and engagement data.
|
|
1245
|
+
*
|
|
1246
|
+
* Price: $0.001 per request.
|
|
1247
|
+
*
|
|
1248
|
+
* @example
|
|
1249
|
+
* const res = await client.douyin.video({ url: "https://www.douyin.com/video/6894784055775071503" });
|
|
1250
|
+
*/
|
|
1251
|
+
video(input, options) {
|
|
1252
|
+
return this._core.run("douyin.video", input, options);
|
|
1253
|
+
}
|
|
1254
|
+
/**
|
|
1255
|
+
* Douyin Video Comments
|
|
1256
|
+
*
|
|
1257
|
+
* List public comments on a Douyin video with author and engagement data.
|
|
1258
|
+
*
|
|
1259
|
+
* Price: $0.001 per request.
|
|
1260
|
+
*
|
|
1261
|
+
* @example
|
|
1262
|
+
* const res = await client.douyin.videoComments({ videoId: "7448118827402972455" });
|
|
1263
|
+
*/
|
|
1264
|
+
videoComments(input, options) {
|
|
1265
|
+
return this._core.run("douyin.video_comments", input, options);
|
|
1266
|
+
}
|
|
1267
|
+
};
|
|
1268
|
+
|
|
829
1269
|
// src/generated/platforms/ebay.ts
|
|
830
1270
|
var EbayNamespace = class {
|
|
831
1271
|
constructor(_core) {
|
|
@@ -835,12 +1275,12 @@ var EbayNamespace = class {
|
|
|
835
1275
|
/**
|
|
836
1276
|
* eBay Search
|
|
837
1277
|
*
|
|
838
|
-
* Search eBay active listings by keyword and get title, price, condition, shipping,
|
|
1278
|
+
* Search eBay active listings by keyword with optional price-range, item-condition, listing-type, and sort filters and get title, price, condition, shipping, and seller in one normalized response.
|
|
839
1279
|
*
|
|
840
|
-
* Price: $0.001 per request plus $0.00234 per result.
|
|
1280
|
+
* Price: $0.001 per request plus $0.00234 per result (maximum $0.0595).
|
|
841
1281
|
*
|
|
842
1282
|
* @example
|
|
843
|
-
* const res = await client.ebay.search({ query: "nintendo switch", limit: 3 });
|
|
1283
|
+
* const res = await client.ebay.search({ query: "nintendo switch", limit: 3, sort: "price_low" });
|
|
844
1284
|
*/
|
|
845
1285
|
search(input, options) {
|
|
846
1286
|
return this._core.run("ebay.search", input, options);
|
|
@@ -848,12 +1288,12 @@ var EbayNamespace = class {
|
|
|
848
1288
|
/**
|
|
849
1289
|
* eBay Sold Listings
|
|
850
1290
|
*
|
|
851
|
-
* Retrieve recently sold eBay listings for any keyword - sold price, sale date, condition,
|
|
1291
|
+
* Retrieve recently sold eBay listings for any keyword with optional price-range and sort filters (sold price, sale date, condition, item details); ideal for pricing research.
|
|
852
1292
|
*
|
|
853
|
-
* Price: $0.00005 per request plus $0.004 per result.
|
|
1293
|
+
* Price: $0.00005 per request plus $0.004 per result (maximum $0.10005).
|
|
854
1294
|
*
|
|
855
1295
|
* @example
|
|
856
|
-
* const res = await client.ebay.soldListings({ query: "nintendo switch", limit: 3 });
|
|
1296
|
+
* const res = await client.ebay.soldListings({ query: "nintendo switch", limit: 3, sort: "price_high" });
|
|
857
1297
|
*/
|
|
858
1298
|
soldListings(input, options) {
|
|
859
1299
|
return this._core.run("ebay.sold_listings", input, options);
|
|
@@ -869,9 +1309,9 @@ var EmailNamespace = class {
|
|
|
869
1309
|
/**
|
|
870
1310
|
* Email Finder
|
|
871
1311
|
*
|
|
872
|
-
* Find a person's work email address from their name and company domain
|
|
1312
|
+
* Find a person's work email address from their name and company domain.
|
|
873
1313
|
*
|
|
874
|
-
* Price: $0.005 per request plus $0.008 per result.
|
|
1314
|
+
* Price: $0.005 per request plus $0.008 per result (maximum $0.013).
|
|
875
1315
|
*
|
|
876
1316
|
* @example
|
|
877
1317
|
* const res = await client.email.find({ person: { domain: "stripe.com", firstName: "Patrick", surname: "Collison" } });
|
|
@@ -882,9 +1322,9 @@ var EmailNamespace = class {
|
|
|
882
1322
|
/**
|
|
883
1323
|
* Email Verifier
|
|
884
1324
|
*
|
|
885
|
-
* Verify any email address for deliverability - syntax, domain, and mailbox checks in one normalized response
|
|
1325
|
+
* Verify any email address for deliverability - syntax, domain, and mailbox checks in one normalized response.
|
|
886
1326
|
*
|
|
887
|
-
* Price: $0.0008 per result.
|
|
1327
|
+
* Price: $0 per request plus $0.0008 per result (maximum $0.0008).
|
|
888
1328
|
*
|
|
889
1329
|
* @example
|
|
890
1330
|
* const res = await client.email.verify({ email: "patrick@stripe.com" });
|
|
@@ -903,7 +1343,7 @@ var FacebookNamespace = class {
|
|
|
903
1343
|
/**
|
|
904
1344
|
* Facebook Ad Details
|
|
905
1345
|
*
|
|
906
|
-
* Look up a single Meta Ad Library ad by ID or URL and get the advertiser, creative text, call-to-action, platforms, and run dates as clean JSON
|
|
1346
|
+
* Look up a single Meta Ad Library ad by ID or URL and get the advertiser, creative text, call-to-action, platforms, and run dates as clean JSON.
|
|
907
1347
|
*
|
|
908
1348
|
* Price: $0.002 per request.
|
|
909
1349
|
*
|
|
@@ -916,7 +1356,7 @@ var FacebookNamespace = class {
|
|
|
916
1356
|
/**
|
|
917
1357
|
* Facebook Ad Transcript
|
|
918
1358
|
*
|
|
919
|
-
* Get the spoken-word transcript of a Meta Ad Library video ad by ad ID or URL
|
|
1359
|
+
* Get the spoken-word transcript of a Meta Ad Library video ad by ad ID or URL.
|
|
920
1360
|
*
|
|
921
1361
|
* Price: $0.002 per request.
|
|
922
1362
|
*
|
|
@@ -934,7 +1374,7 @@ var FacebookNamespace = class {
|
|
|
934
1374
|
* Price: $0.002 per request.
|
|
935
1375
|
*
|
|
936
1376
|
* @example
|
|
937
|
-
* const res = await client.facebook.adsSearch({ query: "nike", country: "US" });
|
|
1377
|
+
* const res = await client.facebook.adsSearch({ query: "nike", country: "US", searchType: "keyword_exact_phrase" });
|
|
938
1378
|
*/
|
|
939
1379
|
adsSearch(input, options) {
|
|
940
1380
|
return this._core.run("facebook.ads_search", input, options);
|
|
@@ -958,7 +1398,7 @@ var FacebookNamespace = class {
|
|
|
958
1398
|
/**
|
|
959
1399
|
* Facebook Comment Replies
|
|
960
1400
|
*
|
|
961
|
-
* List the replies to a Facebook post comment - text, author, reactions, and timestamps - as normalized JSON at a
|
|
1401
|
+
* List the replies to a Facebook post comment - text, author, reactions, and timestamps - as normalized JSON at a.
|
|
962
1402
|
*
|
|
963
1403
|
* Price: $0.002 per request.
|
|
964
1404
|
*
|
|
@@ -987,12 +1427,12 @@ var FacebookNamespace = class {
|
|
|
987
1427
|
/**
|
|
988
1428
|
* Facebook Company Ads
|
|
989
1429
|
*
|
|
990
|
-
* 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
|
|
1430
|
+
* 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.
|
|
991
1431
|
*
|
|
992
1432
|
* Price: $0.002 per request.
|
|
993
1433
|
*
|
|
994
1434
|
* @example
|
|
995
|
-
* const res = await client.facebook.companyAds({ companyName: "nike" });
|
|
1435
|
+
* const res = await client.facebook.companyAds({ companyName: "nike", sortBy: "recent" });
|
|
996
1436
|
*/
|
|
997
1437
|
companyAds(input, options) {
|
|
998
1438
|
return this._core.run("facebook.company_ads", input, options);
|
|
@@ -1016,7 +1456,7 @@ var FacebookNamespace = class {
|
|
|
1016
1456
|
/**
|
|
1017
1457
|
* Facebook Event Details
|
|
1018
1458
|
*
|
|
1019
|
-
* Fetch full details for a single Facebook event by ID or URL - name, schedule, venue, hosts, and attendance - as normalized JSON at a
|
|
1459
|
+
* Fetch full details for a single Facebook event by ID or URL - name, schedule, venue, hosts, and attendance - as normalized JSON at a.
|
|
1020
1460
|
*
|
|
1021
1461
|
* Price: $0.002 per request.
|
|
1022
1462
|
*
|
|
@@ -1029,7 +1469,7 @@ var FacebookNamespace = class {
|
|
|
1029
1469
|
/**
|
|
1030
1470
|
* Facebook Events
|
|
1031
1471
|
*
|
|
1032
|
-
* List public Facebook events for a city or place by its events-page URL - event name, date, venue, and attendance - as normalized JSON at a
|
|
1472
|
+
* List public Facebook events for a city or place by its events-page URL - event name, date, venue, and attendance - as normalized JSON at a.
|
|
1033
1473
|
*
|
|
1034
1474
|
* Price: $0.002 per request.
|
|
1035
1475
|
*
|
|
@@ -1058,7 +1498,7 @@ var FacebookNamespace = class {
|
|
|
1058
1498
|
/**
|
|
1059
1499
|
* Facebook Events Search
|
|
1060
1500
|
*
|
|
1061
|
-
* Search public Facebook events by keyword and get structured event records - name, schedule, venue, pricing, and attendance - as normalized JSON at a
|
|
1501
|
+
* Search public Facebook events by keyword and get structured event records - name, schedule, venue, pricing, and attendance - as normalized JSON at a.
|
|
1062
1502
|
*
|
|
1063
1503
|
* Price: $0.002 per request.
|
|
1064
1504
|
*
|
|
@@ -1087,9 +1527,9 @@ var FacebookNamespace = class {
|
|
|
1087
1527
|
/**
|
|
1088
1528
|
* Facebook Followers
|
|
1089
1529
|
*
|
|
1090
|
-
* List the public followers - or accounts followed - of any Facebook page or profile URL as normalized JSON records
|
|
1530
|
+
* List the public followers - or accounts followed - of any Facebook page or profile URL as normalized JSON records.
|
|
1091
1531
|
*
|
|
1092
|
-
* Price: $0.006 per result.
|
|
1532
|
+
* Price: $0 per request plus $0.006 per result (maximum $0.12).
|
|
1093
1533
|
*
|
|
1094
1534
|
* @example
|
|
1095
1535
|
* const res = await client.facebook.followers({ url: "https://www.facebook.com/nike", limit: 3 });
|
|
@@ -1100,7 +1540,7 @@ var FacebookNamespace = class {
|
|
|
1100
1540
|
/**
|
|
1101
1541
|
* Facebook Group Posts
|
|
1102
1542
|
*
|
|
1103
|
-
* Fetch recent posts from any public Facebook group by URL - text, author, reactions, and comment counts
|
|
1543
|
+
* Fetch recent posts from any public Facebook group by URL - text, author, reactions, and comment counts.
|
|
1104
1544
|
*
|
|
1105
1545
|
* Price: $0.002 per request.
|
|
1106
1546
|
*
|
|
@@ -1129,12 +1569,12 @@ var FacebookNamespace = class {
|
|
|
1129
1569
|
/**
|
|
1130
1570
|
* Facebook Marketplace
|
|
1131
1571
|
*
|
|
1132
|
-
* Search Facebook Marketplace listings by keyword near a location - title, price, location, and image - as normalized JSON
|
|
1572
|
+
* Search Facebook Marketplace listings by keyword near a location, with price, condition, delivery, recency, and availability filters - title, price, location, and image - as normalized JSON.
|
|
1133
1573
|
*
|
|
1134
1574
|
* Price: $0.002 per request.
|
|
1135
1575
|
*
|
|
1136
1576
|
* @example
|
|
1137
|
-
* const res = await client.facebook.marketplace({ lat: "30.2677", lng: "-97.7475", query: "bike" });
|
|
1577
|
+
* const res = await client.facebook.marketplace({ lat: "30.2677", lng: "-97.7475", query: "bike", priceMax: 500, priceMin: 100 });
|
|
1138
1578
|
*/
|
|
1139
1579
|
marketplace(input, options) {
|
|
1140
1580
|
return this._core.run("facebook.marketplace", input, options);
|
|
@@ -1158,7 +1598,7 @@ var FacebookNamespace = class {
|
|
|
1158
1598
|
/**
|
|
1159
1599
|
* Facebook Marketplace Item
|
|
1160
1600
|
*
|
|
1161
|
-
* Fetch full details for a single Facebook Marketplace listing by ID or URL - title, price, location, photos, and attributes - as normalized JSON at a
|
|
1601
|
+
* Fetch full details for a single Facebook Marketplace listing by ID or URL - title, price, location, photos, and attributes - as normalized JSON at a.
|
|
1162
1602
|
*
|
|
1163
1603
|
* Price: $0.002 per request.
|
|
1164
1604
|
*
|
|
@@ -1171,7 +1611,7 @@ var FacebookNamespace = class {
|
|
|
1171
1611
|
/**
|
|
1172
1612
|
* Facebook Marketplace Location Search
|
|
1173
1613
|
*
|
|
1174
|
-
* Resolve a place name to Facebook Marketplace locations with coordinates and metadata as normalized JSON at a
|
|
1614
|
+
* Resolve a place name to Facebook Marketplace locations with coordinates and metadata as normalized JSON at a.
|
|
1175
1615
|
*
|
|
1176
1616
|
* Price: $0.002 per request.
|
|
1177
1617
|
*
|
|
@@ -1188,7 +1628,7 @@ var FacebookNamespace = class {
|
|
|
1188
1628
|
/**
|
|
1189
1629
|
* Facebook Page Contact Info
|
|
1190
1630
|
*
|
|
1191
|
-
* Look up a Facebook Page's public contact details - email, phone, website, and address - by page URL or ID
|
|
1631
|
+
* Look up a Facebook Page's public contact details - email, phone, website, and address - by page URL or ID.
|
|
1192
1632
|
*
|
|
1193
1633
|
* Price: $0.002 per request.
|
|
1194
1634
|
*
|
|
@@ -1201,7 +1641,7 @@ var FacebookNamespace = class {
|
|
|
1201
1641
|
/**
|
|
1202
1642
|
* Facebook Page Photos
|
|
1203
1643
|
*
|
|
1204
|
-
* Fetch recent photos posted by any public Facebook page or profile - image URLs, captions, and dimensions - as normalized JSON at a
|
|
1644
|
+
* Fetch recent photos posted by any public Facebook page or profile - image URLs, captions, and dimensions - as normalized JSON at a.
|
|
1205
1645
|
*
|
|
1206
1646
|
* Price: $0.002 per request.
|
|
1207
1647
|
*
|
|
@@ -1272,7 +1712,7 @@ var FacebookNamespace = class {
|
|
|
1272
1712
|
/**
|
|
1273
1713
|
* Facebook Post Transcript
|
|
1274
1714
|
*
|
|
1275
|
-
* Get the spoken-word transcript of any public Facebook video post by URL as normalized JSON at a
|
|
1715
|
+
* Get the spoken-word transcript of any public Facebook video post by URL as normalized JSON at a.
|
|
1276
1716
|
*
|
|
1277
1717
|
* Price: $0.002 per request.
|
|
1278
1718
|
*
|
|
@@ -1298,7 +1738,7 @@ var FacebookNamespace = class {
|
|
|
1298
1738
|
/**
|
|
1299
1739
|
* Facebook Page Events
|
|
1300
1740
|
*
|
|
1301
|
-
* List upcoming and past events hosted by any public Facebook page by URL - name, schedule, venue, and host - as normalized JSON at a
|
|
1741
|
+
* List upcoming and past events hosted by any public Facebook page by URL - name, schedule, venue, and host - as normalized JSON at a.
|
|
1302
1742
|
*
|
|
1303
1743
|
* Price: $0.002 per request.
|
|
1304
1744
|
*
|
|
@@ -1353,7 +1793,7 @@ var FacebookNamespace = class {
|
|
|
1353
1793
|
/**
|
|
1354
1794
|
* Facebook Company Search
|
|
1355
1795
|
*
|
|
1356
|
-
* Search the Meta Ad Library for advertisers by keyword and get matching pages - page ID, category, verification, follower counts, and linked Instagram
|
|
1796
|
+
* Search the Meta Ad Library for advertisers by keyword and get matching pages - page ID, category, verification, follower counts, and linked Instagram.
|
|
1357
1797
|
*
|
|
1358
1798
|
* Price: $0.002 per request.
|
|
1359
1799
|
*
|
|
@@ -1366,9 +1806,9 @@ var FacebookNamespace = class {
|
|
|
1366
1806
|
/**
|
|
1367
1807
|
* Facebook Page Search
|
|
1368
1808
|
*
|
|
1369
|
-
* Search Facebook Pages by keyword, optionally narrowed to a location, and get structured page profiles (name, category, followers, contact details) at a
|
|
1809
|
+
* Search Facebook Pages by keyword, optionally narrowed to a location, and get structured page profiles (name, category, followers, contact details) at a.
|
|
1370
1810
|
*
|
|
1371
|
-
* Price: $0.001 per request plus $0.011 per result.
|
|
1811
|
+
* Price: $0.001 per request plus $0.011 per result (maximum $0.111).
|
|
1372
1812
|
*
|
|
1373
1813
|
* @example
|
|
1374
1814
|
* const res = await client.facebook.searchPages({ query: "nike", limit: 3 });
|
|
@@ -1379,9 +1819,9 @@ var FacebookNamespace = class {
|
|
|
1379
1819
|
/**
|
|
1380
1820
|
* Facebook Post Search
|
|
1381
1821
|
*
|
|
1382
|
-
* Search public Facebook posts by keyword, optionally filtered by location, and get structured post records (text, author, engagement)
|
|
1822
|
+
* Search public Facebook posts by keyword, optionally filtered by location, and get structured post records (text, author, engagement).
|
|
1383
1823
|
*
|
|
1384
|
-
* Price: $0.003 per result.
|
|
1824
|
+
* Price: $0 per request plus $0.003 per result (maximum $0.06).
|
|
1385
1825
|
*
|
|
1386
1826
|
* @example
|
|
1387
1827
|
* const res = await client.facebook.searchPosts({ query: "nike", limit: 3 });
|
|
@@ -1400,9 +1840,9 @@ var FiverrNamespace = class {
|
|
|
1400
1840
|
/**
|
|
1401
1841
|
* Fiverr Gig Search
|
|
1402
1842
|
*
|
|
1403
|
-
* Extract Fiverr gig listings from any search or category URL - titles, sellers, ratings, and pricing as structured JSON
|
|
1843
|
+
* Extract Fiverr gig listings from any search or category URL - titles, sellers, ratings, and pricing as structured JSON.
|
|
1404
1844
|
*
|
|
1405
|
-
* Price: $0.0015 per result.
|
|
1845
|
+
* Price: $0 per request plus $0.0015 per result (maximum $0.03).
|
|
1406
1846
|
*
|
|
1407
1847
|
* @example
|
|
1408
1848
|
* const res = await client.fiverr.search({ url: "https://www.fiverr.com/search/gigs?query=logo%20design", limit: 3 });
|
|
@@ -1623,12 +2063,12 @@ var GlassdoorNamespace = class {
|
|
|
1623
2063
|
/**
|
|
1624
2064
|
* Glassdoor Jobs
|
|
1625
2065
|
*
|
|
1626
|
-
*
|
|
2066
|
+
* Search Glassdoor job listings by keyword and location, or scrape any Glassdoor company or job search page URL - up to 20 normalized job records per request.
|
|
1627
2067
|
*
|
|
1628
|
-
* Price: $0.005 per request plus $0.00475 per result.
|
|
2068
|
+
* Price: $0.005 per request plus $0.00475 per result (maximum $0.1).
|
|
1629
2069
|
*
|
|
1630
2070
|
* @example
|
|
1631
|
-
* const res = await client.glassdoor.jobs({
|
|
2071
|
+
* const res = await client.glassdoor.jobs({ limit: 3, location: "United States", postedLimit: "month", query: "software engineer" });
|
|
1632
2072
|
*/
|
|
1633
2073
|
jobs(input, options) {
|
|
1634
2074
|
return this._core.run("glassdoor.jobs", input, options);
|
|
@@ -1641,45 +2081,110 @@ var GoogleNamespace = class {
|
|
|
1641
2081
|
this._core = _core;
|
|
1642
2082
|
}
|
|
1643
2083
|
_core;
|
|
2084
|
+
/**
|
|
2085
|
+
* Google Autocomplete
|
|
2086
|
+
*
|
|
2087
|
+
* Get Google search autocomplete suggestions for a partial query (keyword ideas).
|
|
2088
|
+
*
|
|
2089
|
+
* Price: $0.00099 per request.
|
|
2090
|
+
*
|
|
2091
|
+
* @example
|
|
2092
|
+
* const res = await client.google.autocomplete({ query: "best coff" });
|
|
2093
|
+
*/
|
|
2094
|
+
autocomplete(input, options) {
|
|
2095
|
+
return this._core.run("google.autocomplete", input, options);
|
|
2096
|
+
}
|
|
1644
2097
|
/**
|
|
1645
2098
|
* Google Images
|
|
1646
2099
|
*
|
|
1647
|
-
* Run a Google Images search and get structured results - image URLs, dimensions, titles, and source pages
|
|
2100
|
+
* Run a Google Images search and get structured results - image URLs, dimensions, titles, and source pages.
|
|
1648
2101
|
*
|
|
1649
|
-
* Price: $0.
|
|
2102
|
+
* Price: $0.00099 per request plus $0.00009 per result (maximum $0.00198).
|
|
1650
2103
|
*
|
|
1651
2104
|
* @example
|
|
1652
|
-
* const res = await client.google.images({ query: "golden retriever", limit: 5 });
|
|
2105
|
+
* const res = await client.google.images({ query: "golden retriever", gl: "us", hl: "en", limit: 5 });
|
|
1653
2106
|
*/
|
|
1654
2107
|
images(input, options) {
|
|
1655
2108
|
return this._core.run("google.images", input, options);
|
|
1656
2109
|
}
|
|
2110
|
+
/**
|
|
2111
|
+
* Google Lens
|
|
2112
|
+
*
|
|
2113
|
+
* Reverse image search: find web pages and visual matches for an image URL.
|
|
2114
|
+
*
|
|
2115
|
+
* Price: $0.00297 per request.
|
|
2116
|
+
*
|
|
2117
|
+
* @example
|
|
2118
|
+
* const res = await client.google.lens({ url: "https://i.imgur.com/HBrB8p0.png" });
|
|
2119
|
+
*/
|
|
2120
|
+
lens(input, options) {
|
|
2121
|
+
return this._core.run("google.lens", input, options);
|
|
2122
|
+
}
|
|
1657
2123
|
/**
|
|
1658
2124
|
* Google News
|
|
1659
2125
|
*
|
|
1660
|
-
* Search Google News by keyword and get fresh articles - headlines, sources, links, and publish times - as clean JSON
|
|
2126
|
+
* Search Google News by keyword and get fresh articles - headlines, sources, links, and publish times - as clean JSON.
|
|
1661
2127
|
*
|
|
1662
|
-
* Price: $0.
|
|
2128
|
+
* Price: $0.00099 per request.
|
|
1663
2129
|
*
|
|
1664
2130
|
* @example
|
|
1665
|
-
* const res = await client.google.news({ query: "openai",
|
|
2131
|
+
* const res = await client.google.news({ query: "openai", gl: "us", hl: "en" });
|
|
1666
2132
|
*/
|
|
1667
2133
|
news(input, options) {
|
|
1668
2134
|
return this._core.run("google.news", input, options);
|
|
1669
2135
|
}
|
|
2136
|
+
/**
|
|
2137
|
+
* Google Patents
|
|
2138
|
+
*
|
|
2139
|
+
* Search Google Patents with title, patent number, inventor, assignee, key dates, and PDF link.
|
|
2140
|
+
*
|
|
2141
|
+
* Price: $0.00099 per request.
|
|
2142
|
+
*
|
|
2143
|
+
* @example
|
|
2144
|
+
* const res = await client.google.patents({ query: "wireless charging" });
|
|
2145
|
+
*/
|
|
2146
|
+
patents(input, options) {
|
|
2147
|
+
return this._core.run("google.patents", input, options);
|
|
2148
|
+
}
|
|
2149
|
+
/**
|
|
2150
|
+
* Google Scholar
|
|
2151
|
+
*
|
|
2152
|
+
* Search Google Scholar for academic papers with title, authors, citation count, and PDF link.
|
|
2153
|
+
*
|
|
2154
|
+
* Price: $0.00099 per request.
|
|
2155
|
+
*
|
|
2156
|
+
* @example
|
|
2157
|
+
* const res = await client.google.scholar({ query: "attention is all you need" });
|
|
2158
|
+
*/
|
|
2159
|
+
scholar(input, options) {
|
|
2160
|
+
return this._core.run("google.scholar", input, options);
|
|
2161
|
+
}
|
|
1670
2162
|
/**
|
|
1671
2163
|
* Google Search
|
|
1672
2164
|
*
|
|
1673
|
-
* Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON.
|
|
2165
|
+
* Run a Google web search and get the organic results (title, link, snippet, position) as clean JSON.
|
|
1674
2166
|
*
|
|
1675
2167
|
* Price: $0.00099 per request.
|
|
1676
2168
|
*
|
|
1677
2169
|
* @example
|
|
1678
|
-
* const res = await client.google.search({ query: "best coffee maker" });
|
|
2170
|
+
* const res = await client.google.search({ query: "best coffee maker", gl: "us", hl: "en", limit: 10 });
|
|
1679
2171
|
*/
|
|
1680
2172
|
search(input, options) {
|
|
1681
2173
|
return this._core.run("google.search", input, options);
|
|
1682
2174
|
}
|
|
2175
|
+
/**
|
|
2176
|
+
* Google Videos
|
|
2177
|
+
*
|
|
2178
|
+
* Search Google for video results (YouTube and others) with title, link, thumbnail, and source.
|
|
2179
|
+
*
|
|
2180
|
+
* Price: $0.00099 per request.
|
|
2181
|
+
*
|
|
2182
|
+
* @example
|
|
2183
|
+
* const res = await client.google.videos({ query: "lofi hip hop", gl: "us", hl: "en" });
|
|
2184
|
+
*/
|
|
2185
|
+
videos(input, options) {
|
|
2186
|
+
return this._core.run("google.videos", input, options);
|
|
2187
|
+
}
|
|
1683
2188
|
};
|
|
1684
2189
|
|
|
1685
2190
|
// src/generated/platforms/google_ads.ts
|
|
@@ -1691,7 +2196,7 @@ var GoogleAdsNamespace = class {
|
|
|
1691
2196
|
/**
|
|
1692
2197
|
* Google Ads Ad Details
|
|
1693
2198
|
*
|
|
1694
|
-
* Look up a single Google Ads Transparency Center creative by URL and get its format, run dates, impression range, regions, and creative variations as clean JSON
|
|
2199
|
+
* Look up a single Google Ads Transparency Center creative by URL and get its format, run dates, impression range, regions, and creative variations as clean JSON.
|
|
1695
2200
|
*
|
|
1696
2201
|
* Price: $0.002 per request.
|
|
1697
2202
|
*
|
|
@@ -1704,7 +2209,7 @@ var GoogleAdsNamespace = class {
|
|
|
1704
2209
|
/**
|
|
1705
2210
|
* Google Ads Advertiser Search
|
|
1706
2211
|
*
|
|
1707
|
-
* Search the Google Ads Transparency Center for advertisers by keyword and get matching advertiser IDs, regions, and estimated ad counts as clean JSON
|
|
2212
|
+
* Search the Google Ads Transparency Center for advertisers by keyword and get matching advertiser IDs, regions, and estimated ad counts as clean JSON.
|
|
1708
2213
|
*
|
|
1709
2214
|
* Price: $0.002 per request.
|
|
1710
2215
|
*
|
|
@@ -1717,7 +2222,7 @@ var GoogleAdsNamespace = class {
|
|
|
1717
2222
|
/**
|
|
1718
2223
|
* Google Ads Company Ads
|
|
1719
2224
|
*
|
|
1720
|
-
* 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
|
|
2225
|
+
* 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.
|
|
1721
2226
|
*
|
|
1722
2227
|
* Price: $0.002 per request.
|
|
1723
2228
|
*
|
|
@@ -1746,9 +2251,9 @@ var GoogleAdsNamespace = class {
|
|
|
1746
2251
|
/**
|
|
1747
2252
|
* Google Ads Transparency
|
|
1748
2253
|
*
|
|
1749
|
-
* Pull the ads an advertiser is currently running from the Google Ads Transparency Center - creative details, formats, and run dates - as clean JSON
|
|
2254
|
+
* Pull the ads an advertiser is currently running from the Google Ads Transparency Center - creative details, formats, and run dates - as clean JSON.
|
|
1750
2255
|
*
|
|
1751
|
-
* Price: $0.00005 per request plus $0.0013 per result.
|
|
2256
|
+
* Price: $0.00005 per request plus $0.0013 per result (maximum $0.02605).
|
|
1752
2257
|
*
|
|
1753
2258
|
* @example
|
|
1754
2259
|
* const res = await client.googleAds.search({ url: "https://adstransparency.google.com/?region=US&domain=nike.com", limit: 3 });
|
|
@@ -1767,9 +2272,9 @@ var GoogleFinanceNamespace = class {
|
|
|
1767
2272
|
/**
|
|
1768
2273
|
* Google Finance Quote
|
|
1769
2274
|
*
|
|
1770
|
-
* Fetch a live quote for any stock, index, ETF, mutual fund, currency pair, or crypto symbol: name, current price, the absolute and percent change on the day, quote currency, exchange and market state, plus intraday and reference figures (open, day high/low, previous close, volume, market cap, and the 52-week range)
|
|
2275
|
+
* Fetch a live quote for any stock, index, ETF, mutual fund, currency pair, or crypto symbol: name, current price, the absolute and percent change on the day, quote currency, exchange and market state, plus intraday and reference figures (open, day high/low, previous close, volume, market cap, and the 52-week range).
|
|
1771
2276
|
*
|
|
1772
|
-
* Price: $0.0005 per request plus $0.0015 per result.
|
|
2277
|
+
* Price: $0.0005 per request plus $0.0015 per result (maximum $0.002).
|
|
1773
2278
|
*
|
|
1774
2279
|
* @example
|
|
1775
2280
|
* const res = await client.googleFinance.quote({ symbol: "AAPL:NASDAQ" });
|
|
@@ -1788,7 +2293,7 @@ var GoogleShoppingNamespace = class {
|
|
|
1788
2293
|
/**
|
|
1789
2294
|
* Google Shopping Search
|
|
1790
2295
|
*
|
|
1791
|
-
* Search Google Shopping by keyword and get up to 10 product offers - title, price, store, rating, and link - localized by country and language
|
|
2296
|
+
* Search Google Shopping by keyword and get up to 10 product offers - title, price, store, rating, and link - localized by country and language.
|
|
1792
2297
|
*
|
|
1793
2298
|
* Price: $0.01625 per request.
|
|
1794
2299
|
*
|
|
@@ -1809,7 +2314,7 @@ var HackernewsNamespace = class {
|
|
|
1809
2314
|
/**
|
|
1810
2315
|
* Hacker News Profile
|
|
1811
2316
|
*
|
|
1812
|
-
* Get a Hacker News user's public profile by username - karma, bio, and account details as clean JSON
|
|
2317
|
+
* Get a Hacker News user's public profile by username - karma, bio, and account details as clean JSON.
|
|
1813
2318
|
*
|
|
1814
2319
|
* Price: $0.00325 per request.
|
|
1815
2320
|
*
|
|
@@ -1822,7 +2327,7 @@ var HackernewsNamespace = class {
|
|
|
1822
2327
|
/**
|
|
1823
2328
|
* Hacker News Search
|
|
1824
2329
|
*
|
|
1825
|
-
* Search Hacker News by keyword - matching stories with title, link, author, points, and comment count as clean JSON
|
|
2330
|
+
* Search Hacker News by keyword - matching stories with title, link, author, points, and comment count as clean JSON.
|
|
1826
2331
|
*
|
|
1827
2332
|
* Price: $0.00325 per request.
|
|
1828
2333
|
*
|
|
@@ -1835,7 +2340,7 @@ var HackernewsNamespace = class {
|
|
|
1835
2340
|
/**
|
|
1836
2341
|
* Hacker News Story
|
|
1837
2342
|
*
|
|
1838
|
-
* Get a Hacker News story by id - title, link, author, points, and comment count as clean JSON
|
|
2343
|
+
* Get a Hacker News story by id - title, link, author, points, and comment count as clean JSON.
|
|
1839
2344
|
*
|
|
1840
2345
|
* Price: $0.00325 per request.
|
|
1841
2346
|
*
|
|
@@ -1848,7 +2353,7 @@ var HackernewsNamespace = class {
|
|
|
1848
2353
|
/**
|
|
1849
2354
|
* Hacker News Story Comments
|
|
1850
2355
|
*
|
|
1851
|
-
* List the comments on a Hacker News story by id - text, author, and timestamp as clean JSON
|
|
2356
|
+
* List the comments on a Hacker News story by id - text, author, and timestamp as clean JSON.
|
|
1852
2357
|
*
|
|
1853
2358
|
* Price: $0.00325 per request.
|
|
1854
2359
|
*
|
|
@@ -1869,9 +2374,9 @@ var IndeedNamespace = class {
|
|
|
1869
2374
|
/**
|
|
1870
2375
|
* Indeed Jobs
|
|
1871
2376
|
*
|
|
1872
|
-
* Search Indeed job listings by keyword, location, and country - up to 20 normalized job records per request
|
|
2377
|
+
* Search Indeed job listings by keyword, location, and country - up to 20 normalized job records per request.
|
|
1873
2378
|
*
|
|
1874
|
-
* Price: $0.0008 per request plus $0.00008 per result.
|
|
2379
|
+
* Price: $0.0008 per request plus $0.00008 per result (maximum $0.0024).
|
|
1875
2380
|
*
|
|
1876
2381
|
* @example
|
|
1877
2382
|
* const res = await client.indeed.jobs({ query: "data analyst", limit: 3, location: "Austin, TX" });
|
|
@@ -1945,7 +2450,7 @@ var InstagramNamespace = class {
|
|
|
1945
2450
|
/**
|
|
1946
2451
|
* Instagram Followers
|
|
1947
2452
|
*
|
|
1948
|
-
* List the followers of any public Instagram account by username - follower usernames, names, and profile details
|
|
2453
|
+
* List the followers of any public Instagram account by username - follower usernames, names, and profile details.
|
|
1949
2454
|
*
|
|
1950
2455
|
* Price: $0.01625 per request.
|
|
1951
2456
|
*
|
|
@@ -1974,7 +2479,7 @@ var InstagramNamespace = class {
|
|
|
1974
2479
|
/**
|
|
1975
2480
|
* Instagram Following
|
|
1976
2481
|
*
|
|
1977
|
-
* List the accounts a public Instagram user follows - usernames, names, and profile details
|
|
2482
|
+
* List the accounts a public Instagram user follows - usernames, names, and profile details.
|
|
1978
2483
|
*
|
|
1979
2484
|
* Price: $0.01625 per request.
|
|
1980
2485
|
*
|
|
@@ -2003,9 +2508,9 @@ var InstagramNamespace = class {
|
|
|
2003
2508
|
/**
|
|
2004
2509
|
* Instagram Hashtag Analytics
|
|
2005
2510
|
*
|
|
2006
|
-
* Get analytics for any Instagram hashtag - total post count, related hashtags, and usage signals - normalized
|
|
2511
|
+
* Get analytics for any Instagram hashtag - total post count, related hashtags, and usage signals - normalized.
|
|
2007
2512
|
*
|
|
2008
|
-
* Price: $0.001 per request plus $0.0017 per result.
|
|
2513
|
+
* Price: $0.001 per request plus $0.0017 per result (maximum $0.035).
|
|
2009
2514
|
*
|
|
2010
2515
|
* @example
|
|
2011
2516
|
* const res = await client.instagram.hashtagAnalytics({ hashtag: "travel", limit: 5 });
|
|
@@ -2081,9 +2586,9 @@ var InstagramNamespace = class {
|
|
|
2081
2586
|
/**
|
|
2082
2587
|
* Instagram Reel Transcript
|
|
2083
2588
|
*
|
|
2084
|
-
* Turn any public Instagram reel or video post into a full speech transcript, with optional word-level timestamps
|
|
2589
|
+
* Turn any public Instagram reel or video post into a full speech transcript, with optional word-level timestamps.
|
|
2085
2590
|
*
|
|
2086
|
-
* Price: $0.005 per request plus $0.02 per result.
|
|
2591
|
+
* Price: $0.005 per request plus $0.02 per result (maximum $0.025).
|
|
2087
2592
|
*
|
|
2088
2593
|
* @example
|
|
2089
2594
|
* const res = await client.instagram.reelTranscript({ url: "https://www.instagram.com/reel/DWzrfE2kaY8/", wordTimestamps: false });
|
|
@@ -2107,7 +2612,7 @@ var InstagramNamespace = class {
|
|
|
2107
2612
|
/**
|
|
2108
2613
|
* Instagram Search
|
|
2109
2614
|
*
|
|
2110
|
-
* Search Instagram for users, hashtags, or places by keyword and get matching results with names, counts, and links
|
|
2615
|
+
* Search Instagram for users, hashtags, or places by keyword and get matching results with names, counts, and links.
|
|
2111
2616
|
*
|
|
2112
2617
|
* Price: $0.00325 per request.
|
|
2113
2618
|
*
|
|
@@ -2162,9 +2667,9 @@ var InstagramNamespace = class {
|
|
|
2162
2667
|
/**
|
|
2163
2668
|
* Instagram Stories (full)
|
|
2164
2669
|
*
|
|
2165
|
-
* Fetch public Instagram accounts' currently live stories with the full record - media (image and video), type, dimensions, posting time, 24h expiry, and caption.
|
|
2670
|
+
* Fetch public Instagram accounts' currently live stories with the full record - media (image and video), type, dimensions, posting time, 24h expiry, and caption. Up to 100 usernames per request.
|
|
2166
2671
|
*
|
|
2167
|
-
* Price: $0.099 per request plus $0.003 per username.
|
|
2672
|
+
* Price: $0.099 per request plus $0.003 per username (maximum $0.102).
|
|
2168
2673
|
*
|
|
2169
2674
|
* @example
|
|
2170
2675
|
* const res = await client.instagram.storiesFull({ usernames: ["natgeo"] });
|
|
@@ -2280,7 +2785,7 @@ var LinkedinNamespace = class {
|
|
|
2280
2785
|
/**
|
|
2281
2786
|
* LinkedIn Ad Details
|
|
2282
2787
|
*
|
|
2283
|
-
* Look up a single LinkedIn Ad Library ad by URL and get the advertiser, headline, creative text, format, CTA, targeting, run dates, and impressions as clean JSON
|
|
2788
|
+
* Look up a single LinkedIn Ad Library ad by URL and get the advertiser, headline, creative text, format, CTA, targeting, run dates, and impressions as clean JSON.
|
|
2284
2789
|
*
|
|
2285
2790
|
* Price: $0.002 per request.
|
|
2286
2791
|
*
|
|
@@ -2293,9 +2798,9 @@ var LinkedinNamespace = class {
|
|
|
2293
2798
|
/**
|
|
2294
2799
|
* LinkedIn Ads Library
|
|
2295
2800
|
*
|
|
2296
|
-
* Search the LinkedIn Ad Library by search URL and list the matching ads (advertiser, creative text, format)
|
|
2801
|
+
* Search the LinkedIn Ad Library by search URL and list the matching ads (advertiser, creative text, format).
|
|
2297
2802
|
*
|
|
2298
|
-
* Price: $0.00005 per request plus $0.0015 per result.
|
|
2803
|
+
* Price: $0.00005 per request plus $0.0015 per result (maximum $0.03005).
|
|
2299
2804
|
*
|
|
2300
2805
|
* @example
|
|
2301
2806
|
* const res = await client.linkedin.ads({ url: "https://www.linkedin.com/company/stripe", limit: 3 });
|
|
@@ -2306,7 +2811,7 @@ var LinkedinNamespace = class {
|
|
|
2306
2811
|
/**
|
|
2307
2812
|
* LinkedIn Ad Search
|
|
2308
2813
|
*
|
|
2309
|
-
* Search the LinkedIn Ad Library by company or keyword and list matching ads - advertiser, headline, creative text, format, CTA, and run dates - with pagination
|
|
2814
|
+
* Search the LinkedIn Ad Library by company or keyword and list matching ads - advertiser, headline, creative text, format, CTA, and run dates - with pagination.
|
|
2310
2815
|
*
|
|
2311
2816
|
* Price: $0.002 per request.
|
|
2312
2817
|
*
|
|
@@ -2319,9 +2824,9 @@ var LinkedinNamespace = class {
|
|
|
2319
2824
|
/**
|
|
2320
2825
|
* LinkedIn Company
|
|
2321
2826
|
*
|
|
2322
|
-
* Fetch a LinkedIn company page
|
|
2827
|
+
* Fetch a full LinkedIn company page by URL: name, description, industry, employee count and range, follower count, founded year, headquarters and office locations, funding data, tagline, logo, website, and specialities.
|
|
2323
2828
|
*
|
|
2324
|
-
* Price: $0.
|
|
2829
|
+
* Price: $0.004 per request plus $0 per result (maximum $0.004).
|
|
2325
2830
|
*
|
|
2326
2831
|
* @example
|
|
2327
2832
|
* const res = await client.linkedin.company({ url: "https://www.linkedin.com/company/stripe" });
|
|
@@ -2332,9 +2837,9 @@ var LinkedinNamespace = class {
|
|
|
2332
2837
|
/**
|
|
2333
2838
|
* LinkedIn Company Employees
|
|
2334
2839
|
*
|
|
2335
|
-
* List the employees of a LinkedIn company by name or company URL, with optional job-title filtering
|
|
2840
|
+
* List the employees of a LinkedIn company by name or company URL, with optional job-title filtering.
|
|
2336
2841
|
*
|
|
2337
|
-
* Price: $0.01 per result.
|
|
2842
|
+
* Price: $0 per request plus $0.01 per result (maximum $0.1).
|
|
2338
2843
|
*
|
|
2339
2844
|
* @example
|
|
2340
2845
|
* const res = await client.linkedin.companyEmployees({ company: "stripe", limit: 3 });
|
|
@@ -2345,22 +2850,48 @@ var LinkedinNamespace = class {
|
|
|
2345
2850
|
/**
|
|
2346
2851
|
* LinkedIn Company Posts
|
|
2347
2852
|
*
|
|
2348
|
-
* List a LinkedIn company page's recent posts by URL
|
|
2853
|
+
* List a LinkedIn company page's recent posts by URL: full text, canonical link, publish date, author, engagement counts with a per-reaction breakdown, and attached media.
|
|
2349
2854
|
*
|
|
2350
|
-
* Price: $0.
|
|
2855
|
+
* Price: $0.00005 per request plus $0.00175 per result (maximum $0.08755).
|
|
2351
2856
|
*
|
|
2352
2857
|
* @example
|
|
2353
|
-
* const res = await client.linkedin.companyPosts({ url: "https://www.linkedin.com/company/stripe" });
|
|
2858
|
+
* const res = await client.linkedin.companyPosts({ url: "https://www.linkedin.com/company/stripe", limit: 10 });
|
|
2354
2859
|
*/
|
|
2355
2860
|
companyPosts(input, options) {
|
|
2356
2861
|
return this._core.run("linkedin.company_posts", input, options);
|
|
2357
2862
|
}
|
|
2863
|
+
/**
|
|
2864
|
+
* LinkedIn Company Posts (basic)
|
|
2865
|
+
*
|
|
2866
|
+
* Post text and link only. No engagement counts, author details, media, or reaction breakdown - for those use linkedin.company_posts.
|
|
2867
|
+
*
|
|
2868
|
+
* Price: $0.002 per request.
|
|
2869
|
+
*
|
|
2870
|
+
* @example
|
|
2871
|
+
* const res = await client.linkedin.companyPostsThin({ url: "https://www.linkedin.com/company/stripe" });
|
|
2872
|
+
*/
|
|
2873
|
+
companyPostsThin(input, options) {
|
|
2874
|
+
return this._core.run("linkedin.company_posts_thin", input, options);
|
|
2875
|
+
}
|
|
2876
|
+
/**
|
|
2877
|
+
* LinkedIn Company (basic)
|
|
2878
|
+
*
|
|
2879
|
+
* Basic company: name, description, employee count, industry, logo, website, tagline. No follower count, founded year, office locations, or funding data - for those use linkedin.company.
|
|
2880
|
+
*
|
|
2881
|
+
* Price: $0.002 per request.
|
|
2882
|
+
*
|
|
2883
|
+
* @example
|
|
2884
|
+
* const res = await client.linkedin.companyThin({ url: "https://www.linkedin.com/company/stripe" });
|
|
2885
|
+
*/
|
|
2886
|
+
companyThin(input, options) {
|
|
2887
|
+
return this._core.run("linkedin.company_thin", input, options);
|
|
2888
|
+
}
|
|
2358
2889
|
/**
|
|
2359
2890
|
* LinkedIn Email Finder
|
|
2360
2891
|
*
|
|
2361
|
-
* Find the
|
|
2892
|
+
* Find the deliverability-validated work email behind a LinkedIn profile URL or public ID. Returns each discovered email with its deliverability, validation status, and quality score, plus the person's name and headline.
|
|
2362
2893
|
*
|
|
2363
|
-
* Price: $0.
|
|
2894
|
+
* Price: $0.01 per request plus $0 per result (maximum $0.01).
|
|
2364
2895
|
*
|
|
2365
2896
|
* @example
|
|
2366
2897
|
* const res = await client.linkedin.email({ profileUrl: "https://www.linkedin.com/in/satyanadella" });
|
|
@@ -2371,16 +2902,29 @@ var LinkedinNamespace = class {
|
|
|
2371
2902
|
/**
|
|
2372
2903
|
* LinkedIn Jobs
|
|
2373
2904
|
*
|
|
2374
|
-
* Search LinkedIn job listings by title and location -
|
|
2905
|
+
* Search LinkedIn job listings by title and location - full records with description, salary, applicant count, seniority, company details, and benefits. Up to 25 jobs per request.
|
|
2375
2906
|
*
|
|
2376
|
-
* Price: $0.001 per request.
|
|
2907
|
+
* Price: $0.001 per request plus $0.001 per result (maximum $0.026).
|
|
2377
2908
|
*
|
|
2378
2909
|
* @example
|
|
2379
|
-
* const res = await client.linkedin.jobs({ query: "software engineer", limit: 3, location: "
|
|
2910
|
+
* const res = await client.linkedin.jobs({ query: "software engineer", limit: 3, location: "United States", workplaceType: "remote" });
|
|
2380
2911
|
*/
|
|
2381
2912
|
jobs(input, options) {
|
|
2382
2913
|
return this._core.run("linkedin.jobs", input, options);
|
|
2383
2914
|
}
|
|
2915
|
+
/**
|
|
2916
|
+
* LinkedIn Jobs (index)
|
|
2917
|
+
*
|
|
2918
|
+
* Cheap job index: title, company, location, posted date, URL. No description, salary, applicant counts, or seniority - for those use linkedin.jobs.
|
|
2919
|
+
*
|
|
2920
|
+
* Price: $0.001 per request.
|
|
2921
|
+
*
|
|
2922
|
+
* @example
|
|
2923
|
+
* const res = await client.linkedin.jobsThin({ query: "software engineer", limit: 3, location: "United States", workplaceType: "remote" });
|
|
2924
|
+
*/
|
|
2925
|
+
jobsThin(input, options) {
|
|
2926
|
+
return this._core.run("linkedin.jobs_thin", input, options);
|
|
2927
|
+
}
|
|
2384
2928
|
/**
|
|
2385
2929
|
* LinkedIn Post
|
|
2386
2930
|
*
|
|
@@ -2395,37 +2939,76 @@ var LinkedinNamespace = class {
|
|
|
2395
2939
|
return this._core.run("linkedin.post", input, options);
|
|
2396
2940
|
}
|
|
2397
2941
|
/**
|
|
2398
|
-
* LinkedIn Post
|
|
2942
|
+
* LinkedIn Post Comments
|
|
2399
2943
|
*
|
|
2400
|
-
*
|
|
2944
|
+
* List comments on a LinkedIn post - full text, commenter name/URL/job title, timestamps, and engagement.
|
|
2401
2945
|
*
|
|
2402
|
-
* Price: $0.002 per
|
|
2946
|
+
* Price: $0 per request plus $0.002 per result (maximum $0.2).
|
|
2403
2947
|
*
|
|
2404
2948
|
* @example
|
|
2405
|
-
* const res = await client.linkedin.
|
|
2949
|
+
* const res = await client.linkedin.postComments({ url: "https://www.linkedin.com/posts/stripe_philip-kl%C3%B6ckner-in-conversation-with-conor-activity-7477791740645564416-tIbZ", limit: 10 });
|
|
2406
2950
|
*/
|
|
2407
|
-
|
|
2408
|
-
return this._core.run("linkedin.
|
|
2951
|
+
postComments(input, options) {
|
|
2952
|
+
return this._core.run("linkedin.post_comments", input, options);
|
|
2409
2953
|
}
|
|
2410
2954
|
/**
|
|
2411
|
-
* LinkedIn
|
|
2955
|
+
* LinkedIn Post Reactions
|
|
2412
2956
|
*
|
|
2413
|
-
*
|
|
2957
|
+
* List who reacted to a LinkedIn post - reactor name, profile URL, job title, and reaction type. Lead-gen grade.
|
|
2414
2958
|
*
|
|
2415
|
-
* Price: $0.002 per
|
|
2959
|
+
* Price: $0 per request plus $0.002 per result (maximum $0.2).
|
|
2416
2960
|
*
|
|
2417
2961
|
* @example
|
|
2418
|
-
* const res = await client.linkedin.
|
|
2962
|
+
* const res = await client.linkedin.postReactions({ url: "https://www.linkedin.com/posts/satyanadella_today-were-bringing-skills-to-copilot-for-activity-7475945433668694017--kvG", limit: 5 });
|
|
2419
2963
|
*/
|
|
2420
|
-
|
|
2421
|
-
return this._core.run("linkedin.
|
|
2964
|
+
postReactions(input, options) {
|
|
2965
|
+
return this._core.run("linkedin.post_reactions", input, options);
|
|
2422
2966
|
}
|
|
2423
2967
|
/**
|
|
2424
|
-
* LinkedIn
|
|
2968
|
+
* LinkedIn Post Transcript
|
|
2425
2969
|
*
|
|
2426
|
-
*
|
|
2970
|
+
* Get the spoken transcript of a LinkedIn video post by URL.
|
|
2427
2971
|
*
|
|
2428
|
-
* Price: $0.
|
|
2972
|
+
* Price: $0.002 per request.
|
|
2973
|
+
*
|
|
2974
|
+
* @example
|
|
2975
|
+
* const res = await client.linkedin.postTranscript({ url: "https://www.linkedin.com/posts/artificial-analysis_gemini-35-flash-is-a-step-forward-for-google-activity-7465082408409870337-4Pm-" });
|
|
2976
|
+
*/
|
|
2977
|
+
postTranscript(input, options) {
|
|
2978
|
+
return this._core.run("linkedin.post_transcript", input, options);
|
|
2979
|
+
}
|
|
2980
|
+
/**
|
|
2981
|
+
* LinkedIn Profile
|
|
2982
|
+
*
|
|
2983
|
+
* Fetch a rich LinkedIn member profile by URL: name, headline, avatar, location, connections and followers, current position, and full work experience with job titles, descriptions, dates, employment/workplace type, and per-role skills, plus education, skills, certifications, honors and awards, languages, projects, publications, and verified/premium/open-to-work flags.
|
|
2984
|
+
*
|
|
2985
|
+
* Price: $0.004 per request plus $0 per result (maximum $0.004).
|
|
2986
|
+
*
|
|
2987
|
+
* @example
|
|
2988
|
+
* const res = await client.linkedin.profile({ url: "https://www.linkedin.com/in/williamhgates" });
|
|
2989
|
+
*/
|
|
2990
|
+
profile(input, options) {
|
|
2991
|
+
return this._core.run("linkedin.profile", input, options);
|
|
2992
|
+
}
|
|
2993
|
+
/**
|
|
2994
|
+
* LinkedIn Profile (basic)
|
|
2995
|
+
*
|
|
2996
|
+
* Lightweight profile: name, avatar, location, followers, and a basic experience/education list (company + dates only, no job titles, descriptions, or skills; past companies may be redacted). For full experience detail, skills, certifications, connections, and verified flags use linkedin.profile.
|
|
2997
|
+
*
|
|
2998
|
+
* Price: $0.002 per request.
|
|
2999
|
+
*
|
|
3000
|
+
* @example
|
|
3001
|
+
* const res = await client.linkedin.profileThin({ url: "https://www.linkedin.com/in/williamhgates" });
|
|
3002
|
+
*/
|
|
3003
|
+
profileThin(input, options) {
|
|
3004
|
+
return this._core.run("linkedin.profile_thin", input, options);
|
|
3005
|
+
}
|
|
3006
|
+
/**
|
|
3007
|
+
* LinkedIn Company Search
|
|
3008
|
+
*
|
|
3009
|
+
* Search LinkedIn companies by keyword with optional location filtering, returning normalized company records.
|
|
3010
|
+
*
|
|
3011
|
+
* Price: $0.001 per request plus $0.004 per result (maximum $0.081).
|
|
2429
3012
|
*
|
|
2430
3013
|
* @example
|
|
2431
3014
|
* const res = await client.linkedin.searchCompanies({ query: "fintech", limit: 3 });
|
|
@@ -2449,16 +3032,42 @@ var LinkedinNamespace = class {
|
|
|
2449
3032
|
/**
|
|
2450
3033
|
* LinkedIn Profile Search
|
|
2451
3034
|
*
|
|
2452
|
-
* Search LinkedIn profiles by keyword with optional location and job-title filters. Each match returns a full profile record: name, headline, location, current position, work experience, and
|
|
3035
|
+
* Search LinkedIn profiles by keyword with optional location and job-title filters. Each match returns a full profile record: name, headline, location, current position, work experience, education, and skills, plus the profile URL, handle, and id. For a cheaper name/headline/URL-only search use linkedin.search_profiles_thin; add emails with linkedin.search_profiles_email.
|
|
2453
3036
|
*
|
|
2454
|
-
* Price: $0.
|
|
3037
|
+
* Price: $0.08 per request plus $0.004 per result (maximum $0.18).
|
|
2455
3038
|
*
|
|
2456
3039
|
* @example
|
|
2457
|
-
* const res = await client.linkedin.searchProfiles({ query: "
|
|
3040
|
+
* const res = await client.linkedin.searchProfiles({ query: "engineer", currentCompanies: ["Google"], limit: 3 });
|
|
2458
3041
|
*/
|
|
2459
3042
|
searchProfiles(input, options) {
|
|
2460
3043
|
return this._core.run("linkedin.search_profiles", input, options);
|
|
2461
3044
|
}
|
|
3045
|
+
/**
|
|
3046
|
+
* LinkedIn Profile Search + Email
|
|
3047
|
+
*
|
|
3048
|
+
* People search returning a full profile AND a verified work email for each hit. Search LinkedIn profiles by keyword with optional location and job-title filters; each match returns the full profile record (name, headline, location, current position, work experience, education, and skills, plus the profile URL, handle, and id) together with an emails array carrying the discovered work email and its deliverability. For a full profile without email use linkedin.search_profiles; for a cheaper name/headline/URL-only search use linkedin.search_profiles_thin.
|
|
3049
|
+
*
|
|
3050
|
+
* Price: $0.08 per request plus $0.009 per result (maximum $0.305).
|
|
3051
|
+
*
|
|
3052
|
+
* @example
|
|
3053
|
+
* const res = await client.linkedin.searchProfilesEmail({ query: "founder", companyHeadcount: ["B"], limit: 5 });
|
|
3054
|
+
*/
|
|
3055
|
+
searchProfilesEmail(input, options) {
|
|
3056
|
+
return this._core.run("linkedin.search_profiles_email", input, options);
|
|
3057
|
+
}
|
|
3058
|
+
/**
|
|
3059
|
+
* LinkedIn Profile Search (basic)
|
|
3060
|
+
*
|
|
3061
|
+
* Cheap people search: name/handle, headline, VANITY profile URL, location. No full profile or email - for full profiles per hit use linkedin.search_profiles, add emails with linkedin.search_profiles_email.
|
|
3062
|
+
*
|
|
3063
|
+
* Price: $0.0325 per request.
|
|
3064
|
+
*
|
|
3065
|
+
* @example
|
|
3066
|
+
* const res = await client.linkedin.searchProfilesThin({ query: "recruiter" });
|
|
3067
|
+
*/
|
|
3068
|
+
searchProfilesThin(input, options) {
|
|
3069
|
+
return this._core.run("linkedin.search_profiles_thin", input, options);
|
|
3070
|
+
}
|
|
2462
3071
|
};
|
|
2463
3072
|
|
|
2464
3073
|
// src/generated/platforms/maps.ts
|
|
@@ -2470,12 +3079,12 @@ var MapsNamespace = class {
|
|
|
2470
3079
|
/**
|
|
2471
3080
|
* Google Maps Contacts
|
|
2472
3081
|
*
|
|
2473
|
-
* Search Google Maps for businesses and enrich each result with contact details
|
|
3082
|
+
* Search Google Maps for businesses and enrich each result with contact details (emails, phones, and social profiles from their websites), up to 20 records per request.
|
|
2474
3083
|
*
|
|
2475
|
-
* Price: $0.00005 per request plus $0.003 per result.
|
|
3084
|
+
* Price: $0.00005 per request plus $0.003 per result (maximum $0.06005).
|
|
2476
3085
|
*
|
|
2477
3086
|
* @example
|
|
2478
|
-
* const res = await client.maps.contacts({ location: "Austin, TX", query: "coffee shop", limit: 3 });
|
|
3087
|
+
* const res = await client.maps.contacts({ location: "Austin, TX", query: "coffee shop", limit: 3, placeMinimumStars: "four", website: "withWebsite" });
|
|
2479
3088
|
*/
|
|
2480
3089
|
contacts(input, options) {
|
|
2481
3090
|
return this._core.run("maps.contacts", input, options);
|
|
@@ -2483,12 +3092,12 @@ var MapsNamespace = class {
|
|
|
2483
3092
|
/**
|
|
2484
3093
|
* Google Maps Place Lookup
|
|
2485
3094
|
*
|
|
2486
|
-
* Look up a place on Google Maps by name or search query (optionally scoped to a location) and get the best-matching place with full details - address, phone, website, rating, hours, and coordinates - as normalized JSON
|
|
3095
|
+
* Look up a place on Google Maps by name or search query (optionally scoped to a location) and get the best-matching place with full details - address, phone, website, rating, hours, and coordinates - as normalized JSON.
|
|
2487
3096
|
*
|
|
2488
|
-
* Price: $0.003 per request plus $0.005 per result.
|
|
3097
|
+
* Price: $0.003 per request plus $0.005 per result (maximum $0.009).
|
|
2489
3098
|
*
|
|
2490
3099
|
* @example
|
|
2491
|
-
* const res = await client.maps.place({ query: "Blue Bottle Coffee", location: "San Francisco, CA" });
|
|
3100
|
+
* const res = await client.maps.place({ query: "Blue Bottle Coffee", location: "San Francisco, CA", website: "withWebsite" });
|
|
2492
3101
|
*/
|
|
2493
3102
|
place(input, options) {
|
|
2494
3103
|
return this._core.run("maps.place", input, options);
|
|
@@ -2496,12 +3105,12 @@ var MapsNamespace = class {
|
|
|
2496
3105
|
/**
|
|
2497
3106
|
* Google Maps Reviews
|
|
2498
3107
|
*
|
|
2499
|
-
* Fetch up to 100 Google Maps reviews for a place by place ID, sorted the way you need, in one
|
|
3108
|
+
* Fetch up to 100 Google Maps reviews for a place by place ID, sorted the way you need, in one normalized response.
|
|
2500
3109
|
*
|
|
2501
|
-
* Price: $0.00005 per request plus $0.0004 per result.
|
|
3110
|
+
* Price: $0.00005 per request plus $0.0004 per result (maximum $0.04005).
|
|
2502
3111
|
*
|
|
2503
3112
|
* @example
|
|
2504
|
-
* const res = await client.maps.reviews({ placeId: "ChIJN1t_tDeuEmsRUsoyG83frY4", limit: 3 });
|
|
3113
|
+
* const res = await client.maps.reviews({ placeId: "ChIJN1t_tDeuEmsRUsoyG83frY4", limit: 3, postedLimit: "year" });
|
|
2505
3114
|
*/
|
|
2506
3115
|
reviews(input, options) {
|
|
2507
3116
|
return this._core.run("maps.reviews", input, options);
|
|
@@ -2509,12 +3118,12 @@ var MapsNamespace = class {
|
|
|
2509
3118
|
/**
|
|
2510
3119
|
* Google Maps Search
|
|
2511
3120
|
*
|
|
2512
|
-
* Search Google Maps for places matching a query and location
|
|
3121
|
+
* Search Google Maps for places matching a query and location: up to 20 normalized place records with ratings, addresses, and contact basics per request.
|
|
2513
3122
|
*
|
|
2514
|
-
* Price: $0.00005 per request plus $0.003 per result.
|
|
3123
|
+
* Price: $0.00005 per request plus $0.003 per result (maximum $0.06005).
|
|
2515
3124
|
*
|
|
2516
3125
|
* @example
|
|
2517
|
-
* const res = await client.maps.search({ location: "Austin, TX", query: "coffee", limit: 3 });
|
|
3126
|
+
* const res = await client.maps.search({ location: "Austin, TX", query: "coffee", limit: 3, placeMinimumStars: "four", website: "withWebsite" });
|
|
2518
3127
|
*/
|
|
2519
3128
|
search(input, options) {
|
|
2520
3129
|
return this._core.run("maps.search", input, options);
|
|
@@ -2530,7 +3139,7 @@ var PandaexpressNamespace = class {
|
|
|
2530
3139
|
/**
|
|
2531
3140
|
* Panda Express Locations
|
|
2532
3141
|
*
|
|
2533
|
-
* Find Panda Express restaurants near a latitude/longitude, sorted by distance, with address, phone, hours availability, and pickup/delivery support.
|
|
3142
|
+
* Find Panda Express restaurants near a latitude/longitude, sorted by distance, with address, phone, hours availability, and pickup/delivery support.
|
|
2534
3143
|
*
|
|
2535
3144
|
* Price: $0.0009 per request.
|
|
2536
3145
|
*
|
|
@@ -2543,7 +3152,7 @@ var PandaexpressNamespace = class {
|
|
|
2543
3152
|
/**
|
|
2544
3153
|
* Panda Express Menu
|
|
2545
3154
|
*
|
|
2546
|
-
* Get the live menu for a Panda Express restaurant by id: categories with item names, descriptions, and USD prices. Pair with Panda Express Locations to resolve a restaurant id.
|
|
3155
|
+
* Get the live menu for a Panda Express restaurant by id: categories with item names, descriptions, and USD prices. Pair with Panda Express Locations to resolve a restaurant id.
|
|
2547
3156
|
*
|
|
2548
3157
|
* Price: $0.0009 per request.
|
|
2549
3158
|
*
|
|
@@ -2556,7 +3165,7 @@ var PandaexpressNamespace = class {
|
|
|
2556
3165
|
/**
|
|
2557
3166
|
* Panda Express Nutrition
|
|
2558
3167
|
*
|
|
2559
|
-
* Look up official Panda Express nutrition facts by item name: serving size, calories, fat, cholesterol, sodium, carbs, fiber, sugars, and protein.
|
|
3168
|
+
* Look up official Panda Express nutrition facts by item name: serving size, calories, fat, cholesterol, sodium, carbs, fiber, sugars, and protein.
|
|
2560
3169
|
*
|
|
2561
3170
|
* Price: $0.006 per request.
|
|
2562
3171
|
*
|
|
@@ -2579,7 +3188,7 @@ var PersonNamespace = class {
|
|
|
2579
3188
|
*
|
|
2580
3189
|
* Skip-trace a person in the US by name, address, phone, or email and get back identity, address, and contact records in normalized JSON.
|
|
2581
3190
|
*
|
|
2582
|
-
* Price: $0.007 per result.
|
|
3191
|
+
* Price: $0 per request plus $0.007 per result (maximum $0.007).
|
|
2583
3192
|
*
|
|
2584
3193
|
* @example
|
|
2585
3194
|
* const res = await client.person.skipTrace({ address: "123 Main St, Austin, TX 78701", name: "John Smith" });
|
|
@@ -2598,7 +3207,7 @@ var PinterestNamespace = class {
|
|
|
2598
3207
|
/**
|
|
2599
3208
|
* Pinterest Search
|
|
2600
3209
|
*
|
|
2601
|
-
* Search Pinterest by keyword and get pin, video, board, or profile results with titles, images, and links
|
|
3210
|
+
* Search Pinterest by keyword and get pin, video, board, or profile results with titles, images, and links.
|
|
2602
3211
|
*
|
|
2603
3212
|
* Price: $0.00325 per request.
|
|
2604
3213
|
*
|
|
@@ -2619,9 +3228,9 @@ var PlaystoreNamespace = class {
|
|
|
2619
3228
|
/**
|
|
2620
3229
|
* Google Play Reviews
|
|
2621
3230
|
*
|
|
2622
|
-
* Fetch Google Play reviews for any Android app by package name or store URL - ratings, review text, dates, and helpfulness votes
|
|
3231
|
+
* Fetch Google Play reviews for any Android app by package name or store URL - ratings, review text, dates, and helpfulness votes.
|
|
2623
3232
|
*
|
|
2624
|
-
* Price: $0.00011 per result.
|
|
3233
|
+
* Price: $0 per request plus $0.00011 per result (maximum $0.011).
|
|
2625
3234
|
*
|
|
2626
3235
|
* @example
|
|
2627
3236
|
* const res = await client.playstore.reviews({ appId: "com.whatsapp", limit: 3 });
|
|
@@ -2640,9 +3249,9 @@ var PolymarketNamespace = class {
|
|
|
2640
3249
|
/**
|
|
2641
3250
|
* Polymarket Markets
|
|
2642
3251
|
*
|
|
2643
|
-
* Discover Polymarket prediction markets - question, outcome prices, volume, liquidity, and end dates - by keyword or sorted by activity, as normalized JSON
|
|
3252
|
+
* Discover Polymarket prediction markets - question, outcome prices, volume, liquidity, and end dates - by keyword or sorted by activity, as normalized JSON.
|
|
2644
3253
|
*
|
|
2645
|
-
* Price: $0.105 per request plus $0.0006 per result.
|
|
3254
|
+
* Price: $0.105 per request plus $0.0006 per result (maximum $0.12).
|
|
2646
3255
|
*
|
|
2647
3256
|
* @example
|
|
2648
3257
|
* const res = await client.polymarket.markets({ query: "election", limit: 10 });
|
|
@@ -2661,12 +3270,12 @@ var RealtorNamespace = class {
|
|
|
2661
3270
|
/**
|
|
2662
3271
|
* Realtor.com Search
|
|
2663
3272
|
*
|
|
2664
|
-
* Search Realtor.com listings by location with optional price filters and get property records (price, address, beds, baths) as normalized JSON
|
|
3273
|
+
* Search Realtor.com listings by location with optional price, property-type, beds/baths, listing-status, and keyword filters and get property records (price, address, beds, baths) as normalized JSON.
|
|
2665
3274
|
*
|
|
2666
|
-
* Price: $0.005 per request plus $0.0015 per result.
|
|
3275
|
+
* Price: $0.005 per request plus $0.0015 per result (maximum $0.0425).
|
|
2667
3276
|
*
|
|
2668
3277
|
* @example
|
|
2669
|
-
* const res = await client.realtor.search({ location: "Austin, TX", limit: 3 });
|
|
3278
|
+
* const res = await client.realtor.search({ location: "Austin, TX", bedsMin: 4, limit: 3, propertyTypes: ["single_family"], searchStatuses: ["pending"] });
|
|
2670
3279
|
*/
|
|
2671
3280
|
search(input, options) {
|
|
2672
3281
|
return this._core.run("realtor.search", input, options);
|
|
@@ -2690,11 +3299,7 @@ var RedditNamespace = class {
|
|
|
2690
3299
|
* const res = await client.reddit.postComments({ url: "https://www.reddit.com/r/IAmA/comments/z1c9z/i_am_barack_obama_president_of_the_united_states/" });
|
|
2691
3300
|
*/
|
|
2692
3301
|
postComments(input, options) {
|
|
2693
|
-
return this._core.run(
|
|
2694
|
-
"reddit.post_comments",
|
|
2695
|
-
input,
|
|
2696
|
-
options
|
|
2697
|
-
);
|
|
3302
|
+
return this._core.run("reddit.post_comments", input, options);
|
|
2698
3303
|
}
|
|
2699
3304
|
/**
|
|
2700
3305
|
* Reddit Post Transcript
|
|
@@ -2720,11 +3325,7 @@ var RedditNamespace = class {
|
|
|
2720
3325
|
* const res = await client.reddit.search({ query: "mechanical keyboard" });
|
|
2721
3326
|
*/
|
|
2722
3327
|
search(input, options) {
|
|
2723
|
-
return this._core.run(
|
|
2724
|
-
"reddit.search",
|
|
2725
|
-
input,
|
|
2726
|
-
options
|
|
2727
|
-
);
|
|
3328
|
+
return this._core.run("reddit.search", input, options);
|
|
2728
3329
|
}
|
|
2729
3330
|
/**
|
|
2730
3331
|
* Iterate every result of Reddit Search across pages.
|
|
@@ -2738,7 +3339,7 @@ var RedditNamespace = class {
|
|
|
2738
3339
|
"reddit.search",
|
|
2739
3340
|
input,
|
|
2740
3341
|
"posts",
|
|
2741
|
-
|
|
3342
|
+
false,
|
|
2742
3343
|
options
|
|
2743
3344
|
);
|
|
2744
3345
|
}
|
|
@@ -2766,11 +3367,7 @@ var RedditNamespace = class {
|
|
|
2766
3367
|
* const res = await client.reddit.subredditPosts({ subreddit: "programming", limit: 5 });
|
|
2767
3368
|
*/
|
|
2768
3369
|
subredditPosts(input, options) {
|
|
2769
|
-
return this._core.run(
|
|
2770
|
-
"reddit.subreddit_posts",
|
|
2771
|
-
input,
|
|
2772
|
-
options
|
|
2773
|
-
);
|
|
3370
|
+
return this._core.run("reddit.subreddit_posts", input, options);
|
|
2774
3371
|
}
|
|
2775
3372
|
/**
|
|
2776
3373
|
* Reddit Subreddit Search
|
|
@@ -2812,9 +3409,9 @@ var RedfinNamespace = class {
|
|
|
2812
3409
|
/**
|
|
2813
3410
|
* Redfin Search
|
|
2814
3411
|
*
|
|
2815
|
-
* Run a Redfin map search by URL and get matching home listings (price, address, beds, baths, status) as normalized JSON
|
|
3412
|
+
* Run a Redfin map search by URL and get matching home listings (price, address, beds, baths, status) as normalized JSON.
|
|
2816
3413
|
*
|
|
2817
|
-
* Price: $0.0027 per request plus $0.00043 per result.
|
|
3414
|
+
* Price: $0.0027 per request plus $0.00043 per result (maximum $0.01345).
|
|
2818
3415
|
*
|
|
2819
3416
|
* @example
|
|
2820
3417
|
* const res = await client.redfin.search({ url: "https://www.redfin.com/city/30818/TX/Austin", limit: 3 });
|
|
@@ -2983,12 +3580,12 @@ var SecNamespace = class {
|
|
|
2983
3580
|
/**
|
|
2984
3581
|
* SEC EDGAR Filings
|
|
2985
3582
|
*
|
|
2986
|
-
* List a public company's SEC EDGAR filings - form type, filing date, accession number, and document links - by ticker, company name, or CIK, with optional form-type and date filters
|
|
3583
|
+
* List a public company's SEC EDGAR filings - form type, filing date, accession number, and document links - by ticker, company name, or CIK, with optional form-type and date filters.
|
|
2987
3584
|
*
|
|
2988
|
-
* Price: $0.002 per request plus $0.0004 per result.
|
|
3585
|
+
* Price: $0.002 per request plus $0.0004 per result (maximum $0.012).
|
|
2989
3586
|
*
|
|
2990
3587
|
* @example
|
|
2991
|
-
* const res = await client.sec.filings({ ticker: "AAPL"
|
|
3588
|
+
* const res = await client.sec.filings({ limit: 3, ticker: "AAPL" });
|
|
2992
3589
|
*/
|
|
2993
3590
|
filings(input, options) {
|
|
2994
3591
|
return this._core.run("sec.filings", input, options);
|
|
@@ -3004,9 +3601,9 @@ var SemrushNamespace = class {
|
|
|
3004
3601
|
/**
|
|
3005
3602
|
* Semrush Keyword Research
|
|
3006
3603
|
*
|
|
3007
|
-
* Semrush keyword research for any term: monthly search volume, CPC, competition, keyword difficulty, plus related keywords and question keywords.
|
|
3604
|
+
* Semrush keyword research for any term: monthly search volume, CPC, competition, keyword difficulty, plus related keywords and question keywords.
|
|
3008
3605
|
*
|
|
3009
|
-
* Price: $0.015 per result.
|
|
3606
|
+
* Price: $0 per request plus $0.015 per result (maximum $0.015).
|
|
3010
3607
|
*
|
|
3011
3608
|
* @example
|
|
3012
3609
|
* const res = await client.semrush.keywords({ keyword: "best running shoes", database: "us" });
|
|
@@ -3017,9 +3614,9 @@ var SemrushNamespace = class {
|
|
|
3017
3614
|
/**
|
|
3018
3615
|
* Semrush Domain Overview
|
|
3019
3616
|
*
|
|
3020
|
-
* a Semrush SEO overview for any domain: Authority Score, organic and paid traffic, keyword and backlink counts, top country, and the domain's top organic keywords.
|
|
3617
|
+
* a Semrush SEO overview for any domain: Authority Score, organic and paid traffic, keyword and backlink counts, top country, and the domain's top organic keywords.
|
|
3021
3618
|
*
|
|
3022
|
-
* Price: $0.015 per result.
|
|
3619
|
+
* Price: $0 per request plus $0.015 per result (maximum $0.015).
|
|
3023
3620
|
*
|
|
3024
3621
|
* @example
|
|
3025
3622
|
* const res = await client.semrush.overview({ domain: "ahrefs.com", database: "us" });
|
|
@@ -3029,6 +3626,170 @@ var SemrushNamespace = class {
|
|
|
3029
3626
|
}
|
|
3030
3627
|
};
|
|
3031
3628
|
|
|
3629
|
+
// src/generated/platforms/seo.ts
|
|
3630
|
+
var SeoNamespace = class {
|
|
3631
|
+
constructor(_core) {
|
|
3632
|
+
this._core = _core;
|
|
3633
|
+
}
|
|
3634
|
+
_core;
|
|
3635
|
+
/**
|
|
3636
|
+
* SEO Competitor Domains
|
|
3637
|
+
*
|
|
3638
|
+
* Get AnyAPI SEO competitor domains for a target domain with shared keyword counts and organic metrics as normalized JSON.
|
|
3639
|
+
*
|
|
3640
|
+
* Price: $0.0156 per request plus $0.00016 per result (maximum $0.1756).
|
|
3641
|
+
*
|
|
3642
|
+
* @example
|
|
3643
|
+
* const res = await client.seo.competitorsDomain({ target: "github.com", language: "en", limit: 10, location: 2840 });
|
|
3644
|
+
*/
|
|
3645
|
+
competitorsDomain(input, options) {
|
|
3646
|
+
return this._core.run("seo.competitors_domain", input, options);
|
|
3647
|
+
}
|
|
3648
|
+
/**
|
|
3649
|
+
* SEO Domain Intersection
|
|
3650
|
+
*
|
|
3651
|
+
* Get AnyAPI SEO keyword overlap for two domains with each domain's rankings, URLs, volume, CPC, and difficulty as normalized JSON.
|
|
3652
|
+
*
|
|
3653
|
+
* Price: $0.0156 per request plus $0.00016 per result (maximum $0.1756).
|
|
3654
|
+
*
|
|
3655
|
+
* @example
|
|
3656
|
+
* const res = await client.seo.domainIntersection({ target1: "github.com", target2: "gitlab.com", language: "en", limit: 10, location: 2840 });
|
|
3657
|
+
*/
|
|
3658
|
+
domainIntersection(input, options) {
|
|
3659
|
+
return this._core.run("seo.domain_intersection", input, options);
|
|
3660
|
+
}
|
|
3661
|
+
/**
|
|
3662
|
+
* SEO Domain Rank Overview
|
|
3663
|
+
*
|
|
3664
|
+
* Get AnyAPI SEO domain ranking, organic traffic, and paid traffic metrics as normalized JSON.
|
|
3665
|
+
*
|
|
3666
|
+
* Price: $0.0156 per request plus $0 per result (maximum $0.0156).
|
|
3667
|
+
*
|
|
3668
|
+
* @example
|
|
3669
|
+
* const res = await client.seo.domainRankOverview({ target: "ahrefs.com", language: "en", location: 2840 });
|
|
3670
|
+
*/
|
|
3671
|
+
domainRankOverview(input, options) {
|
|
3672
|
+
return this._core.run("seo.domain_rank_overview", input, options);
|
|
3673
|
+
}
|
|
3674
|
+
/**
|
|
3675
|
+
* SEO Keyword Difficulty
|
|
3676
|
+
*
|
|
3677
|
+
* Get AnyAPI SEO keyword difficulty scores for one or more keywords as normalized JSON.
|
|
3678
|
+
*
|
|
3679
|
+
* Price: $0.0156 per request plus $0.00016 per keyword (maximum $0.1756).
|
|
3680
|
+
*
|
|
3681
|
+
* @example
|
|
3682
|
+
* const res = await client.seo.keywordDifficulty({ keywords: ["seo tools"], language: "en", location: 2840 });
|
|
3683
|
+
*/
|
|
3684
|
+
keywordDifficulty(input, options) {
|
|
3685
|
+
return this._core.run("seo.keyword_difficulty", input, options);
|
|
3686
|
+
}
|
|
3687
|
+
/**
|
|
3688
|
+
* SEO Keyword Ideas
|
|
3689
|
+
*
|
|
3690
|
+
* Find AnyAPI SEO keyword ideas from seed terms with volume, CPC, competition, difficulty, and intent as normalized JSON.
|
|
3691
|
+
*
|
|
3692
|
+
* Price: $0.0156 per request plus $0.00016 per result (maximum $0.1756).
|
|
3693
|
+
*
|
|
3694
|
+
* @example
|
|
3695
|
+
* const res = await client.seo.keywordIdeas({ keywords: ["project management software"], language: "en", limit: 5, location: 2840 });
|
|
3696
|
+
*/
|
|
3697
|
+
keywordIdeas(input, options) {
|
|
3698
|
+
return this._core.run("seo.keyword_ideas", input, options);
|
|
3699
|
+
}
|
|
3700
|
+
/**
|
|
3701
|
+
* SEO Keyword Overview
|
|
3702
|
+
*
|
|
3703
|
+
* Get AnyAPI SEO keyword metrics including search volume, CPC, competition, difficulty, and search intent as normalized JSON.
|
|
3704
|
+
*
|
|
3705
|
+
* Price: $0.0156 per request plus $0.00016 per keyword (maximum $0.1276).
|
|
3706
|
+
*
|
|
3707
|
+
* @example
|
|
3708
|
+
* const res = await client.seo.keywordOverview({ keywords: ["project management software"], language: "en", location: 2840 });
|
|
3709
|
+
*/
|
|
3710
|
+
keywordOverview(input, options) {
|
|
3711
|
+
return this._core.run("seo.keyword_overview", input, options);
|
|
3712
|
+
}
|
|
3713
|
+
/**
|
|
3714
|
+
* SEO Keyword Suggestions
|
|
3715
|
+
*
|
|
3716
|
+
* Find AnyAPI SEO keyword suggestions from a seed term with volume, CPC, competition, difficulty, and intent as normalized JSON.
|
|
3717
|
+
*
|
|
3718
|
+
* Price: $0.0156 per request plus $0.00016 per result (maximum $0.1756).
|
|
3719
|
+
*
|
|
3720
|
+
* @example
|
|
3721
|
+
* const res = await client.seo.keywordSuggestions({ keyword: "project management software", language: "en", limit: 5, location: 2840 });
|
|
3722
|
+
*/
|
|
3723
|
+
keywordSuggestions(input, options) {
|
|
3724
|
+
return this._core.run("seo.keyword_suggestions", input, options);
|
|
3725
|
+
}
|
|
3726
|
+
/**
|
|
3727
|
+
* SEO Local Pack
|
|
3728
|
+
*
|
|
3729
|
+
* Search AnyAPI SEO local pack results with rankings, ratings, addresses, and contact basics as normalized JSON.
|
|
3730
|
+
*
|
|
3731
|
+
* Price: $0.0026 per request plus $0 per result (maximum $0.0026).
|
|
3732
|
+
*
|
|
3733
|
+
* @example
|
|
3734
|
+
* const res = await client.seo.localPack({ keyword: "coffee shop", language: "en", limit: 5, location: "New York,New York,United States" });
|
|
3735
|
+
*/
|
|
3736
|
+
localPack(input, options) {
|
|
3737
|
+
return this._core.run("seo.local_pack", input, options);
|
|
3738
|
+
}
|
|
3739
|
+
/**
|
|
3740
|
+
* SEO Ranked Keywords
|
|
3741
|
+
*
|
|
3742
|
+
* Get AnyAPI SEO ranked keywords for a domain with rankings, traffic estimates, volume, CPC, difficulty, and intent as normalized JSON.
|
|
3743
|
+
*
|
|
3744
|
+
* Price: $0.0156 per request plus $0.00016 per result (maximum $0.1756).
|
|
3745
|
+
*
|
|
3746
|
+
* @example
|
|
3747
|
+
* const res = await client.seo.rankedKeywords({ target: "github.com", language: "en", limit: 10, location: 2840 });
|
|
3748
|
+
*/
|
|
3749
|
+
rankedKeywords(input, options) {
|
|
3750
|
+
return this._core.run("seo.ranked_keywords", input, options);
|
|
3751
|
+
}
|
|
3752
|
+
/**
|
|
3753
|
+
* SEO Related Keywords
|
|
3754
|
+
*
|
|
3755
|
+
* Find AnyAPI SEO related keywords from a seed term with volume, CPC, competition, difficulty, and intent as normalized JSON.
|
|
3756
|
+
*
|
|
3757
|
+
* Price: $0.0156 per request plus $0.00016 per result (maximum $0.1756).
|
|
3758
|
+
*
|
|
3759
|
+
* @example
|
|
3760
|
+
* const res = await client.seo.relatedKeywords({ keyword: "project management software", language: "en", limit: 5, location: 2840 });
|
|
3761
|
+
*/
|
|
3762
|
+
relatedKeywords(input, options) {
|
|
3763
|
+
return this._core.run("seo.related_keywords", input, options);
|
|
3764
|
+
}
|
|
3765
|
+
/**
|
|
3766
|
+
* SEO Search Intent
|
|
3767
|
+
*
|
|
3768
|
+
* Classify AnyAPI SEO keyword search intent as normalized JSON.
|
|
3769
|
+
*
|
|
3770
|
+
* Price: $0.0156 per request plus $0.00016 per keyword (maximum $0.1756).
|
|
3771
|
+
*
|
|
3772
|
+
* @example
|
|
3773
|
+
* const res = await client.seo.searchIntent({ keywords: ["seo tools"], language: "en" });
|
|
3774
|
+
*/
|
|
3775
|
+
searchIntent(input, options) {
|
|
3776
|
+
return this._core.run("seo.search_intent", input, options);
|
|
3777
|
+
}
|
|
3778
|
+
/**
|
|
3779
|
+
* SEO Search Volume
|
|
3780
|
+
*
|
|
3781
|
+
* Get AnyAPI SEO keyword search volume, CPC, competition, bid estimates, and monthly history as normalized JSON.
|
|
3782
|
+
*
|
|
3783
|
+
* Price: $0.117 per request plus $0 per result (maximum $0.117).
|
|
3784
|
+
*
|
|
3785
|
+
* @example
|
|
3786
|
+
* const res = await client.seo.searchVolume({ keywords: ["seo tools"], language: "en", location: 2840 });
|
|
3787
|
+
*/
|
|
3788
|
+
searchVolume(input, options) {
|
|
3789
|
+
return this._core.run("seo.search_volume", input, options);
|
|
3790
|
+
}
|
|
3791
|
+
};
|
|
3792
|
+
|
|
3032
3793
|
// src/generated/platforms/snapchat.ts
|
|
3033
3794
|
var SnapchatNamespace = class {
|
|
3034
3795
|
constructor(_core) {
|
|
@@ -3038,9 +3799,9 @@ var SnapchatNamespace = class {
|
|
|
3038
3799
|
/**
|
|
3039
3800
|
* Snapchat Profile
|
|
3040
3801
|
*
|
|
3041
|
-
* Fetch a Snapchat user's public profile by username - display name, bio, subscriber count, and recent public content
|
|
3802
|
+
* Fetch a Snapchat user's public profile by username - display name, bio, subscriber count, and recent public content.
|
|
3042
3803
|
*
|
|
3043
|
-
* Price: $0.001 per request plus $0.002 per result.
|
|
3804
|
+
* Price: $0.001 per request plus $0.002 per result (maximum $0.003).
|
|
3044
3805
|
*
|
|
3045
3806
|
* @example
|
|
3046
3807
|
* const res = await client.snapchat.profile({ username: "nasa" });
|
|
@@ -3059,9 +3820,9 @@ var SocialNamespace = class {
|
|
|
3059
3820
|
/**
|
|
3060
3821
|
* Social Profile Finder
|
|
3061
3822
|
*
|
|
3062
|
-
* Find a person's or brand's profiles across major social networks from a single name, returned as normalized JSON
|
|
3823
|
+
* Find a person's or brand's profiles across major social networks from a single name, returned as normalized JSON.
|
|
3063
3824
|
*
|
|
3064
|
-
* Price: $0.001 per request plus $0.002 per result.
|
|
3825
|
+
* Price: $0.001 per request plus $0.002 per result (maximum $0.021).
|
|
3065
3826
|
*
|
|
3066
3827
|
* @example
|
|
3067
3828
|
* const res = await client.social.finder({ name: "Elon Musk", limit: 3 });
|
|
@@ -3080,7 +3841,7 @@ var SpotifyNamespace = class {
|
|
|
3080
3841
|
/**
|
|
3081
3842
|
* Spotify Album
|
|
3082
3843
|
*
|
|
3083
|
-
* Fetch a Spotify album's tracklist, play counts, label, and release details by album URL or ID
|
|
3844
|
+
* Fetch a Spotify album's tracklist, play counts, label, and release details by album URL or ID.
|
|
3084
3845
|
*
|
|
3085
3846
|
* Price: $0.002 per request.
|
|
3086
3847
|
*
|
|
@@ -3093,7 +3854,7 @@ var SpotifyNamespace = class {
|
|
|
3093
3854
|
/**
|
|
3094
3855
|
* Spotify Artist
|
|
3095
3856
|
*
|
|
3096
|
-
* Fetch a Spotify artist's discography (albums, singles, top tracks) and metadata by artist URL or ID
|
|
3857
|
+
* Fetch a Spotify artist's discography (albums, singles, top tracks) and metadata by artist URL or ID.
|
|
3097
3858
|
*
|
|
3098
3859
|
* Price: $0.002 per request.
|
|
3099
3860
|
*
|
|
@@ -3106,9 +3867,9 @@ var SpotifyNamespace = class {
|
|
|
3106
3867
|
/**
|
|
3107
3868
|
* Spotify Play Count
|
|
3108
3869
|
*
|
|
3109
|
-
* Fetch stream counts and stats for a Spotify track, album, or artist URL
|
|
3870
|
+
* Fetch stream counts and stats for a Spotify track, album, or artist URL.
|
|
3110
3871
|
*
|
|
3111
|
-
* Price: $0.003 per result.
|
|
3872
|
+
* Price: $0 per request plus $0.003 per result (maximum $0.003).
|
|
3112
3873
|
*
|
|
3113
3874
|
* @example
|
|
3114
3875
|
* const res = await client.spotify.playCount({ url: "https://open.spotify.com/track/4cOdK2wGLETKBW3PvgPWqT" });
|
|
@@ -3119,7 +3880,7 @@ var SpotifyNamespace = class {
|
|
|
3119
3880
|
/**
|
|
3120
3881
|
* Spotify Podcast
|
|
3121
3882
|
*
|
|
3122
|
-
* Fetch a Spotify podcast show's name, publisher, description, rating, and topics by show URL or ID
|
|
3883
|
+
* Fetch a Spotify podcast show's name, publisher, description, rating, and topics by show URL or ID.
|
|
3123
3884
|
*
|
|
3124
3885
|
* Price: $0.002 per request.
|
|
3125
3886
|
*
|
|
@@ -3132,7 +3893,7 @@ var SpotifyNamespace = class {
|
|
|
3132
3893
|
/**
|
|
3133
3894
|
* Spotify Podcast Episodes
|
|
3134
3895
|
*
|
|
3135
|
-
* List a Spotify podcast show's episodes with titles, durations, descriptions, and release dates by show URL or ID
|
|
3896
|
+
* List a Spotify podcast show's episodes with titles, durations, descriptions, and release dates by show URL or ID.
|
|
3136
3897
|
*
|
|
3137
3898
|
* Price: $0.002 per request.
|
|
3138
3899
|
*
|
|
@@ -3161,7 +3922,7 @@ var SpotifyNamespace = class {
|
|
|
3161
3922
|
/**
|
|
3162
3923
|
* Spotify Search
|
|
3163
3924
|
*
|
|
3164
|
-
* Search Spotify for matching tracks, albums, artists, podcasts, and playlists by keyword
|
|
3925
|
+
* Search Spotify for matching tracks, albums, artists, podcasts, and playlists by keyword.
|
|
3165
3926
|
*
|
|
3166
3927
|
* Price: $0.002 per request.
|
|
3167
3928
|
*
|
|
@@ -3174,7 +3935,7 @@ var SpotifyNamespace = class {
|
|
|
3174
3935
|
/**
|
|
3175
3936
|
* Spotify Track
|
|
3176
3937
|
*
|
|
3177
|
-
* Fetch a Spotify track's play count, popularity, duration, and album details by track URL or ID
|
|
3938
|
+
* Fetch a Spotify track's play count, popularity, duration, and album details by track URL or ID.
|
|
3178
3939
|
*
|
|
3179
3940
|
* Price: $0.002 per request.
|
|
3180
3941
|
*
|
|
@@ -3195,9 +3956,9 @@ var SubstackNamespace = class {
|
|
|
3195
3956
|
/**
|
|
3196
3957
|
* Substack Posts
|
|
3197
3958
|
*
|
|
3198
|
-
* Pull posts from any Substack publication by its URL - or pass a single post URL (…/p/slug) to fetch just that one article. Returns title, subtitle, publish date, paywall status, word count, engagement (reactions, comments, restacks), author profile, and full article HTML.
|
|
3959
|
+
* Pull posts from any Substack publication by its URL - or pass a single post URL (…/p/slug) to fetch just that one article. Returns title, subtitle, publish date, paywall status, word count, engagement (reactions, comments, restacks), author profile, and full article HTML.
|
|
3199
3960
|
*
|
|
3200
|
-
* Price: $0.005 per request plus $0.00156 per result.
|
|
3961
|
+
* Price: $0.005 per request plus $0.00156 per result (maximum $0.161).
|
|
3201
3962
|
*
|
|
3202
3963
|
* @example
|
|
3203
3964
|
* const res = await client.substack.posts({ url: "https://www.astralcodexten.com", limit: 3 });
|
|
@@ -3216,7 +3977,7 @@ var ThreadsNamespace = class {
|
|
|
3216
3977
|
/**
|
|
3217
3978
|
* Threads Post
|
|
3218
3979
|
*
|
|
3219
|
-
* Fetch a single Threads post by URL - text, author, engagement counts, and timestamp
|
|
3980
|
+
* Fetch a single Threads post by URL - text, author, engagement counts, and timestamp.
|
|
3220
3981
|
*
|
|
3221
3982
|
* Price: $0.002 per request.
|
|
3222
3983
|
*
|
|
@@ -3229,7 +3990,7 @@ var ThreadsNamespace = class {
|
|
|
3229
3990
|
/**
|
|
3230
3991
|
* Threads Profile
|
|
3231
3992
|
*
|
|
3232
|
-
* Fetch a Threads user's public profile (bio, follower count, verification, profile picture) by username
|
|
3993
|
+
* Fetch a Threads user's public profile (bio, follower count, verification, profile picture) by username.
|
|
3233
3994
|
*
|
|
3234
3995
|
* Price: $0.002 per request.
|
|
3235
3996
|
*
|
|
@@ -3242,7 +4003,7 @@ var ThreadsNamespace = class {
|
|
|
3242
4003
|
/**
|
|
3243
4004
|
* Threads Search
|
|
3244
4005
|
*
|
|
3245
|
-
* Search public Threads posts by keyword or hashtag and get normalized post records - text, author, and engagement
|
|
4006
|
+
* Search public Threads posts by keyword or hashtag and get normalized post records - text, author, and engagement.
|
|
3246
4007
|
*
|
|
3247
4008
|
* Price: $0.002 per request.
|
|
3248
4009
|
*
|
|
@@ -3255,7 +4016,7 @@ var ThreadsNamespace = class {
|
|
|
3255
4016
|
/**
|
|
3256
4017
|
* Threads User Search
|
|
3257
4018
|
*
|
|
3258
|
-
* Search Threads users by name or username and get normalized profile records - username, full name, verification, and picture
|
|
4019
|
+
* Search Threads users by name or username and get normalized profile records - username, full name, verification, and picture.
|
|
3259
4020
|
*
|
|
3260
4021
|
* Price: $0.002 per request.
|
|
3261
4022
|
*
|
|
@@ -3268,7 +4029,7 @@ var ThreadsNamespace = class {
|
|
|
3268
4029
|
/**
|
|
3269
4030
|
* Threads User Posts
|
|
3270
4031
|
*
|
|
3271
|
-
* List a Threads user's recent public posts by username - text, engagement counts, and post URLs
|
|
4032
|
+
* List a Threads user's recent public posts by username - text, engagement counts, and post URLs.
|
|
3272
4033
|
*
|
|
3273
4034
|
* Price: $0.002 per request.
|
|
3274
4035
|
*
|
|
@@ -3307,7 +4068,7 @@ var TiktokNamespace = class {
|
|
|
3307
4068
|
* Price: $0.002 per request.
|
|
3308
4069
|
*
|
|
3309
4070
|
* @example
|
|
3310
|
-
* const res = await client.tiktok.adLibrarySearch({ query: "spotify" });
|
|
4071
|
+
* const res = await client.tiktok.adLibrarySearch({ query: "spotify", objective: "conversions" });
|
|
3311
4072
|
*/
|
|
3312
4073
|
adLibrarySearch(input, options) {
|
|
3313
4074
|
return this._core.run("tiktok.ad_library_search", input, options);
|
|
@@ -3373,7 +4134,7 @@ var TiktokNamespace = class {
|
|
|
3373
4134
|
/**
|
|
3374
4135
|
* TikTok Followers
|
|
3375
4136
|
*
|
|
3376
|
-
* List the followers of a TikTok account by username, returning each follower's profile basics
|
|
4137
|
+
* List the followers of a TikTok account by username, returning each follower's profile basics.
|
|
3377
4138
|
*
|
|
3378
4139
|
* Price: $0.002 per request.
|
|
3379
4140
|
*
|
|
@@ -3415,7 +4176,7 @@ var TiktokNamespace = class {
|
|
|
3415
4176
|
/**
|
|
3416
4177
|
* TikTok Hashtag Videos
|
|
3417
4178
|
*
|
|
3418
|
-
* List recent TikTok videos for a hashtag (creator, caption, views, likes, shares), normalized output
|
|
4179
|
+
* List recent TikTok videos for a hashtag (creator, caption, views, likes, shares), normalized output.
|
|
3419
4180
|
*
|
|
3420
4181
|
* Price: $0.00325 per request.
|
|
3421
4182
|
*
|
|
@@ -3698,7 +4459,7 @@ var TiktokShopNamespace = class {
|
|
|
3698
4459
|
/**
|
|
3699
4460
|
* TikTok Shop Product
|
|
3700
4461
|
*
|
|
3701
|
-
* Fetch TikTok Shop product details - title, price, sales, seller, and ratings - from a product URL
|
|
4462
|
+
* Fetch TikTok Shop product details - title, price, sales, seller, and ratings - from a product URL.
|
|
3702
4463
|
*
|
|
3703
4464
|
* Price: $0.002 per request.
|
|
3704
4465
|
*
|
|
@@ -3803,7 +4564,7 @@ var TripadvisorNamespace = class {
|
|
|
3803
4564
|
/**
|
|
3804
4565
|
* Tripadvisor Reviews
|
|
3805
4566
|
*
|
|
3806
|
-
* Fetch the latest reviews for any Tripadvisor hotel, restaurant, or attraction by its page URL - rating, text, date, and trip details as normalized JSON
|
|
4567
|
+
* Fetch the latest reviews for any Tripadvisor hotel, restaurant, or attraction by its page URL - rating, text, date, and trip details as normalized JSON.
|
|
3807
4568
|
*
|
|
3808
4569
|
* Price: $0.00325 per request.
|
|
3809
4570
|
*
|
|
@@ -3816,7 +4577,7 @@ var TripadvisorNamespace = class {
|
|
|
3816
4577
|
/**
|
|
3817
4578
|
* Tripadvisor Search
|
|
3818
4579
|
*
|
|
3819
|
-
* Search Tripadvisor for hotels, restaurants, and attractions in any destination and get rich place records (ratings, review counts, contact details, pricing) as normalized JSON
|
|
4580
|
+
* Search Tripadvisor for hotels, restaurants, and attractions in any destination and get rich place records (ratings, review counts, contact details, pricing) as normalized JSON.
|
|
3820
4581
|
*
|
|
3821
4582
|
* Price: $0.00325 per request.
|
|
3822
4583
|
*
|
|
@@ -3837,7 +4598,7 @@ var TrustpilotNamespace = class {
|
|
|
3837
4598
|
/**
|
|
3838
4599
|
* Trustpilot Reviews
|
|
3839
4600
|
*
|
|
3840
|
-
* Pull Trustpilot reviews for any company by brand name - star ratings, review text, dates, and reviewer details as clean JSON
|
|
4601
|
+
* Pull Trustpilot reviews for any company by brand name - star ratings, review text, dates, and reviewer details as clean JSON.
|
|
3841
4602
|
*
|
|
3842
4603
|
* Price: $0.01625 per request.
|
|
3843
4604
|
*
|
|
@@ -3858,7 +4619,7 @@ var TruthsocialNamespace = class {
|
|
|
3858
4619
|
/**
|
|
3859
4620
|
* Truth Social Post
|
|
3860
4621
|
*
|
|
3861
|
-
* Get a single Truth Social post by its URL - text, author, engagement (likes, comments, shares), and timestamp as clean JSON
|
|
4622
|
+
* Get a single Truth Social post by its URL - text, author, engagement (likes, comments, shares), and timestamp as clean JSON.
|
|
3862
4623
|
*
|
|
3863
4624
|
* Price: $0.00325 per request.
|
|
3864
4625
|
*
|
|
@@ -3871,7 +4632,7 @@ var TruthsocialNamespace = class {
|
|
|
3871
4632
|
/**
|
|
3872
4633
|
* Truth Social Profile
|
|
3873
4634
|
*
|
|
3874
|
-
* Get a Truth Social account's public profile by handle - display name, bio, follower/following counts, and post count as clean JSON
|
|
4635
|
+
* Get a Truth Social account's public profile by handle - display name, bio, follower/following counts, and post count as clean JSON.
|
|
3875
4636
|
*
|
|
3876
4637
|
* Price: $0.00325 per request.
|
|
3877
4638
|
*
|
|
@@ -3884,7 +4645,7 @@ var TruthsocialNamespace = class {
|
|
|
3884
4645
|
/**
|
|
3885
4646
|
* Truth Social User Posts
|
|
3886
4647
|
*
|
|
3887
|
-
* List a Truth Social account's recent posts by handle - text, engagement (likes, comments, shares), and timestamps as clean JSON
|
|
4648
|
+
* List a Truth Social account's recent posts by handle - text, engagement (likes, comments, shares), and timestamps as clean JSON.
|
|
3888
4649
|
*
|
|
3889
4650
|
* Price: $0.00325 per request.
|
|
3890
4651
|
*
|
|
@@ -3931,9 +4692,9 @@ var TwitterNamespace = class {
|
|
|
3931
4692
|
/**
|
|
3932
4693
|
* X / Twitter Followers
|
|
3933
4694
|
*
|
|
3934
|
-
* Fetch the follower list of any public X (Twitter) account by username - up to
|
|
4695
|
+
* Fetch the follower list of any public X (Twitter) account by username with cursor pagination. Limit is a per-page maximum; native pages contain up to 200 accounts unless requireSinglePage selects a bulk lane.
|
|
3935
4696
|
*
|
|
3936
|
-
* Price: $0.
|
|
4697
|
+
* Price: $0.00075 per request.
|
|
3937
4698
|
*
|
|
3938
4699
|
* @example
|
|
3939
4700
|
* const res = await client.twitter.followers({ username: "nasa", limit: 200 });
|
|
@@ -3941,12 +4702,28 @@ var TwitterNamespace = class {
|
|
|
3941
4702
|
followers(input, options) {
|
|
3942
4703
|
return this._core.run("twitter.followers", input, options);
|
|
3943
4704
|
}
|
|
4705
|
+
/**
|
|
4706
|
+
* Iterate every result of X / Twitter Followers across pages.
|
|
4707
|
+
*
|
|
4708
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
4709
|
+
* result pages instead (each carries its own costUsd).
|
|
4710
|
+
*/
|
|
4711
|
+
iterFollowers(input, options) {
|
|
4712
|
+
return paginate(
|
|
4713
|
+
this._core,
|
|
4714
|
+
"twitter.followers",
|
|
4715
|
+
input,
|
|
4716
|
+
"items",
|
|
4717
|
+
false,
|
|
4718
|
+
options
|
|
4719
|
+
);
|
|
4720
|
+
}
|
|
3944
4721
|
/**
|
|
3945
4722
|
* X / Twitter Following
|
|
3946
4723
|
*
|
|
3947
|
-
* List the accounts a public X (Twitter) account follows by username - up to
|
|
4724
|
+
* List the accounts a public X (Twitter) account follows by username with cursor pagination. Limit is a per-page maximum; native pages contain up to 200 accounts unless requireSinglePage selects a bulk lane.
|
|
3948
4725
|
*
|
|
3949
|
-
* Price: $0.
|
|
4726
|
+
* Price: $0.00075 per request.
|
|
3950
4727
|
*
|
|
3951
4728
|
* @example
|
|
3952
4729
|
* const res = await client.twitter.following({ username: "nasa", limit: 200 });
|
|
@@ -3954,12 +4731,28 @@ var TwitterNamespace = class {
|
|
|
3954
4731
|
following(input, options) {
|
|
3955
4732
|
return this._core.run("twitter.following", input, options);
|
|
3956
4733
|
}
|
|
4734
|
+
/**
|
|
4735
|
+
* Iterate every result of X / Twitter Following across pages.
|
|
4736
|
+
*
|
|
4737
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
4738
|
+
* result pages instead (each carries its own costUsd).
|
|
4739
|
+
*/
|
|
4740
|
+
iterFollowing(input, options) {
|
|
4741
|
+
return paginate(
|
|
4742
|
+
this._core,
|
|
4743
|
+
"twitter.following",
|
|
4744
|
+
input,
|
|
4745
|
+
"items",
|
|
4746
|
+
false,
|
|
4747
|
+
options
|
|
4748
|
+
);
|
|
4749
|
+
}
|
|
3957
4750
|
/**
|
|
3958
4751
|
* Twitter Profile
|
|
3959
4752
|
*
|
|
3960
4753
|
* Fetch a Twitter/X account's public profile (followers, tweets, bio, verification) by handle, normalized across providers with transparent failover.
|
|
3961
4754
|
*
|
|
3962
|
-
* Price: $0.
|
|
4755
|
+
* Price: $0.00075 per request.
|
|
3963
4756
|
*
|
|
3964
4757
|
* @example
|
|
3965
4758
|
* const res = await client.twitter.profile({ handle: "nasa" });
|
|
@@ -3970,9 +4763,9 @@ var TwitterNamespace = class {
|
|
|
3970
4763
|
/**
|
|
3971
4764
|
* X / Twitter Post Replies
|
|
3972
4765
|
*
|
|
3973
|
-
* Fetch the replies to any X (Twitter) post URL as structured records - author, text, and engagement
|
|
4766
|
+
* Fetch the replies to any X (Twitter) post URL as structured records - author, text, and engagement.
|
|
3974
4767
|
*
|
|
3975
|
-
* Price: $0.0025 per request plus $0.00025 per result.
|
|
4768
|
+
* Price: $0.0025 per request plus $0.00025 per result (maximum $0.0125).
|
|
3976
4769
|
*
|
|
3977
4770
|
* @example
|
|
3978
4771
|
* const res = await client.twitter.replies({ url: "https://x.com/jack/status/20", limit: 3 });
|
|
@@ -3983,9 +4776,9 @@ var TwitterNamespace = class {
|
|
|
3983
4776
|
/**
|
|
3984
4777
|
* X / Twitter Search
|
|
3985
4778
|
*
|
|
3986
|
-
* Search X (Twitter) with full advanced-search syntax
|
|
4779
|
+
* 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.
|
|
3987
4780
|
*
|
|
3988
|
-
* Price: $0.
|
|
4781
|
+
* Price: $0.00075 per request.
|
|
3989
4782
|
*
|
|
3990
4783
|
* @example
|
|
3991
4784
|
* const res = await client.twitter.search({ query: "openai" });
|
|
@@ -3993,12 +4786,28 @@ var TwitterNamespace = class {
|
|
|
3993
4786
|
search(input, options) {
|
|
3994
4787
|
return this._core.run("twitter.search", input, options);
|
|
3995
4788
|
}
|
|
4789
|
+
/**
|
|
4790
|
+
* Iterate every result of X / Twitter Search across pages.
|
|
4791
|
+
*
|
|
4792
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
4793
|
+
* result pages instead (each carries its own costUsd).
|
|
4794
|
+
*/
|
|
4795
|
+
iterSearch(input, options) {
|
|
4796
|
+
return paginate(
|
|
4797
|
+
this._core,
|
|
4798
|
+
"twitter.search",
|
|
4799
|
+
input,
|
|
4800
|
+
"items",
|
|
4801
|
+
false,
|
|
4802
|
+
options
|
|
4803
|
+
);
|
|
4804
|
+
}
|
|
3996
4805
|
/**
|
|
3997
4806
|
* Twitter Tweet
|
|
3998
4807
|
*
|
|
3999
4808
|
* Fetch a single Twitter/X tweet by URL with its full text and engagement counts (likes, retweets, replies, quotes, bookmarks, views), normalized across providers.
|
|
4000
4809
|
*
|
|
4001
|
-
* Price: $0.
|
|
4810
|
+
* Price: $0.00075 per request.
|
|
4002
4811
|
*
|
|
4003
4812
|
* @example
|
|
4004
4813
|
* const res = await client.twitter.tweet({ url: "https://x.com/SpaceX/status/1732824684683784516" });
|
|
@@ -4022,9 +4831,9 @@ var TwitterNamespace = class {
|
|
|
4022
4831
|
/**
|
|
4023
4832
|
* Twitter User Tweets
|
|
4024
4833
|
*
|
|
4025
|
-
* Get an X (Twitter) account's latest tweets by handle, newest first (reverse-chronological, replies included)
|
|
4834
|
+
* Get an X (Twitter) account's latest tweets by handle, newest first (reverse-chronological, replies included), with engagement, views, language, and cursor pagination. Limit is a per-page maximum; native pages contain approximately 20 tweets unless requireSinglePage selects a bulk lane.
|
|
4026
4835
|
*
|
|
4027
|
-
* Price: $0.
|
|
4836
|
+
* Price: $0.00075 per request.
|
|
4028
4837
|
*
|
|
4029
4838
|
* @example
|
|
4030
4839
|
* const res = await client.twitter.userTweets({ handle: "levelsio", limit: 20 });
|
|
@@ -4059,12 +4868,12 @@ var UpworkNamespace = class {
|
|
|
4059
4868
|
/**
|
|
4060
4869
|
* Upwork Jobs
|
|
4061
4870
|
*
|
|
4062
|
-
* Search Upwork job postings by keyword - up to 25 fresh listings per request
|
|
4871
|
+
* Search Upwork job postings by keyword - up to 25 fresh listings per request.
|
|
4063
4872
|
*
|
|
4064
|
-
* Price: $0.0033 per result.
|
|
4873
|
+
* Price: $0 per request plus $0.0033 per result (maximum $0.0825).
|
|
4065
4874
|
*
|
|
4066
4875
|
* @example
|
|
4067
|
-
* const res = await client.upwork.jobs({ query: "web developer", limit: 10 });
|
|
4876
|
+
* const res = await client.upwork.jobs({ query: "web developer", jobType: "fixed", limit: 10 });
|
|
4068
4877
|
*/
|
|
4069
4878
|
jobs(input, options) {
|
|
4070
4879
|
return this._core.run("upwork.jobs", input, options);
|
|
@@ -4080,9 +4889,9 @@ var WalmartNamespace = class {
|
|
|
4080
4889
|
/**
|
|
4081
4890
|
* Walmart Product
|
|
4082
4891
|
*
|
|
4083
|
-
* Fetch a Walmart product page by URL and get full product details - title, price, availability, ratings, images, and specs - in one normalized
|
|
4892
|
+
* Fetch a Walmart product page by URL and get full product details - title, price, availability, ratings, images, and specs - in one normalized response.
|
|
4084
4893
|
*
|
|
4085
|
-
* Price: $0.00368 per result.
|
|
4894
|
+
* Price: $0 per request plus $0.00368 per result (maximum $0.00368).
|
|
4086
4895
|
*
|
|
4087
4896
|
* @example
|
|
4088
4897
|
* const res = await client.walmart.product({ url: "https://www.walmart.com/ip/Apple-AirPods-Pro-2/5689919121" });
|
|
@@ -4103,7 +4912,7 @@ var WebNamespace = class {
|
|
|
4103
4912
|
*
|
|
4104
4913
|
* Crawl a website and get clean text content from up to 10 pages in one normalized response - ideal for feeding sites into LLMs and search indexes.
|
|
4105
4914
|
*
|
|
4106
|
-
* Price: $0.0015 per request plus $0.003 per result.
|
|
4915
|
+
* Price: $0.0015 per request plus $0.003 per result (maximum $0.0315).
|
|
4107
4916
|
*
|
|
4108
4917
|
* @example
|
|
4109
4918
|
* const res = await client.web.crawl({ url: "https://example.com", limit: 3 });
|
|
@@ -4114,12 +4923,12 @@ var WebNamespace = class {
|
|
|
4114
4923
|
/**
|
|
4115
4924
|
* Web Map
|
|
4116
4925
|
*
|
|
4117
|
-
* Map an entire website into a clean list of its URLs (with titles and descriptions) in a single call.
|
|
4926
|
+
* Map an entire website into a clean list of its URLs (with titles and descriptions) in a single call.
|
|
4118
4927
|
*
|
|
4119
4928
|
* Price: $0.0009 per request.
|
|
4120
4929
|
*
|
|
4121
4930
|
* @example
|
|
4122
|
-
* const res = await client.web.map({ url: "https://
|
|
4931
|
+
* const res = await client.web.map({ url: "https://www.iana.org", search: "domain" });
|
|
4123
4932
|
*/
|
|
4124
4933
|
map(input, options) {
|
|
4125
4934
|
return this._core.run("web.map", input, options);
|
|
@@ -4127,12 +4936,12 @@ var WebNamespace = class {
|
|
|
4127
4936
|
/**
|
|
4128
4937
|
* Web Scrape
|
|
4129
4938
|
*
|
|
4130
|
-
* Scrape any web page and get its
|
|
4939
|
+
* Scrape any web page and get its content back as clean Markdown (or HTML, or raw HTML) plus title and metadata.
|
|
4131
4940
|
*
|
|
4132
4941
|
* Price: $0.0009 per request.
|
|
4133
4942
|
*
|
|
4134
4943
|
* @example
|
|
4135
|
-
* const res = await client.web.scrape({ url: "https://example.com" });
|
|
4944
|
+
* const res = await client.web.scrape({ url: "https://example.com", formats: ["markdown", "html", "rawHtml"], onlyMainContent: true });
|
|
4136
4945
|
*/
|
|
4137
4946
|
scrape(input, options) {
|
|
4138
4947
|
return this._core.run("web.scrape", input, options);
|
|
@@ -4140,9 +4949,9 @@ var WebNamespace = class {
|
|
|
4140
4949
|
/**
|
|
4141
4950
|
* Website Screenshot
|
|
4142
4951
|
*
|
|
4143
|
-
* Capture a real-browser screenshot of any web page URL
|
|
4952
|
+
* Capture a real-browser screenshot of any web page URL.
|
|
4144
4953
|
*
|
|
4145
|
-
* Price: $0.00158 per result.
|
|
4954
|
+
* Price: $0 per request plus $0.00158 per result (maximum $0.00158).
|
|
4146
4955
|
*
|
|
4147
4956
|
* @example
|
|
4148
4957
|
* const res = await client.web.screenshot({ url: "https://example.com" });
|
|
@@ -4152,6 +4961,124 @@ var WebNamespace = class {
|
|
|
4152
4961
|
}
|
|
4153
4962
|
};
|
|
4154
4963
|
|
|
4964
|
+
// src/generated/platforms/weibo.ts
|
|
4965
|
+
var WeiboNamespace = class {
|
|
4966
|
+
constructor(_core) {
|
|
4967
|
+
this._core = _core;
|
|
4968
|
+
}
|
|
4969
|
+
_core;
|
|
4970
|
+
/**
|
|
4971
|
+
* Weibo Hot Search
|
|
4972
|
+
*
|
|
4973
|
+
* Get the complete current Weibo hot-search ranking with labels and heat values.
|
|
4974
|
+
*
|
|
4975
|
+
* Price: $0.0015 per request.
|
|
4976
|
+
*
|
|
4977
|
+
* @example
|
|
4978
|
+
* const res = await client.weibo.hotSearch({});
|
|
4979
|
+
*/
|
|
4980
|
+
hotSearch(input, options) {
|
|
4981
|
+
return this._core.run("weibo.hot_search", input, options);
|
|
4982
|
+
}
|
|
4983
|
+
/**
|
|
4984
|
+
* Weibo Post
|
|
4985
|
+
*
|
|
4986
|
+
* Fetch a public Weibo post by ID with normalized author and engagement data.
|
|
4987
|
+
*
|
|
4988
|
+
* Price: $0.001 per request.
|
|
4989
|
+
*
|
|
4990
|
+
* @example
|
|
4991
|
+
* const res = await client.weibo.post({ postId: "5092682368025584", includeLongText: "true" });
|
|
4992
|
+
*/
|
|
4993
|
+
post(input, options) {
|
|
4994
|
+
return this._core.run("weibo.post", input, options);
|
|
4995
|
+
}
|
|
4996
|
+
/**
|
|
4997
|
+
* Weibo Post Comments
|
|
4998
|
+
*
|
|
4999
|
+
* List first-level comments on a public Weibo post with pagination.
|
|
5000
|
+
*
|
|
5001
|
+
* Price: $0.001 per request.
|
|
5002
|
+
*
|
|
5003
|
+
* @example
|
|
5004
|
+
* const res = await client.weibo.postComments({ postId: "5283919831764022", limit: 10 });
|
|
5005
|
+
*/
|
|
5006
|
+
postComments(input, options) {
|
|
5007
|
+
return this._core.run("weibo.post_comments", input, options);
|
|
5008
|
+
}
|
|
5009
|
+
/**
|
|
5010
|
+
* Iterate every result of Weibo Post Comments across pages.
|
|
5011
|
+
*
|
|
5012
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
5013
|
+
* result pages instead (each carries its own costUsd).
|
|
5014
|
+
*/
|
|
5015
|
+
iterPostComments(input, options) {
|
|
5016
|
+
return paginate(
|
|
5017
|
+
this._core,
|
|
5018
|
+
"weibo.post_comments",
|
|
5019
|
+
input,
|
|
5020
|
+
"comments",
|
|
5021
|
+
false,
|
|
5022
|
+
options
|
|
5023
|
+
);
|
|
5024
|
+
}
|
|
5025
|
+
/**
|
|
5026
|
+
* Weibo Profile
|
|
5027
|
+
*
|
|
5028
|
+
* Fetch a public Weibo profile by user ID with normalized audience and account data.
|
|
5029
|
+
*
|
|
5030
|
+
* Price: $0.001 per request.
|
|
5031
|
+
*
|
|
5032
|
+
* @example
|
|
5033
|
+
* const res = await client.weibo.profile({ userId: "1722594714" });
|
|
5034
|
+
*/
|
|
5035
|
+
profile(input, options) {
|
|
5036
|
+
return this._core.run("weibo.profile", input, options);
|
|
5037
|
+
}
|
|
5038
|
+
/**
|
|
5039
|
+
* Weibo Advanced Search
|
|
5040
|
+
*
|
|
5041
|
+
* Search public Weibo posts with optional result, media, and time filters.
|
|
5042
|
+
*
|
|
5043
|
+
* Price: $0.001 per request.
|
|
5044
|
+
*
|
|
5045
|
+
* @example
|
|
5046
|
+
* const res = await client.weibo.search({ query: "python", includeType: "pic", page: 1, searchType: "hot" });
|
|
5047
|
+
*/
|
|
5048
|
+
search(input, options) {
|
|
5049
|
+
return this._core.run("weibo.search", input, options);
|
|
5050
|
+
}
|
|
5051
|
+
/**
|
|
5052
|
+
* Weibo User Posts
|
|
5053
|
+
*
|
|
5054
|
+
* List public posts from a Weibo user with normalized author and engagement data.
|
|
5055
|
+
*
|
|
5056
|
+
* Price: $0.001 per request.
|
|
5057
|
+
*
|
|
5058
|
+
* @example
|
|
5059
|
+
* const res = await client.weibo.userPosts({ userId: "7277477906", feature: 3, page: 1 });
|
|
5060
|
+
*/
|
|
5061
|
+
userPosts(input, options) {
|
|
5062
|
+
return this._core.run("weibo.user_posts", input, options);
|
|
5063
|
+
}
|
|
5064
|
+
/**
|
|
5065
|
+
* Iterate every result of Weibo User Posts across pages.
|
|
5066
|
+
*
|
|
5067
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
5068
|
+
* result pages instead (each carries its own costUsd).
|
|
5069
|
+
*/
|
|
5070
|
+
iterUserPosts(input, options) {
|
|
5071
|
+
return paginate(
|
|
5072
|
+
this._core,
|
|
5073
|
+
"weibo.user_posts",
|
|
5074
|
+
input,
|
|
5075
|
+
"posts",
|
|
5076
|
+
false,
|
|
5077
|
+
options
|
|
5078
|
+
);
|
|
5079
|
+
}
|
|
5080
|
+
};
|
|
5081
|
+
|
|
4155
5082
|
// src/generated/platforms/whatsapp.ts
|
|
4156
5083
|
var WhatsappNamespace = class {
|
|
4157
5084
|
constructor(_core) {
|
|
@@ -4161,9 +5088,9 @@ var WhatsappNamespace = class {
|
|
|
4161
5088
|
/**
|
|
4162
5089
|
* WhatsApp Number Validator
|
|
4163
5090
|
*
|
|
4164
|
-
* Check whether a phone number is registered on WhatsApp
|
|
5091
|
+
* Check whether a phone number is registered on WhatsApp.
|
|
4165
5092
|
*
|
|
4166
|
-
* Price: $0.0035 per request plus $0.001 per result.
|
|
5093
|
+
* Price: $0.0035 per request plus $0.001 per result (maximum $0.0045).
|
|
4167
5094
|
*
|
|
4168
5095
|
* @example
|
|
4169
5096
|
* const res = await client.whatsapp.validate({ phone: "+14155552671" });
|
|
@@ -4182,9 +5109,9 @@ var YahooFinanceNamespace = class {
|
|
|
4182
5109
|
/**
|
|
4183
5110
|
* Yahoo Finance Quote
|
|
4184
5111
|
*
|
|
4185
|
-
* Look up a stock or ETF by ticker symbol and get its Yahoo Finance quote
|
|
5112
|
+
* Look up a stock or ETF by ticker symbol and get its Yahoo Finance quote (price, market cap, volume, and key stats) as normalized JSON.
|
|
4186
5113
|
*
|
|
4187
|
-
* Price: $0.00005 per request plus $0.0009 per result.
|
|
5114
|
+
* Price: $0.00005 per request plus $0.0009 per result (maximum $0.00095).
|
|
4188
5115
|
*
|
|
4189
5116
|
* @example
|
|
4190
5117
|
* const res = await client.yahooFinance.quote({ ticker: "AAPL" });
|
|
@@ -4203,9 +5130,9 @@ var YelpNamespace = class {
|
|
|
4203
5130
|
/**
|
|
4204
5131
|
* Yelp Search
|
|
4205
5132
|
*
|
|
4206
|
-
* Search Yelp for businesses by keyword and location: up to 20 listings with ratings, categories, and core business info per
|
|
5133
|
+
* Search Yelp for businesses by keyword and location: up to 20 listings with ratings, categories, and core business info per request.
|
|
4207
5134
|
*
|
|
4208
|
-
* Price: $0.04 per request plus $0.00075 per result.
|
|
5135
|
+
* Price: $0.04 per request plus $0.00075 per result (maximum $0.055).
|
|
4209
5136
|
*
|
|
4210
5137
|
* @example
|
|
4211
5138
|
* const res = await client.yelp.search({ location: "Chicago, IL", query: "pizza", limit: 5 });
|
|
@@ -4543,6 +5470,79 @@ var YoutubeNamespace = class {
|
|
|
4543
5470
|
}
|
|
4544
5471
|
};
|
|
4545
5472
|
|
|
5473
|
+
// src/generated/platforms/zhihu.ts
|
|
5474
|
+
var ZhihuNamespace = class {
|
|
5475
|
+
constructor(_core) {
|
|
5476
|
+
this._core = _core;
|
|
5477
|
+
}
|
|
5478
|
+
_core;
|
|
5479
|
+
/**
|
|
5480
|
+
* Zhihu Answer
|
|
5481
|
+
*
|
|
5482
|
+
* Fetch a public Zhihu answer with normalized author and question data.
|
|
5483
|
+
*
|
|
5484
|
+
* Price: $0.001 per request.
|
|
5485
|
+
*
|
|
5486
|
+
* @example
|
|
5487
|
+
* const res = await client.zhihu.answer({ answerId: "2054145988235880002" });
|
|
5488
|
+
*/
|
|
5489
|
+
answer(input, options) {
|
|
5490
|
+
return this._core.run("zhihu.answer", input, options);
|
|
5491
|
+
}
|
|
5492
|
+
/**
|
|
5493
|
+
* Zhihu Profile
|
|
5494
|
+
*
|
|
5495
|
+
* Fetch a public Zhihu profile with normalized identity and audience data.
|
|
5496
|
+
*
|
|
5497
|
+
* Price: $0.001 per request.
|
|
5498
|
+
*
|
|
5499
|
+
* @example
|
|
5500
|
+
* const res = await client.zhihu.profile({ userToken: "ming-he-43-93" });
|
|
5501
|
+
*/
|
|
5502
|
+
profile(input, options) {
|
|
5503
|
+
return this._core.run("zhihu.profile", input, options);
|
|
5504
|
+
}
|
|
5505
|
+
/**
|
|
5506
|
+
* Zhihu Question
|
|
5507
|
+
*
|
|
5508
|
+
* Fetch a public Zhihu question with normalized text and engagement statistics.
|
|
5509
|
+
*
|
|
5510
|
+
* Price: $0.001 per request.
|
|
5511
|
+
*
|
|
5512
|
+
* @example
|
|
5513
|
+
* const res = await client.zhihu.question({ questionId: "37811449" });
|
|
5514
|
+
*/
|
|
5515
|
+
question(input, options) {
|
|
5516
|
+
return this._core.run("zhihu.question", input, options);
|
|
5517
|
+
}
|
|
5518
|
+
/**
|
|
5519
|
+
* Zhihu Question Answers
|
|
5520
|
+
*
|
|
5521
|
+
* List public answers to a Zhihu question with normalized authors and engagement data.
|
|
5522
|
+
*
|
|
5523
|
+
* Price: $0.001 per request.
|
|
5524
|
+
*
|
|
5525
|
+
* @example
|
|
5526
|
+
* const res = await client.zhihu.questionAnswers({ questionId: "37811449", limit: 5, offset: 0, order: "default" });
|
|
5527
|
+
*/
|
|
5528
|
+
questionAnswers(input, options) {
|
|
5529
|
+
return this._core.run("zhihu.question_answers", input, options);
|
|
5530
|
+
}
|
|
5531
|
+
/**
|
|
5532
|
+
* Zhihu Article Search
|
|
5533
|
+
*
|
|
5534
|
+
* Search public Zhihu articles by keyword with normalized author and engagement data.
|
|
5535
|
+
*
|
|
5536
|
+
* Price: $0.001 per request.
|
|
5537
|
+
*
|
|
5538
|
+
* @example
|
|
5539
|
+
* const res = await client.zhihu.searchArticles({ query: "deepseek", limit: "20", showAllTopics: 0 });
|
|
5540
|
+
*/
|
|
5541
|
+
searchArticles(input, options) {
|
|
5542
|
+
return this._core.run("zhihu.search_articles", input, options);
|
|
5543
|
+
}
|
|
5544
|
+
};
|
|
5545
|
+
|
|
4546
5546
|
// src/generated/platforms/zillow.ts
|
|
4547
5547
|
var ZillowNamespace = class {
|
|
4548
5548
|
constructor(_core) {
|
|
@@ -4552,9 +5552,9 @@ var ZillowNamespace = class {
|
|
|
4552
5552
|
/**
|
|
4553
5553
|
* Zillow Property
|
|
4554
5554
|
*
|
|
4555
|
-
* Fetch full details for a single Zillow property listing by URL
|
|
5555
|
+
* Fetch full details for a single Zillow property listing by URL (price, facts and features, photos, and price/tax history).
|
|
4556
5556
|
*
|
|
4557
|
-
* Price: $0.0024 per result.
|
|
5557
|
+
* Price: $0 per request plus $0.0024 per result (maximum $0.0024).
|
|
4558
5558
|
*
|
|
4559
5559
|
* @example
|
|
4560
5560
|
* const res = await client.zillow.property({ url: "https://www.zillow.com/homedetails/4510-Secure-Ln-Austin-TX-78725/83126034_zpid/" });
|
|
@@ -4565,12 +5565,12 @@ var ZillowNamespace = class {
|
|
|
4565
5565
|
/**
|
|
4566
5566
|
* Zillow Search
|
|
4567
5567
|
*
|
|
4568
|
-
* Search Zillow for-sale, rental, or sold listings by location (city, ZIP, or
|
|
5568
|
+
* Search Zillow for-sale, rental, or sold listings by region-level location (city, ZIP, county, or neighborhood) with optional price, bedroom, living-area, home-type, recency, and sort filters and get matching properties (price, address, beds, baths, living area, status, Zestimate) as normalized JSON.
|
|
4569
5569
|
*
|
|
4570
|
-
* Price: $0.0005 per request plus $0.003 per result.
|
|
5570
|
+
* Price: $0.0005 per request plus $0.003 per result (maximum $0.0755).
|
|
4571
5571
|
*
|
|
4572
5572
|
* @example
|
|
4573
|
-
* const res = await client.zillow.search({ location: "Austin, TX", limit: 3, operation: "buy" });
|
|
5573
|
+
* const res = await client.zillow.search({ location: "Austin, TX", limit: 3, maxPrice: 900000, minBedrooms: 3, operation: "buy" });
|
|
4574
5574
|
*/
|
|
4575
5575
|
search(input, options) {
|
|
4576
5576
|
return this._core.run("zillow.search", input, options);
|
|
@@ -4615,6 +5615,14 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
4615
5615
|
this._core
|
|
4616
5616
|
);
|
|
4617
5617
|
}
|
|
5618
|
+
/**
|
|
5619
|
+
* Typed methods for the apollo platform.
|
|
5620
|
+
*/
|
|
5621
|
+
get apollo() {
|
|
5622
|
+
return this._namespaces["apollo"] ??= new ApolloNamespace(
|
|
5623
|
+
this._core
|
|
5624
|
+
);
|
|
5625
|
+
}
|
|
4618
5626
|
/**
|
|
4619
5627
|
* Typed methods for the appstore platform.
|
|
4620
5628
|
*/
|
|
@@ -4663,6 +5671,14 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
4663
5671
|
this._core
|
|
4664
5672
|
);
|
|
4665
5673
|
}
|
|
5674
|
+
/**
|
|
5675
|
+
* Typed methods for the douyin platform.
|
|
5676
|
+
*/
|
|
5677
|
+
get douyin() {
|
|
5678
|
+
return this._namespaces["douyin"] ??= new DouyinNamespace(
|
|
5679
|
+
this._core
|
|
5680
|
+
);
|
|
5681
|
+
}
|
|
4666
5682
|
/**
|
|
4667
5683
|
* Typed methods for the ebay platform.
|
|
4668
5684
|
*/
|
|
@@ -4871,6 +5887,14 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
4871
5887
|
this._core
|
|
4872
5888
|
);
|
|
4873
5889
|
}
|
|
5890
|
+
/**
|
|
5891
|
+
* Typed methods for the seo platform.
|
|
5892
|
+
*/
|
|
5893
|
+
get seo() {
|
|
5894
|
+
return this._namespaces["seo"] ??= new SeoNamespace(
|
|
5895
|
+
this._core
|
|
5896
|
+
);
|
|
5897
|
+
}
|
|
4874
5898
|
/**
|
|
4875
5899
|
* Typed methods for the snapchat platform.
|
|
4876
5900
|
*/
|
|
@@ -4983,6 +6007,14 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
4983
6007
|
this._core
|
|
4984
6008
|
);
|
|
4985
6009
|
}
|
|
6010
|
+
/**
|
|
6011
|
+
* Typed methods for the weibo platform.
|
|
6012
|
+
*/
|
|
6013
|
+
get weibo() {
|
|
6014
|
+
return this._namespaces["weibo"] ??= new WeiboNamespace(
|
|
6015
|
+
this._core
|
|
6016
|
+
);
|
|
6017
|
+
}
|
|
4986
6018
|
/**
|
|
4987
6019
|
* Typed methods for the whatsapp platform.
|
|
4988
6020
|
*/
|
|
@@ -5015,6 +6047,14 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
5015
6047
|
this._core
|
|
5016
6048
|
);
|
|
5017
6049
|
}
|
|
6050
|
+
/**
|
|
6051
|
+
* Typed methods for the zhihu platform.
|
|
6052
|
+
*/
|
|
6053
|
+
get zhihu() {
|
|
6054
|
+
return this._namespaces["zhihu"] ??= new ZhihuNamespace(
|
|
6055
|
+
this._core
|
|
6056
|
+
);
|
|
6057
|
+
}
|
|
5018
6058
|
/**
|
|
5019
6059
|
* Typed methods for the zillow platform.
|
|
5020
6060
|
*/
|
|
@@ -5031,6 +6071,7 @@ export {
|
|
|
5031
6071
|
AmazonNamespace,
|
|
5032
6072
|
AnyAPI2 as AnyAPI,
|
|
5033
6073
|
AnyAPIError,
|
|
6074
|
+
ApolloNamespace,
|
|
5034
6075
|
AppstoreNamespace,
|
|
5035
6076
|
AuthenticationError,
|
|
5036
6077
|
BadRequestError,
|
|
@@ -5040,6 +6081,7 @@ export {
|
|
|
5040
6081
|
CongressNamespace,
|
|
5041
6082
|
ConnectionError,
|
|
5042
6083
|
DexscreenerNamespace,
|
|
6084
|
+
DouyinNamespace,
|
|
5043
6085
|
EbayNamespace,
|
|
5044
6086
|
EmailNamespace,
|
|
5045
6087
|
FacebookNamespace,
|
|
@@ -5070,6 +6112,7 @@ export {
|
|
|
5070
6112
|
ResultNotFoundError,
|
|
5071
6113
|
SecNamespace,
|
|
5072
6114
|
SemrushNamespace,
|
|
6115
|
+
SeoNamespace,
|
|
5073
6116
|
SnapchatNamespace,
|
|
5074
6117
|
SocialNamespace,
|
|
5075
6118
|
SpotifyNamespace,
|
|
@@ -5086,10 +6129,12 @@ export {
|
|
|
5086
6129
|
UpworkNamespace,
|
|
5087
6130
|
WalmartNamespace,
|
|
5088
6131
|
WebNamespace,
|
|
6132
|
+
WeiboNamespace,
|
|
5089
6133
|
WhatsappNamespace,
|
|
5090
6134
|
YahooFinanceNamespace,
|
|
5091
6135
|
YelpNamespace,
|
|
5092
6136
|
YoutubeNamespace,
|
|
6137
|
+
ZhihuNamespace,
|
|
5093
6138
|
ZillowNamespace,
|
|
5094
6139
|
agentSignup,
|
|
5095
6140
|
paginate,
|