@getanyapi/sdk 0.29.1 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +529 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +21873 -8927
- package/dist/index.d.ts +21873 -8927
- package/dist/index.js +527 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1500,6 +1500,45 @@ var CompanyEnrichmentNamespace = class {
|
|
|
1500
1500
|
crustdataV3(input, options) {
|
|
1501
1501
|
return this._core.run("company_enrichment.crustdata_v3", input, options);
|
|
1502
1502
|
}
|
|
1503
|
+
/**
|
|
1504
|
+
* Company Enrichment - Lusha
|
|
1505
|
+
*
|
|
1506
|
+
* Enrich one company into firmographics, industry classification, headcount, revenue band and social profiles from a domain, a company name, or a Lusha company id.
|
|
1507
|
+
*
|
|
1508
|
+
* Price: $0.084 per request.
|
|
1509
|
+
*
|
|
1510
|
+
* @example
|
|
1511
|
+
* const res = await client.companyEnrichment.lusha({ domain: "posthog.com" });
|
|
1512
|
+
*/
|
|
1513
|
+
lusha(input, options) {
|
|
1514
|
+
return this._core.run("company_enrichment.lusha", input, options);
|
|
1515
|
+
}
|
|
1516
|
+
/**
|
|
1517
|
+
* Company Enrichment - People Data Labs
|
|
1518
|
+
*
|
|
1519
|
+
* Enrich one company into firmographics, funding history, NAICS and SIC classification, and People Data Labs' headcount growth, tenure and churn series from a domain or a company name.
|
|
1520
|
+
*
|
|
1521
|
+
* Price: $0.12 per request.
|
|
1522
|
+
*
|
|
1523
|
+
* @example
|
|
1524
|
+
* const res = await client.companyEnrichment.peopledatalabs({ domain: "posthog.com" });
|
|
1525
|
+
*/
|
|
1526
|
+
peopledatalabs(input, options) {
|
|
1527
|
+
return this._core.run("company_enrichment.peopledatalabs", input, options);
|
|
1528
|
+
}
|
|
1529
|
+
/**
|
|
1530
|
+
* Company Enrichment - Prospeo
|
|
1531
|
+
*
|
|
1532
|
+
* Enrich one company into firmographics, funding history, technology stack, open roles and headquarters contact details from a website, a company name, or a LinkedIn page.
|
|
1533
|
+
*
|
|
1534
|
+
* Price: $0.066 per request.
|
|
1535
|
+
*
|
|
1536
|
+
* @example
|
|
1537
|
+
* const res = await client.companyEnrichment.prospeo({ companyWebsite: "stripe.com" });
|
|
1538
|
+
*/
|
|
1539
|
+
prospeo(input, options) {
|
|
1540
|
+
return this._core.run("company_enrichment.prospeo", input, options);
|
|
1541
|
+
}
|
|
1503
1542
|
};
|
|
1504
1543
|
|
|
1505
1544
|
// src/generated/platforms/company_search.ts
|
|
@@ -1526,7 +1565,7 @@ var CompanySearchNamespace = class {
|
|
|
1526
1565
|
*
|
|
1527
1566
|
* Search companies by structured filters with cursor pagination.
|
|
1528
1567
|
*
|
|
1529
|
-
* Price: $0 per request plus $0.048 per result (maximum $
|
|
1568
|
+
* Price: $0 per request plus $0.048 per result (maximum $12).
|
|
1530
1569
|
*
|
|
1531
1570
|
* @example
|
|
1532
1571
|
* const res = await client.companySearch.crustdataV3({ filters: [{ filter_type: "company_website_domain", type: "(.)", value: "posthog.com" }], limit: 1 });
|
|
@@ -1550,6 +1589,87 @@ var CompanySearchNamespace = class {
|
|
|
1550
1589
|
options
|
|
1551
1590
|
);
|
|
1552
1591
|
}
|
|
1592
|
+
/**
|
|
1593
|
+
* Company Search - FullEnrich
|
|
1594
|
+
*
|
|
1595
|
+
* Build an account list from FullEnrich by name, domain, industry, specialty, ownership type, headcount, founding year and headquarters, with full firmographics and every office on each row. Billed per company returned.
|
|
1596
|
+
*
|
|
1597
|
+
* Price: $0 per request plus $0.0252 per result (maximum $2.52).
|
|
1598
|
+
*
|
|
1599
|
+
* @example
|
|
1600
|
+
* const res = await client.companySearch.fullenrich({ domains: [{ exact_match: true, value: "stripe.com" }], limit: 1 });
|
|
1601
|
+
*/
|
|
1602
|
+
fullenrich(input, options) {
|
|
1603
|
+
return this._core.run("company_search.fullenrich", input, options);
|
|
1604
|
+
}
|
|
1605
|
+
/**
|
|
1606
|
+
* Iterate every result of Company Search - FullEnrich across pages.
|
|
1607
|
+
*
|
|
1608
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
1609
|
+
* result pages instead (each carries its own costUsd).
|
|
1610
|
+
*/
|
|
1611
|
+
iterFullenrich(input, options) {
|
|
1612
|
+
return paginate(
|
|
1613
|
+
this._core,
|
|
1614
|
+
"company_search.fullenrich",
|
|
1615
|
+
input,
|
|
1616
|
+
"companies",
|
|
1617
|
+
false,
|
|
1618
|
+
options
|
|
1619
|
+
);
|
|
1620
|
+
}
|
|
1621
|
+
/**
|
|
1622
|
+
* Company Search - People Data Labs
|
|
1623
|
+
*
|
|
1624
|
+
* Search People Data Labs' company dataset with SQL or an Elasticsearch query and get the full firmographic record back, including funding history and the headcount growth, tenure and churn series. Billed per company returned.
|
|
1625
|
+
*
|
|
1626
|
+
* Price: $0 per request plus $0.12 per result (maximum $9.96).
|
|
1627
|
+
*
|
|
1628
|
+
* @example
|
|
1629
|
+
* const res = await client.companySearch.peopledatalabs({ limit: 1, sql: "SELECT * FROM company WHERE website = 'posthog.com'" });
|
|
1630
|
+
*/
|
|
1631
|
+
peopledatalabs(input, options) {
|
|
1632
|
+
return this._core.run("company_search.peopledatalabs", input, options);
|
|
1633
|
+
}
|
|
1634
|
+
/**
|
|
1635
|
+
* Company Search - Prospeo
|
|
1636
|
+
*
|
|
1637
|
+
* Build an account list from Prospeo by industry, headcount, revenue, location, technology, funding and hiring activity. One flat price per page of 25.
|
|
1638
|
+
*
|
|
1639
|
+
* Price: $0.066 per request.
|
|
1640
|
+
*
|
|
1641
|
+
* @example
|
|
1642
|
+
* const res = await client.companySearch.prospeo({ company: { websites: { include: ["stripe.com"] } }, page: 1 });
|
|
1643
|
+
*/
|
|
1644
|
+
prospeo(input, options) {
|
|
1645
|
+
return this._core.run("company_search.prospeo", input, options);
|
|
1646
|
+
}
|
|
1647
|
+
/**
|
|
1648
|
+
* Company Search - QuickEnrich
|
|
1649
|
+
*
|
|
1650
|
+
* Find companies by name, domain, industry, headcount, revenue, services, or location, and get back their site, LinkedIn, and contact details. Billed per company returned.
|
|
1651
|
+
*
|
|
1652
|
+
* Price: $0 per request plus $0.0072 per result (maximum $0.72).
|
|
1653
|
+
*
|
|
1654
|
+
* @example
|
|
1655
|
+
* const res = await client.companySearch.quickenrich({ country: { include: ["US"] }, employeeCount: { include: ["20 - 99"] }, limit: 2 });
|
|
1656
|
+
*/
|
|
1657
|
+
quickenrich(input, options) {
|
|
1658
|
+
return this._core.run("company_search.quickenrich", input, options);
|
|
1659
|
+
}
|
|
1660
|
+
/**
|
|
1661
|
+
* Company Search - TheirStack
|
|
1662
|
+
*
|
|
1663
|
+
* Build an account list from TheirStack by the technologies, keywords and buying-intent topics a company mentions in its job posts, plus headcount, revenue, funding, industry and location. Billed per company returned.
|
|
1664
|
+
*
|
|
1665
|
+
* Price: $0 per request plus $0.1992 per result (maximum $9.96).
|
|
1666
|
+
*
|
|
1667
|
+
* @example
|
|
1668
|
+
* const res = await client.companySearch.theirstack({ companyDomainOr: ["posthog.com"], limit: 1 });
|
|
1669
|
+
*/
|
|
1670
|
+
theirstack(input, options) {
|
|
1671
|
+
return this._core.run("company_search.theirstack", input, options);
|
|
1672
|
+
}
|
|
1553
1673
|
};
|
|
1554
1674
|
|
|
1555
1675
|
// src/generated/platforms/congress.ts
|
|
@@ -1819,6 +1939,45 @@ var EmailFindingNamespace = class {
|
|
|
1819
1939
|
icypeas(input, options) {
|
|
1820
1940
|
return this._core.run("email_finding.icypeas", input, options);
|
|
1821
1941
|
}
|
|
1942
|
+
/**
|
|
1943
|
+
* Email Finding - QuickEnrich
|
|
1944
|
+
*
|
|
1945
|
+
* Find a work email from a LinkedIn profile, or from a company domain plus a name. Coverage is strongest for small and local businesses and thin for large technology employers.
|
|
1946
|
+
*
|
|
1947
|
+
* Price: $0.0072 per request.
|
|
1948
|
+
*
|
|
1949
|
+
* @example
|
|
1950
|
+
* const res = await client.emailFinding.quickenrich({ companyDomain: "southmemphisfence.com", firstName: "Warren", lastName: "Price" });
|
|
1951
|
+
*/
|
|
1952
|
+
quickenrich(input, options) {
|
|
1953
|
+
return this._core.run("email_finding.quickenrich", input, options);
|
|
1954
|
+
}
|
|
1955
|
+
/**
|
|
1956
|
+
* Email Finding - ZeroBounce
|
|
1957
|
+
*
|
|
1958
|
+
* Find a person's work email at a company domain from their name, with ZeroBounce's confidence in the guess.
|
|
1959
|
+
*
|
|
1960
|
+
* Price: $0.6552 per request.
|
|
1961
|
+
*
|
|
1962
|
+
* @example
|
|
1963
|
+
* const res = await client.emailFinding.zerobounce({ domain: "hubspot.com", firstName: "Dharmesh", lastName: "Shah" });
|
|
1964
|
+
*/
|
|
1965
|
+
zerobounce(input, options) {
|
|
1966
|
+
return this._core.run("email_finding.zerobounce", input, options);
|
|
1967
|
+
}
|
|
1968
|
+
/**
|
|
1969
|
+
* Email Pattern - ZeroBounce
|
|
1970
|
+
*
|
|
1971
|
+
* Read the email address format a company domain uses, with every alternative format ZeroBounce has seen and how confident it is in each. Use it to build addresses for a whole account at once.
|
|
1972
|
+
*
|
|
1973
|
+
* Price: $0.6552 per request.
|
|
1974
|
+
*
|
|
1975
|
+
* @example
|
|
1976
|
+
* const res = await client.emailFinding.zerobounceDomain({ domain: "hubspot.com" });
|
|
1977
|
+
*/
|
|
1978
|
+
zerobounceDomain(input, options) {
|
|
1979
|
+
return this._core.run("email_finding.zerobounce_domain", input, options);
|
|
1980
|
+
}
|
|
1822
1981
|
};
|
|
1823
1982
|
|
|
1824
1983
|
// src/generated/platforms/email_verification.ts
|
|
@@ -1866,6 +2025,36 @@ var EmailVerificationNamespace = class {
|
|
|
1866
2025
|
icypeas(input, options) {
|
|
1867
2026
|
return this._core.run("email_verification.icypeas", input, options);
|
|
1868
2027
|
}
|
|
2028
|
+
/**
|
|
2029
|
+
* Email Verification - ZeroBounce
|
|
2030
|
+
*
|
|
2031
|
+
* Validate one email address against ZeroBounce, with the deliverability verdict, why it was reached, the mailbox provider, and any owner details ZeroBounce holds. A negative verdict is a successful, billable result.
|
|
2032
|
+
*
|
|
2033
|
+
* Price: $0.0336 per request.
|
|
2034
|
+
*
|
|
2035
|
+
* @example
|
|
2036
|
+
* const res = await client.emailVerification.zerobounce({ email: "tim@apollo.io" });
|
|
2037
|
+
*/
|
|
2038
|
+
zerobounce(input, options) {
|
|
2039
|
+
return this._core.run("email_verification.zerobounce", input, options);
|
|
2040
|
+
}
|
|
2041
|
+
/**
|
|
2042
|
+
* Email Activity - ZeroBounce
|
|
2043
|
+
*
|
|
2044
|
+
* Check whether an email address has shown recent activity across ZeroBounce's engagement network before you re-engage it. A no-activity answer is a successful, billable result.
|
|
2045
|
+
*
|
|
2046
|
+
* Price: $0.0336 per request.
|
|
2047
|
+
*
|
|
2048
|
+
* @example
|
|
2049
|
+
* const res = await client.emailVerification.zerobounceActivity({ email: "dshah@hubspot.com" });
|
|
2050
|
+
*/
|
|
2051
|
+
zerobounceActivity(input, options) {
|
|
2052
|
+
return this._core.run(
|
|
2053
|
+
"email_verification.zerobounce_activity",
|
|
2054
|
+
input,
|
|
2055
|
+
options
|
|
2056
|
+
);
|
|
2057
|
+
}
|
|
1869
2058
|
};
|
|
1870
2059
|
|
|
1871
2060
|
// src/generated/platforms/facebook.ts
|
|
@@ -3223,6 +3412,64 @@ var InstagramNamespace = class {
|
|
|
3223
3412
|
hashtagAnalytics(input, options) {
|
|
3224
3413
|
return this._core.run("instagram.hashtag_analytics", input, options);
|
|
3225
3414
|
}
|
|
3415
|
+
/**
|
|
3416
|
+
* Instagram Hashtag Recent Posts
|
|
3417
|
+
*
|
|
3418
|
+
* Instagram posts published under a hashtag, newest first, read from its live chronological feed rather than a web search index. Built for monitoring: results arrive within a couple of minutes of posting, so engagement counts are usually still zero and reels do not appear (Instagram keeps those on a separate tab). For engagement-ranked results use instagram.hashtag_top_posts; for older relevance-ranked results use instagram.search_hashtag.
|
|
3419
|
+
*
|
|
3420
|
+
* Price: $0.0024 per request.
|
|
3421
|
+
*
|
|
3422
|
+
* @example
|
|
3423
|
+
* const res = await client.instagram.hashtagRecentPosts({ hashtag: "skincare" });
|
|
3424
|
+
*/
|
|
3425
|
+
hashtagRecentPosts(input, options) {
|
|
3426
|
+
return this._core.run("instagram.hashtag_recent_posts", input, options);
|
|
3427
|
+
}
|
|
3428
|
+
/**
|
|
3429
|
+
* Iterate every result of Instagram Hashtag Recent Posts across pages.
|
|
3430
|
+
*
|
|
3431
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
3432
|
+
* result pages instead (each carries its own costUsd).
|
|
3433
|
+
*/
|
|
3434
|
+
iterHashtagRecentPosts(input, options) {
|
|
3435
|
+
return paginate(
|
|
3436
|
+
this._core,
|
|
3437
|
+
"instagram.hashtag_recent_posts",
|
|
3438
|
+
input,
|
|
3439
|
+
"posts",
|
|
3440
|
+
false,
|
|
3441
|
+
options
|
|
3442
|
+
);
|
|
3443
|
+
}
|
|
3444
|
+
/**
|
|
3445
|
+
* Instagram Hashtag Top Posts
|
|
3446
|
+
*
|
|
3447
|
+
* Instagram's own top-ranked posts for a hashtag, read from its live hashtag feed rather than a web search index, with view, like, and comment counts. Reels-heavy and engagement-ranked, so it answers what is performing on a tag right now. For older relevance-ranked results with date and media-type filters use instagram.search_hashtag; for the chronological feed use instagram.hashtag_recent_posts.
|
|
3448
|
+
*
|
|
3449
|
+
* Price: $0.018 per request.
|
|
3450
|
+
*
|
|
3451
|
+
* @example
|
|
3452
|
+
* const res = await client.instagram.hashtagTopPosts({ hashtag: "skincare" });
|
|
3453
|
+
*/
|
|
3454
|
+
hashtagTopPosts(input, options) {
|
|
3455
|
+
return this._core.run("instagram.hashtag_top_posts", input, options);
|
|
3456
|
+
}
|
|
3457
|
+
/**
|
|
3458
|
+
* Iterate every result of Instagram Hashtag Top Posts across pages.
|
|
3459
|
+
*
|
|
3460
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
3461
|
+
* result pages instead (each carries its own costUsd).
|
|
3462
|
+
*/
|
|
3463
|
+
iterHashtagTopPosts(input, options) {
|
|
3464
|
+
return paginate(
|
|
3465
|
+
this._core,
|
|
3466
|
+
"instagram.hashtag_top_posts",
|
|
3467
|
+
input,
|
|
3468
|
+
"posts",
|
|
3469
|
+
false,
|
|
3470
|
+
options
|
|
3471
|
+
);
|
|
3472
|
+
}
|
|
3226
3473
|
/**
|
|
3227
3474
|
* Instagram Highlight Detail
|
|
3228
3475
|
*
|
|
@@ -3346,7 +3593,7 @@ var InstagramNamespace = class {
|
|
|
3346
3593
|
/**
|
|
3347
3594
|
* Instagram Hashtag Search
|
|
3348
3595
|
*
|
|
3349
|
-
* Search
|
|
3596
|
+
* Search posts under an Instagram hashtag through a web search index rather than Instagram's own hashtag feed. That is what lets it filter by date and media type and return reels whose like counts have settled, and it is also why results skew older (median around three months) and stop at roughly 110 per hashtag. For Instagram's own live ranking of a tag use instagram.hashtag_top_posts, and for the chronological feed use instagram.hashtag_recent_posts.
|
|
3350
3597
|
*
|
|
3351
3598
|
* Price: $0.002 per request.
|
|
3352
3599
|
*
|
|
@@ -3542,6 +3789,27 @@ var InstagramNamespace = class {
|
|
|
3542
3789
|
}
|
|
3543
3790
|
};
|
|
3544
3791
|
|
|
3792
|
+
// src/generated/platforms/job_search.ts
|
|
3793
|
+
var JobSearchNamespace = class {
|
|
3794
|
+
constructor(_core) {
|
|
3795
|
+
this._core = _core;
|
|
3796
|
+
}
|
|
3797
|
+
_core;
|
|
3798
|
+
/**
|
|
3799
|
+
* Job Search - TheirStack
|
|
3800
|
+
*
|
|
3801
|
+
* Search TheirStack's job-post index by company, technology, keyword, title, seniority, salary, location and how recently the post appeared, and get the hiring company's full firmographic record with every post. Billed per job returned.
|
|
3802
|
+
*
|
|
3803
|
+
* Price: $0 per request plus $0.0672 per result (maximum $9.9456).
|
|
3804
|
+
*
|
|
3805
|
+
* @example
|
|
3806
|
+
* const res = await client.jobSearch.theirstack({ companyDomainOr: ["stripe.com"], limit: 1, postedAtMaxAgeDays: 30 });
|
|
3807
|
+
*/
|
|
3808
|
+
theirstack(input, options) {
|
|
3809
|
+
return this._core.run("job_search.theirstack", input, options);
|
|
3810
|
+
}
|
|
3811
|
+
};
|
|
3812
|
+
|
|
3545
3813
|
// src/generated/platforms/linkedin.ts
|
|
3546
3814
|
var LinkedinNamespace = class {
|
|
3547
3815
|
constructor(_core) {
|
|
@@ -4114,6 +4382,100 @@ var PeopleSearchNamespace = class {
|
|
|
4114
4382
|
crustdataV3(input, options) {
|
|
4115
4383
|
return this._core.run("people_search.crustdata_v3", input, options);
|
|
4116
4384
|
}
|
|
4385
|
+
/**
|
|
4386
|
+
* People Search - FullEnrich
|
|
4387
|
+
*
|
|
4388
|
+
* Prospect FullEnrich's person database by title, seniority, function, skill, language and location, plus any current or past employer firmographic. Every row carries the person's employer record. Billed per person returned.
|
|
4389
|
+
*
|
|
4390
|
+
* Price: $0 per request plus $0.0252 per result (maximum $2.52).
|
|
4391
|
+
*
|
|
4392
|
+
* @example
|
|
4393
|
+
* const res = await client.peopleSearch.fullenrich({ currentCompanyDomains: [{ exact_match: true, value: "stripe.com" }], limit: 1 });
|
|
4394
|
+
*/
|
|
4395
|
+
fullenrich(input, options) {
|
|
4396
|
+
return this._core.run("people_search.fullenrich", input, options);
|
|
4397
|
+
}
|
|
4398
|
+
/**
|
|
4399
|
+
* Iterate every result of People Search - FullEnrich across pages.
|
|
4400
|
+
*
|
|
4401
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
4402
|
+
* result pages instead (each carries its own costUsd).
|
|
4403
|
+
*/
|
|
4404
|
+
iterFullenrich(input, options) {
|
|
4405
|
+
return paginate(
|
|
4406
|
+
this._core,
|
|
4407
|
+
"people_search.fullenrich",
|
|
4408
|
+
input,
|
|
4409
|
+
"people",
|
|
4410
|
+
false,
|
|
4411
|
+
options
|
|
4412
|
+
);
|
|
4413
|
+
}
|
|
4414
|
+
/**
|
|
4415
|
+
* People Search - Lusha
|
|
4416
|
+
*
|
|
4417
|
+
* Prospect Lusha's contact database by department, seniority, job title, location, company size, industry and technology. One flat price per page; reveal a contact's email and phone with Person Enrichment - Lusha.
|
|
4418
|
+
*
|
|
4419
|
+
* Price: $0.084 per request.
|
|
4420
|
+
*
|
|
4421
|
+
* @example
|
|
4422
|
+
* const res = await client.peopleSearch.lusha({ filters: { companies: { include: { names: ["PostHog"] } }, contacts: { include: { departments: ["Engineering & Technical"] } } }, pages: { page: 0, size: 10 } });
|
|
4423
|
+
*/
|
|
4424
|
+
lusha(input, options) {
|
|
4425
|
+
return this._core.run("people_search.lusha", input, options);
|
|
4426
|
+
}
|
|
4427
|
+
/**
|
|
4428
|
+
* People Search - People Data Labs
|
|
4429
|
+
*
|
|
4430
|
+
* Search People Data Labs' person dataset with SQL or an Elasticsearch query. Results carry the professional and firmographic record plus availability flags for contact data; pull the actual email and phone with Person Enrichment - People Data Labs. Billed per profile returned.
|
|
4431
|
+
*
|
|
4432
|
+
* Price: $0 per request plus $0.168 per result (maximum $9.912).
|
|
4433
|
+
*
|
|
4434
|
+
* @example
|
|
4435
|
+
* const res = await client.peopleSearch.peopledatalabs({ limit: 1, sql: "SELECT * FROM person WHERE job_company_website = 'posthog.com'" });
|
|
4436
|
+
*/
|
|
4437
|
+
peopledatalabs(input, options) {
|
|
4438
|
+
return this._core.run("people_search.peopledatalabs", input, options);
|
|
4439
|
+
}
|
|
4440
|
+
/**
|
|
4441
|
+
* People Search - Prospeo
|
|
4442
|
+
*
|
|
4443
|
+
* Prospect Prospeo's contact database by job title, department, seniority, experience, location and any company firmographic. One flat price per page of 25.
|
|
4444
|
+
*
|
|
4445
|
+
* Price: $0.066 per request.
|
|
4446
|
+
*
|
|
4447
|
+
* @example
|
|
4448
|
+
* const res = await client.peopleSearch.prospeo({ company: { websites: { include: ["stripe.com"] } }, page: 1 });
|
|
4449
|
+
*/
|
|
4450
|
+
prospeo(input, options) {
|
|
4451
|
+
return this._core.run("people_search.prospeo", input, options);
|
|
4452
|
+
}
|
|
4453
|
+
/**
|
|
4454
|
+
* People Search - QuickEnrich
|
|
4455
|
+
*
|
|
4456
|
+
* Build a prospect list by title, industry, headcount, revenue, or location, and see which people have a work email or phone on file before you pay to reveal one. Contact values themselves are masked here; use Person Enrichment or the QuickEnrich company contacts search to resolve them.
|
|
4457
|
+
*
|
|
4458
|
+
* Price: $0.0005 per request.
|
|
4459
|
+
*
|
|
4460
|
+
* @example
|
|
4461
|
+
* const res = await client.peopleSearch.quickenrich({ country: { include: ["US"] }, hasEmail: true, limit: 2, title: { include: ["CEO"] } });
|
|
4462
|
+
*/
|
|
4463
|
+
quickenrich(input, options) {
|
|
4464
|
+
return this._core.run("people_search.quickenrich", input, options);
|
|
4465
|
+
}
|
|
4466
|
+
/**
|
|
4467
|
+
* People Search - QuickEnrich Company Contacts
|
|
4468
|
+
*
|
|
4469
|
+
* List the known contacts at one company domain, with work emails and direct phone lines where they are held. Returns up to 20 people per page for a flat per-request price. Coverage is strongest for small and local businesses.
|
|
4470
|
+
*
|
|
4471
|
+
* Price: $0.0072 per request.
|
|
4472
|
+
*
|
|
4473
|
+
* @example
|
|
4474
|
+
* const res = await client.peopleSearch.quickenrichCompany({ companyDomain: "southmemphisfence.com" });
|
|
4475
|
+
*/
|
|
4476
|
+
quickenrichCompany(input, options) {
|
|
4477
|
+
return this._core.run("people_search.quickenrich_company", input, options);
|
|
4478
|
+
}
|
|
4117
4479
|
};
|
|
4118
4480
|
|
|
4119
4481
|
// src/generated/platforms/perplexity.ts
|
|
@@ -4127,7 +4489,7 @@ var PerplexityNamespace = class {
|
|
|
4127
4489
|
*
|
|
4128
4490
|
* Ask Perplexity a web-grounded question and receive an answer with source citations.
|
|
4129
4491
|
*
|
|
4130
|
-
* Price: $0.
|
|
4492
|
+
* Price: $0.00006 per request plus $0.011 per result (maximum $0.0111).
|
|
4131
4493
|
*
|
|
4132
4494
|
* @example
|
|
4133
4495
|
* const res = await client.perplexity.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -4177,6 +4539,101 @@ var PersonEnrichmentNamespace = class {
|
|
|
4177
4539
|
aviato(input, options) {
|
|
4178
4540
|
return this._core.run("person_enrichment.aviato", input, options);
|
|
4179
4541
|
}
|
|
4542
|
+
/**
|
|
4543
|
+
* Person Enrichment - BetterContact
|
|
4544
|
+
*
|
|
4545
|
+
* Run one contact through BetterContact's email waterfall from a name plus company domain or a LinkedIn URL, and get the winning address with its deliverability verdict, the provider that found it, and the employer record. Only a matched contact is billable.
|
|
4546
|
+
*
|
|
4547
|
+
* Price: $0.0828 per request.
|
|
4548
|
+
*
|
|
4549
|
+
* @example
|
|
4550
|
+
* const res = await client.personEnrichment.bettercontact({ firstName: "Patrick", lastName: "Collison", companyDomain: "stripe.com", linkedinUrl: "https://www.linkedin.com/in/patrickcollison" });
|
|
4551
|
+
*/
|
|
4552
|
+
bettercontact(input, options) {
|
|
4553
|
+
return this._core.run("person_enrichment.bettercontact", input, options);
|
|
4554
|
+
}
|
|
4555
|
+
/**
|
|
4556
|
+
* Bulk Person Enrichment - FullEnrich
|
|
4557
|
+
*
|
|
4558
|
+
* Run FullEnrich's waterfall on up to 99 people in one call and get back work emails, personal emails and mobile numbers, each with a deliverability status, alongside the full LinkedIn-grade profile and employer record for everyone matched. Only the contacts it matches are returned, and only those are billed.
|
|
4559
|
+
*
|
|
4560
|
+
* Price: $0 per request plus $0.1008 per result (maximum $9.9792).
|
|
4561
|
+
*
|
|
4562
|
+
* @example
|
|
4563
|
+
* const res = await client.personEnrichment.fullenrichBulk({ contacts: [{ custom: { row: "1" }, domain: "stripe.com", enrich_fields: ["contact.emails", "contact.personal_emails"], first_name: "Patrick", last_name: "Collison" }, { company_name: "Figma", custom: { row: "2" }, enrich_fields: ["contact.emails"], first_name: "Dylan", last_name: "Field", linkedin_url: "https://www.linkedin.com/in/dylanfield" }] });
|
|
4564
|
+
*/
|
|
4565
|
+
fullenrichBulk(input, options) {
|
|
4566
|
+
return this._core.run("person_enrichment.fullenrich_bulk", input, options);
|
|
4567
|
+
}
|
|
4568
|
+
/**
|
|
4569
|
+
* Reverse Email Lookup - FullEnrich
|
|
4570
|
+
*
|
|
4571
|
+
* Turn up to 99 email addresses into the people behind them: name, headline, location, LinkedIn profile, current title and seniority, full employment history, education, languages and skills, plus the employer record. Only the addresses it resolves are returned, and only those are billed.
|
|
4572
|
+
*
|
|
4573
|
+
* Price: $0 per request plus $0.1008 per result (maximum $9.9792).
|
|
4574
|
+
*
|
|
4575
|
+
* @example
|
|
4576
|
+
* const res = await client.personEnrichment.fullenrichReverseEmail({ contacts: [{ custom: { row: "1" }, email: "dfield@figma.com" }, { custom: { row: "2" }, email: "patrick@stripe.com" }] });
|
|
4577
|
+
*/
|
|
4578
|
+
fullenrichReverseEmail(input, options) {
|
|
4579
|
+
return this._core.run(
|
|
4580
|
+
"person_enrichment.fullenrich_reverse_email",
|
|
4581
|
+
input,
|
|
4582
|
+
options
|
|
4583
|
+
);
|
|
4584
|
+
}
|
|
4585
|
+
/**
|
|
4586
|
+
* Person Enrichment - Lusha
|
|
4587
|
+
*
|
|
4588
|
+
* Enrich one person into work email, direct dial, job title and employer firmographics from a LinkedIn URL, an email, or a name plus company.
|
|
4589
|
+
*
|
|
4590
|
+
* Price: $0.084 per request.
|
|
4591
|
+
*
|
|
4592
|
+
* @example
|
|
4593
|
+
* const res = await client.personEnrichment.lusha({ linkedinUrl: "https://www.linkedin.com/in/tim-zheng" });
|
|
4594
|
+
*/
|
|
4595
|
+
lusha(input, options) {
|
|
4596
|
+
return this._core.run("person_enrichment.lusha", input, options);
|
|
4597
|
+
}
|
|
4598
|
+
/**
|
|
4599
|
+
* Person Enrichment - People Data Labs
|
|
4600
|
+
*
|
|
4601
|
+
* Enrich one person into work email, personal emails, mobile phone, full work history, education and employer firmographics from any identifier People Data Labs can match on.
|
|
4602
|
+
*
|
|
4603
|
+
* Price: $0.24 per request.
|
|
4604
|
+
*
|
|
4605
|
+
* @example
|
|
4606
|
+
* const res = await client.personEnrichment.peopledatalabs({ profile: "https://www.linkedin.com/in/dharmesh" });
|
|
4607
|
+
*/
|
|
4608
|
+
peopledatalabs(input, options) {
|
|
4609
|
+
return this._core.run("person_enrichment.peopledatalabs", input, options);
|
|
4610
|
+
}
|
|
4611
|
+
/**
|
|
4612
|
+
* Person Enrichment - Prospeo
|
|
4613
|
+
*
|
|
4614
|
+
* Enrich one person into work email, mobile phone, full job history and employer firmographics from a LinkedIn URL, an email, or a name plus company domain.
|
|
4615
|
+
*
|
|
4616
|
+
* Price: $0.066 per request.
|
|
4617
|
+
*
|
|
4618
|
+
* @example
|
|
4619
|
+
* const res = await client.personEnrichment.prospeo({ linkedinUrl: "https://www.linkedin.com/in/dharmesh" });
|
|
4620
|
+
*/
|
|
4621
|
+
prospeo(input, options) {
|
|
4622
|
+
return this._core.run("person_enrichment.prospeo", input, options);
|
|
4623
|
+
}
|
|
4624
|
+
/**
|
|
4625
|
+
* Person Enrichment - QuickEnrich
|
|
4626
|
+
*
|
|
4627
|
+
* Turn a work email into the person behind it: name, title, LinkedIn, and their employer's firmographics. Coverage is strongest for small and local businesses.
|
|
4628
|
+
*
|
|
4629
|
+
* Price: $0.0072 per request.
|
|
4630
|
+
*
|
|
4631
|
+
* @example
|
|
4632
|
+
* const res = await client.personEnrichment.quickenrich({ email: "wprice@southmemphisfence.com" });
|
|
4633
|
+
*/
|
|
4634
|
+
quickenrich(input, options) {
|
|
4635
|
+
return this._core.run("person_enrichment.quickenrich", input, options);
|
|
4636
|
+
}
|
|
4180
4637
|
};
|
|
4181
4638
|
|
|
4182
4639
|
// src/generated/platforms/pinterest.ts
|
|
@@ -4413,7 +4870,7 @@ var RedditNamespace = class {
|
|
|
4413
4870
|
*
|
|
4414
4871
|
* Search posts within a single subreddit by query, sort, and timeframe.
|
|
4415
4872
|
*
|
|
4416
|
-
* Price: $0.
|
|
4873
|
+
* Price: $0.0009 per request.
|
|
4417
4874
|
*
|
|
4418
4875
|
* @example
|
|
4419
4876
|
* const res = await client.reddit.subredditSearch({ subreddit: "Fitness", query: "push ups" });
|
|
@@ -5120,6 +5577,27 @@ var SubstackNamespace = class {
|
|
|
5120
5577
|
}
|
|
5121
5578
|
};
|
|
5122
5579
|
|
|
5580
|
+
// src/generated/platforms/technographics.ts
|
|
5581
|
+
var TechnographicsNamespace = class {
|
|
5582
|
+
constructor(_core) {
|
|
5583
|
+
this._core = _core;
|
|
5584
|
+
}
|
|
5585
|
+
_core;
|
|
5586
|
+
/**
|
|
5587
|
+
* Technographics - TheirStack
|
|
5588
|
+
*
|
|
5589
|
+
* Read the technology stack TheirStack detects for a company from its job posts, with how many posts mention each technology, when it was first and last seen, and how dominant it is within its category. Billed per technology returned.
|
|
5590
|
+
*
|
|
5591
|
+
* Price: $0 per request plus $0.1992 per result (maximum $9.96).
|
|
5592
|
+
*
|
|
5593
|
+
* @example
|
|
5594
|
+
* const res = await client.technographics.theirstack({ companyDomain: "posthog.com", limit: 1 });
|
|
5595
|
+
*/
|
|
5596
|
+
theirstack(input, options) {
|
|
5597
|
+
return this._core.run("technographics.theirstack", input, options);
|
|
5598
|
+
}
|
|
5599
|
+
};
|
|
5600
|
+
|
|
5123
5601
|
// src/generated/platforms/threads.ts
|
|
5124
5602
|
var ThreadsNamespace = class {
|
|
5125
5603
|
constructor(_core) {
|
|
@@ -5396,6 +5874,19 @@ var TiktokNamespace = class {
|
|
|
5396
5874
|
live(input, options) {
|
|
5397
5875
|
return this._core.run("tiktok.live", input, options);
|
|
5398
5876
|
}
|
|
5877
|
+
/**
|
|
5878
|
+
* TikTok Photos
|
|
5879
|
+
*
|
|
5880
|
+
* Get every image in a TikTok photo-mode (slideshow) post by URL, in order, with pixel dimensions and both the clean and watermarked variant of each. Videos carry no images - use tiktok.video_download for those.
|
|
5881
|
+
*
|
|
5882
|
+
* Price: $0.0012 per request.
|
|
5883
|
+
*
|
|
5884
|
+
* @example
|
|
5885
|
+
* const res = await client.tiktok.photos({ url: "https://www.tiktok.com/@foodbyfranchi/video/7479916555602513174" });
|
|
5886
|
+
*/
|
|
5887
|
+
photos(input, options) {
|
|
5888
|
+
return this._core.run("tiktok.photos", input, options);
|
|
5889
|
+
}
|
|
5399
5890
|
/**
|
|
5400
5891
|
* TikTok Profile
|
|
5401
5892
|
*
|
|
@@ -5690,6 +6181,19 @@ var TiktokNamespace = class {
|
|
|
5690
6181
|
options
|
|
5691
6182
|
);
|
|
5692
6183
|
}
|
|
6184
|
+
/**
|
|
6185
|
+
* TikTok Video Download
|
|
6186
|
+
*
|
|
6187
|
+
* Get the playable media files behind a TikTok video URL: the clean no-watermark MP4, the watermarked one TikTok's own save button produces, and the cover image, with duration and pixel dimensions. Photo-mode posts carry no video file - use tiktok.photos for those.
|
|
6188
|
+
*
|
|
6189
|
+
* Price: $0.0012 per request.
|
|
6190
|
+
*
|
|
6191
|
+
* @example
|
|
6192
|
+
* const res = await client.tiktok.videoDownload({ url: "https://www.tiktok.com/@mrbeast/video/7654638524729216287" });
|
|
6193
|
+
*/
|
|
6194
|
+
videoDownload(input, options) {
|
|
6195
|
+
return this._core.run("tiktok.video_download", input, options);
|
|
6196
|
+
}
|
|
5693
6197
|
/**
|
|
5694
6198
|
* TikTok Video Transcript
|
|
5695
6199
|
*
|
|
@@ -6410,7 +6914,7 @@ var WebNamespace = class {
|
|
|
6410
6914
|
*
|
|
6411
6915
|
* Capture a real-browser screenshot of any web page URL.
|
|
6412
6916
|
*
|
|
6413
|
-
* Price: $0 per request plus $0
|
|
6917
|
+
* Price: $0.00174 per request plus $0 per result (maximum $0.00174).
|
|
6414
6918
|
*
|
|
6415
6919
|
* @example
|
|
6416
6920
|
* const res = await client.web.screenshot({ url: "https://example.com" });
|
|
@@ -7318,6 +7822,14 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
7318
7822
|
this._core
|
|
7319
7823
|
);
|
|
7320
7824
|
}
|
|
7825
|
+
/**
|
|
7826
|
+
* Typed methods for the job_search platform.
|
|
7827
|
+
*/
|
|
7828
|
+
get jobSearch() {
|
|
7829
|
+
return this._namespaces["jobSearch"] ??= new JobSearchNamespace(
|
|
7830
|
+
this._core
|
|
7831
|
+
);
|
|
7832
|
+
}
|
|
7321
7833
|
/**
|
|
7322
7834
|
* Typed methods for the linkedin platform.
|
|
7323
7835
|
*/
|
|
@@ -7500,6 +8012,14 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
7500
8012
|
this._core
|
|
7501
8013
|
);
|
|
7502
8014
|
}
|
|
8015
|
+
/**
|
|
8016
|
+
* Typed methods for the technographics platform.
|
|
8017
|
+
*/
|
|
8018
|
+
get technographics() {
|
|
8019
|
+
return this._namespaces["technographics"] ??= new TechnographicsNamespace(
|
|
8020
|
+
this._core
|
|
8021
|
+
);
|
|
8022
|
+
}
|
|
7503
8023
|
/**
|
|
7504
8024
|
* Typed methods for the threads platform.
|
|
7505
8025
|
*/
|
|
@@ -7670,6 +8190,7 @@ export {
|
|
|
7670
8190
|
IndeedNamespace,
|
|
7671
8191
|
InstagramNamespace,
|
|
7672
8192
|
InsufficientBalanceError,
|
|
8193
|
+
JobSearchNamespace,
|
|
7673
8194
|
LinkedinNamespace,
|
|
7674
8195
|
MapsNamespace,
|
|
7675
8196
|
MobilePhoneNamespace,
|
|
@@ -7697,6 +8218,7 @@ export {
|
|
|
7697
8218
|
SocialNamespace,
|
|
7698
8219
|
SpotifyNamespace,
|
|
7699
8220
|
SubstackNamespace,
|
|
8221
|
+
TechnographicsNamespace,
|
|
7700
8222
|
ThreadsNamespace,
|
|
7701
8223
|
TiktokNamespace,
|
|
7702
8224
|
TiktokShopNamespace,
|