@getanyapi/sdk 0.29.0 → 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 +531 -7
- 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 +529 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -60,6 +60,7 @@ __export(index_exports, {
|
|
|
60
60
|
IndeedNamespace: () => IndeedNamespace,
|
|
61
61
|
InstagramNamespace: () => InstagramNamespace,
|
|
62
62
|
InsufficientBalanceError: () => InsufficientBalanceError,
|
|
63
|
+
JobSearchNamespace: () => JobSearchNamespace,
|
|
63
64
|
LinkedinNamespace: () => LinkedinNamespace,
|
|
64
65
|
MapsNamespace: () => MapsNamespace,
|
|
65
66
|
MobilePhoneNamespace: () => MobilePhoneNamespace,
|
|
@@ -87,6 +88,7 @@ __export(index_exports, {
|
|
|
87
88
|
SocialNamespace: () => SocialNamespace,
|
|
88
89
|
SpotifyNamespace: () => SpotifyNamespace,
|
|
89
90
|
SubstackNamespace: () => SubstackNamespace,
|
|
91
|
+
TechnographicsNamespace: () => TechnographicsNamespace,
|
|
90
92
|
ThreadsNamespace: () => ThreadsNamespace,
|
|
91
93
|
TiktokNamespace: () => TiktokNamespace,
|
|
92
94
|
TiktokShopNamespace: () => TiktokShopNamespace,
|
|
@@ -1613,6 +1615,45 @@ var CompanyEnrichmentNamespace = class {
|
|
|
1613
1615
|
crustdataV3(input, options) {
|
|
1614
1616
|
return this._core.run("company_enrichment.crustdata_v3", input, options);
|
|
1615
1617
|
}
|
|
1618
|
+
/**
|
|
1619
|
+
* Company Enrichment - Lusha
|
|
1620
|
+
*
|
|
1621
|
+
* Enrich one company into firmographics, industry classification, headcount, revenue band and social profiles from a domain, a company name, or a Lusha company id.
|
|
1622
|
+
*
|
|
1623
|
+
* Price: $0.084 per request.
|
|
1624
|
+
*
|
|
1625
|
+
* @example
|
|
1626
|
+
* const res = await client.companyEnrichment.lusha({ domain: "posthog.com" });
|
|
1627
|
+
*/
|
|
1628
|
+
lusha(input, options) {
|
|
1629
|
+
return this._core.run("company_enrichment.lusha", input, options);
|
|
1630
|
+
}
|
|
1631
|
+
/**
|
|
1632
|
+
* Company Enrichment - People Data Labs
|
|
1633
|
+
*
|
|
1634
|
+
* 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.
|
|
1635
|
+
*
|
|
1636
|
+
* Price: $0.12 per request.
|
|
1637
|
+
*
|
|
1638
|
+
* @example
|
|
1639
|
+
* const res = await client.companyEnrichment.peopledatalabs({ domain: "posthog.com" });
|
|
1640
|
+
*/
|
|
1641
|
+
peopledatalabs(input, options) {
|
|
1642
|
+
return this._core.run("company_enrichment.peopledatalabs", input, options);
|
|
1643
|
+
}
|
|
1644
|
+
/**
|
|
1645
|
+
* Company Enrichment - Prospeo
|
|
1646
|
+
*
|
|
1647
|
+
* 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.
|
|
1648
|
+
*
|
|
1649
|
+
* Price: $0.066 per request.
|
|
1650
|
+
*
|
|
1651
|
+
* @example
|
|
1652
|
+
* const res = await client.companyEnrichment.prospeo({ companyWebsite: "stripe.com" });
|
|
1653
|
+
*/
|
|
1654
|
+
prospeo(input, options) {
|
|
1655
|
+
return this._core.run("company_enrichment.prospeo", input, options);
|
|
1656
|
+
}
|
|
1616
1657
|
};
|
|
1617
1658
|
|
|
1618
1659
|
// src/generated/platforms/company_search.ts
|
|
@@ -1639,7 +1680,7 @@ var CompanySearchNamespace = class {
|
|
|
1639
1680
|
*
|
|
1640
1681
|
* Search companies by structured filters with cursor pagination.
|
|
1641
1682
|
*
|
|
1642
|
-
* Price: $0 per request plus $0.048 per result (maximum $
|
|
1683
|
+
* Price: $0 per request plus $0.048 per result (maximum $12).
|
|
1643
1684
|
*
|
|
1644
1685
|
* @example
|
|
1645
1686
|
* const res = await client.companySearch.crustdataV3({ filters: [{ filter_type: "company_website_domain", type: "(.)", value: "posthog.com" }], limit: 1 });
|
|
@@ -1663,6 +1704,87 @@ var CompanySearchNamespace = class {
|
|
|
1663
1704
|
options
|
|
1664
1705
|
);
|
|
1665
1706
|
}
|
|
1707
|
+
/**
|
|
1708
|
+
* Company Search - FullEnrich
|
|
1709
|
+
*
|
|
1710
|
+
* 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.
|
|
1711
|
+
*
|
|
1712
|
+
* Price: $0 per request plus $0.0252 per result (maximum $2.52).
|
|
1713
|
+
*
|
|
1714
|
+
* @example
|
|
1715
|
+
* const res = await client.companySearch.fullenrich({ domains: [{ exact_match: true, value: "stripe.com" }], limit: 1 });
|
|
1716
|
+
*/
|
|
1717
|
+
fullenrich(input, options) {
|
|
1718
|
+
return this._core.run("company_search.fullenrich", input, options);
|
|
1719
|
+
}
|
|
1720
|
+
/**
|
|
1721
|
+
* Iterate every result of Company Search - FullEnrich across pages.
|
|
1722
|
+
*
|
|
1723
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
1724
|
+
* result pages instead (each carries its own costUsd).
|
|
1725
|
+
*/
|
|
1726
|
+
iterFullenrich(input, options) {
|
|
1727
|
+
return paginate(
|
|
1728
|
+
this._core,
|
|
1729
|
+
"company_search.fullenrich",
|
|
1730
|
+
input,
|
|
1731
|
+
"companies",
|
|
1732
|
+
false,
|
|
1733
|
+
options
|
|
1734
|
+
);
|
|
1735
|
+
}
|
|
1736
|
+
/**
|
|
1737
|
+
* Company Search - People Data Labs
|
|
1738
|
+
*
|
|
1739
|
+
* 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.
|
|
1740
|
+
*
|
|
1741
|
+
* Price: $0 per request plus $0.12 per result (maximum $9.96).
|
|
1742
|
+
*
|
|
1743
|
+
* @example
|
|
1744
|
+
* const res = await client.companySearch.peopledatalabs({ limit: 1, sql: "SELECT * FROM company WHERE website = 'posthog.com'" });
|
|
1745
|
+
*/
|
|
1746
|
+
peopledatalabs(input, options) {
|
|
1747
|
+
return this._core.run("company_search.peopledatalabs", input, options);
|
|
1748
|
+
}
|
|
1749
|
+
/**
|
|
1750
|
+
* Company Search - Prospeo
|
|
1751
|
+
*
|
|
1752
|
+
* Build an account list from Prospeo by industry, headcount, revenue, location, technology, funding and hiring activity. One flat price per page of 25.
|
|
1753
|
+
*
|
|
1754
|
+
* Price: $0.066 per request.
|
|
1755
|
+
*
|
|
1756
|
+
* @example
|
|
1757
|
+
* const res = await client.companySearch.prospeo({ company: { websites: { include: ["stripe.com"] } }, page: 1 });
|
|
1758
|
+
*/
|
|
1759
|
+
prospeo(input, options) {
|
|
1760
|
+
return this._core.run("company_search.prospeo", input, options);
|
|
1761
|
+
}
|
|
1762
|
+
/**
|
|
1763
|
+
* Company Search - QuickEnrich
|
|
1764
|
+
*
|
|
1765
|
+
* Find companies by name, domain, industry, headcount, revenue, services, or location, and get back their site, LinkedIn, and contact details. Billed per company returned.
|
|
1766
|
+
*
|
|
1767
|
+
* Price: $0 per request plus $0.0072 per result (maximum $0.72).
|
|
1768
|
+
*
|
|
1769
|
+
* @example
|
|
1770
|
+
* const res = await client.companySearch.quickenrich({ country: { include: ["US"] }, employeeCount: { include: ["20 - 99"] }, limit: 2 });
|
|
1771
|
+
*/
|
|
1772
|
+
quickenrich(input, options) {
|
|
1773
|
+
return this._core.run("company_search.quickenrich", input, options);
|
|
1774
|
+
}
|
|
1775
|
+
/**
|
|
1776
|
+
* Company Search - TheirStack
|
|
1777
|
+
*
|
|
1778
|
+
* 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.
|
|
1779
|
+
*
|
|
1780
|
+
* Price: $0 per request plus $0.1992 per result (maximum $9.96).
|
|
1781
|
+
*
|
|
1782
|
+
* @example
|
|
1783
|
+
* const res = await client.companySearch.theirstack({ companyDomainOr: ["posthog.com"], limit: 1 });
|
|
1784
|
+
*/
|
|
1785
|
+
theirstack(input, options) {
|
|
1786
|
+
return this._core.run("company_search.theirstack", input, options);
|
|
1787
|
+
}
|
|
1666
1788
|
};
|
|
1667
1789
|
|
|
1668
1790
|
// src/generated/platforms/congress.ts
|
|
@@ -1932,6 +2054,45 @@ var EmailFindingNamespace = class {
|
|
|
1932
2054
|
icypeas(input, options) {
|
|
1933
2055
|
return this._core.run("email_finding.icypeas", input, options);
|
|
1934
2056
|
}
|
|
2057
|
+
/**
|
|
2058
|
+
* Email Finding - QuickEnrich
|
|
2059
|
+
*
|
|
2060
|
+
* 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.
|
|
2061
|
+
*
|
|
2062
|
+
* Price: $0.0072 per request.
|
|
2063
|
+
*
|
|
2064
|
+
* @example
|
|
2065
|
+
* const res = await client.emailFinding.quickenrich({ companyDomain: "southmemphisfence.com", firstName: "Warren", lastName: "Price" });
|
|
2066
|
+
*/
|
|
2067
|
+
quickenrich(input, options) {
|
|
2068
|
+
return this._core.run("email_finding.quickenrich", input, options);
|
|
2069
|
+
}
|
|
2070
|
+
/**
|
|
2071
|
+
* Email Finding - ZeroBounce
|
|
2072
|
+
*
|
|
2073
|
+
* Find a person's work email at a company domain from their name, with ZeroBounce's confidence in the guess.
|
|
2074
|
+
*
|
|
2075
|
+
* Price: $0.6552 per request.
|
|
2076
|
+
*
|
|
2077
|
+
* @example
|
|
2078
|
+
* const res = await client.emailFinding.zerobounce({ domain: "hubspot.com", firstName: "Dharmesh", lastName: "Shah" });
|
|
2079
|
+
*/
|
|
2080
|
+
zerobounce(input, options) {
|
|
2081
|
+
return this._core.run("email_finding.zerobounce", input, options);
|
|
2082
|
+
}
|
|
2083
|
+
/**
|
|
2084
|
+
* Email Pattern - ZeroBounce
|
|
2085
|
+
*
|
|
2086
|
+
* 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.
|
|
2087
|
+
*
|
|
2088
|
+
* Price: $0.6552 per request.
|
|
2089
|
+
*
|
|
2090
|
+
* @example
|
|
2091
|
+
* const res = await client.emailFinding.zerobounceDomain({ domain: "hubspot.com" });
|
|
2092
|
+
*/
|
|
2093
|
+
zerobounceDomain(input, options) {
|
|
2094
|
+
return this._core.run("email_finding.zerobounce_domain", input, options);
|
|
2095
|
+
}
|
|
1935
2096
|
};
|
|
1936
2097
|
|
|
1937
2098
|
// src/generated/platforms/email_verification.ts
|
|
@@ -1979,6 +2140,36 @@ var EmailVerificationNamespace = class {
|
|
|
1979
2140
|
icypeas(input, options) {
|
|
1980
2141
|
return this._core.run("email_verification.icypeas", input, options);
|
|
1981
2142
|
}
|
|
2143
|
+
/**
|
|
2144
|
+
* Email Verification - ZeroBounce
|
|
2145
|
+
*
|
|
2146
|
+
* 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.
|
|
2147
|
+
*
|
|
2148
|
+
* Price: $0.0336 per request.
|
|
2149
|
+
*
|
|
2150
|
+
* @example
|
|
2151
|
+
* const res = await client.emailVerification.zerobounce({ email: "tim@apollo.io" });
|
|
2152
|
+
*/
|
|
2153
|
+
zerobounce(input, options) {
|
|
2154
|
+
return this._core.run("email_verification.zerobounce", input, options);
|
|
2155
|
+
}
|
|
2156
|
+
/**
|
|
2157
|
+
* Email Activity - ZeroBounce
|
|
2158
|
+
*
|
|
2159
|
+
* 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.
|
|
2160
|
+
*
|
|
2161
|
+
* Price: $0.0336 per request.
|
|
2162
|
+
*
|
|
2163
|
+
* @example
|
|
2164
|
+
* const res = await client.emailVerification.zerobounceActivity({ email: "dshah@hubspot.com" });
|
|
2165
|
+
*/
|
|
2166
|
+
zerobounceActivity(input, options) {
|
|
2167
|
+
return this._core.run(
|
|
2168
|
+
"email_verification.zerobounce_activity",
|
|
2169
|
+
input,
|
|
2170
|
+
options
|
|
2171
|
+
);
|
|
2172
|
+
}
|
|
1982
2173
|
};
|
|
1983
2174
|
|
|
1984
2175
|
// src/generated/platforms/facebook.ts
|
|
@@ -3336,6 +3527,64 @@ var InstagramNamespace = class {
|
|
|
3336
3527
|
hashtagAnalytics(input, options) {
|
|
3337
3528
|
return this._core.run("instagram.hashtag_analytics", input, options);
|
|
3338
3529
|
}
|
|
3530
|
+
/**
|
|
3531
|
+
* Instagram Hashtag Recent Posts
|
|
3532
|
+
*
|
|
3533
|
+
* 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.
|
|
3534
|
+
*
|
|
3535
|
+
* Price: $0.0024 per request.
|
|
3536
|
+
*
|
|
3537
|
+
* @example
|
|
3538
|
+
* const res = await client.instagram.hashtagRecentPosts({ hashtag: "skincare" });
|
|
3539
|
+
*/
|
|
3540
|
+
hashtagRecentPosts(input, options) {
|
|
3541
|
+
return this._core.run("instagram.hashtag_recent_posts", input, options);
|
|
3542
|
+
}
|
|
3543
|
+
/**
|
|
3544
|
+
* Iterate every result of Instagram Hashtag Recent Posts across pages.
|
|
3545
|
+
*
|
|
3546
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
3547
|
+
* result pages instead (each carries its own costUsd).
|
|
3548
|
+
*/
|
|
3549
|
+
iterHashtagRecentPosts(input, options) {
|
|
3550
|
+
return paginate(
|
|
3551
|
+
this._core,
|
|
3552
|
+
"instagram.hashtag_recent_posts",
|
|
3553
|
+
input,
|
|
3554
|
+
"posts",
|
|
3555
|
+
false,
|
|
3556
|
+
options
|
|
3557
|
+
);
|
|
3558
|
+
}
|
|
3559
|
+
/**
|
|
3560
|
+
* Instagram Hashtag Top Posts
|
|
3561
|
+
*
|
|
3562
|
+
* 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.
|
|
3563
|
+
*
|
|
3564
|
+
* Price: $0.018 per request.
|
|
3565
|
+
*
|
|
3566
|
+
* @example
|
|
3567
|
+
* const res = await client.instagram.hashtagTopPosts({ hashtag: "skincare" });
|
|
3568
|
+
*/
|
|
3569
|
+
hashtagTopPosts(input, options) {
|
|
3570
|
+
return this._core.run("instagram.hashtag_top_posts", input, options);
|
|
3571
|
+
}
|
|
3572
|
+
/**
|
|
3573
|
+
* Iterate every result of Instagram Hashtag Top Posts across pages.
|
|
3574
|
+
*
|
|
3575
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
3576
|
+
* result pages instead (each carries its own costUsd).
|
|
3577
|
+
*/
|
|
3578
|
+
iterHashtagTopPosts(input, options) {
|
|
3579
|
+
return paginate(
|
|
3580
|
+
this._core,
|
|
3581
|
+
"instagram.hashtag_top_posts",
|
|
3582
|
+
input,
|
|
3583
|
+
"posts",
|
|
3584
|
+
false,
|
|
3585
|
+
options
|
|
3586
|
+
);
|
|
3587
|
+
}
|
|
3339
3588
|
/**
|
|
3340
3589
|
* Instagram Highlight Detail
|
|
3341
3590
|
*
|
|
@@ -3459,7 +3708,7 @@ var InstagramNamespace = class {
|
|
|
3459
3708
|
/**
|
|
3460
3709
|
* Instagram Hashtag Search
|
|
3461
3710
|
*
|
|
3462
|
-
* Search
|
|
3711
|
+
* 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.
|
|
3463
3712
|
*
|
|
3464
3713
|
* Price: $0.002 per request.
|
|
3465
3714
|
*
|
|
@@ -3600,7 +3849,7 @@ var InstagramNamespace = class {
|
|
|
3600
3849
|
*
|
|
3601
3850
|
* List an Instagram account's recent posts (likes, comments, captions) by handle with cursor pagination.
|
|
3602
3851
|
*
|
|
3603
|
-
* Price: $0.
|
|
3852
|
+
* Price: $0.002 per request.
|
|
3604
3853
|
*
|
|
3605
3854
|
* @example
|
|
3606
3855
|
* const res = await client.instagram.userPosts({ handle: "nasa" });
|
|
@@ -3629,7 +3878,7 @@ var InstagramNamespace = class {
|
|
|
3629
3878
|
*
|
|
3630
3879
|
* List an Instagram account's reels by handle with cursor pagination (caption, plays, likes, comments).
|
|
3631
3880
|
*
|
|
3632
|
-
* Price: $0.
|
|
3881
|
+
* Price: $0.002 per request.
|
|
3633
3882
|
*
|
|
3634
3883
|
* @example
|
|
3635
3884
|
* const res = await client.instagram.userReels({ handle: "nasa" });
|
|
@@ -3655,6 +3904,27 @@ var InstagramNamespace = class {
|
|
|
3655
3904
|
}
|
|
3656
3905
|
};
|
|
3657
3906
|
|
|
3907
|
+
// src/generated/platforms/job_search.ts
|
|
3908
|
+
var JobSearchNamespace = class {
|
|
3909
|
+
constructor(_core) {
|
|
3910
|
+
this._core = _core;
|
|
3911
|
+
}
|
|
3912
|
+
_core;
|
|
3913
|
+
/**
|
|
3914
|
+
* Job Search - TheirStack
|
|
3915
|
+
*
|
|
3916
|
+
* 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.
|
|
3917
|
+
*
|
|
3918
|
+
* Price: $0 per request plus $0.0672 per result (maximum $9.9456).
|
|
3919
|
+
*
|
|
3920
|
+
* @example
|
|
3921
|
+
* const res = await client.jobSearch.theirstack({ companyDomainOr: ["stripe.com"], limit: 1, postedAtMaxAgeDays: 30 });
|
|
3922
|
+
*/
|
|
3923
|
+
theirstack(input, options) {
|
|
3924
|
+
return this._core.run("job_search.theirstack", input, options);
|
|
3925
|
+
}
|
|
3926
|
+
};
|
|
3927
|
+
|
|
3658
3928
|
// src/generated/platforms/linkedin.ts
|
|
3659
3929
|
var LinkedinNamespace = class {
|
|
3660
3930
|
constructor(_core) {
|
|
@@ -4227,6 +4497,100 @@ var PeopleSearchNamespace = class {
|
|
|
4227
4497
|
crustdataV3(input, options) {
|
|
4228
4498
|
return this._core.run("people_search.crustdata_v3", input, options);
|
|
4229
4499
|
}
|
|
4500
|
+
/**
|
|
4501
|
+
* People Search - FullEnrich
|
|
4502
|
+
*
|
|
4503
|
+
* 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.
|
|
4504
|
+
*
|
|
4505
|
+
* Price: $0 per request plus $0.0252 per result (maximum $2.52).
|
|
4506
|
+
*
|
|
4507
|
+
* @example
|
|
4508
|
+
* const res = await client.peopleSearch.fullenrich({ currentCompanyDomains: [{ exact_match: true, value: "stripe.com" }], limit: 1 });
|
|
4509
|
+
*/
|
|
4510
|
+
fullenrich(input, options) {
|
|
4511
|
+
return this._core.run("people_search.fullenrich", input, options);
|
|
4512
|
+
}
|
|
4513
|
+
/**
|
|
4514
|
+
* Iterate every result of People Search - FullEnrich across pages.
|
|
4515
|
+
*
|
|
4516
|
+
* Yields items directly; call `.pages()` on the return value to walk whole
|
|
4517
|
+
* result pages instead (each carries its own costUsd).
|
|
4518
|
+
*/
|
|
4519
|
+
iterFullenrich(input, options) {
|
|
4520
|
+
return paginate(
|
|
4521
|
+
this._core,
|
|
4522
|
+
"people_search.fullenrich",
|
|
4523
|
+
input,
|
|
4524
|
+
"people",
|
|
4525
|
+
false,
|
|
4526
|
+
options
|
|
4527
|
+
);
|
|
4528
|
+
}
|
|
4529
|
+
/**
|
|
4530
|
+
* People Search - Lusha
|
|
4531
|
+
*
|
|
4532
|
+
* 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.
|
|
4533
|
+
*
|
|
4534
|
+
* Price: $0.084 per request.
|
|
4535
|
+
*
|
|
4536
|
+
* @example
|
|
4537
|
+
* const res = await client.peopleSearch.lusha({ filters: { companies: { include: { names: ["PostHog"] } }, contacts: { include: { departments: ["Engineering & Technical"] } } }, pages: { page: 0, size: 10 } });
|
|
4538
|
+
*/
|
|
4539
|
+
lusha(input, options) {
|
|
4540
|
+
return this._core.run("people_search.lusha", input, options);
|
|
4541
|
+
}
|
|
4542
|
+
/**
|
|
4543
|
+
* People Search - People Data Labs
|
|
4544
|
+
*
|
|
4545
|
+
* 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.
|
|
4546
|
+
*
|
|
4547
|
+
* Price: $0 per request plus $0.168 per result (maximum $9.912).
|
|
4548
|
+
*
|
|
4549
|
+
* @example
|
|
4550
|
+
* const res = await client.peopleSearch.peopledatalabs({ limit: 1, sql: "SELECT * FROM person WHERE job_company_website = 'posthog.com'" });
|
|
4551
|
+
*/
|
|
4552
|
+
peopledatalabs(input, options) {
|
|
4553
|
+
return this._core.run("people_search.peopledatalabs", input, options);
|
|
4554
|
+
}
|
|
4555
|
+
/**
|
|
4556
|
+
* People Search - Prospeo
|
|
4557
|
+
*
|
|
4558
|
+
* Prospect Prospeo's contact database by job title, department, seniority, experience, location and any company firmographic. One flat price per page of 25.
|
|
4559
|
+
*
|
|
4560
|
+
* Price: $0.066 per request.
|
|
4561
|
+
*
|
|
4562
|
+
* @example
|
|
4563
|
+
* const res = await client.peopleSearch.prospeo({ company: { websites: { include: ["stripe.com"] } }, page: 1 });
|
|
4564
|
+
*/
|
|
4565
|
+
prospeo(input, options) {
|
|
4566
|
+
return this._core.run("people_search.prospeo", input, options);
|
|
4567
|
+
}
|
|
4568
|
+
/**
|
|
4569
|
+
* People Search - QuickEnrich
|
|
4570
|
+
*
|
|
4571
|
+
* 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.
|
|
4572
|
+
*
|
|
4573
|
+
* Price: $0.0005 per request.
|
|
4574
|
+
*
|
|
4575
|
+
* @example
|
|
4576
|
+
* const res = await client.peopleSearch.quickenrich({ country: { include: ["US"] }, hasEmail: true, limit: 2, title: { include: ["CEO"] } });
|
|
4577
|
+
*/
|
|
4578
|
+
quickenrich(input, options) {
|
|
4579
|
+
return this._core.run("people_search.quickenrich", input, options);
|
|
4580
|
+
}
|
|
4581
|
+
/**
|
|
4582
|
+
* People Search - QuickEnrich Company Contacts
|
|
4583
|
+
*
|
|
4584
|
+
* 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.
|
|
4585
|
+
*
|
|
4586
|
+
* Price: $0.0072 per request.
|
|
4587
|
+
*
|
|
4588
|
+
* @example
|
|
4589
|
+
* const res = await client.peopleSearch.quickenrichCompany({ companyDomain: "southmemphisfence.com" });
|
|
4590
|
+
*/
|
|
4591
|
+
quickenrichCompany(input, options) {
|
|
4592
|
+
return this._core.run("people_search.quickenrich_company", input, options);
|
|
4593
|
+
}
|
|
4230
4594
|
};
|
|
4231
4595
|
|
|
4232
4596
|
// src/generated/platforms/perplexity.ts
|
|
@@ -4240,7 +4604,7 @@ var PerplexityNamespace = class {
|
|
|
4240
4604
|
*
|
|
4241
4605
|
* Ask Perplexity a web-grounded question and receive an answer with source citations.
|
|
4242
4606
|
*
|
|
4243
|
-
* Price: $0.
|
|
4607
|
+
* Price: $0.00006 per request plus $0.011 per result (maximum $0.0111).
|
|
4244
4608
|
*
|
|
4245
4609
|
* @example
|
|
4246
4610
|
* const res = await client.perplexity.search({ prompt: "What is AnyAPI at getanyapi.com, and what does it offer?" });
|
|
@@ -4290,6 +4654,101 @@ var PersonEnrichmentNamespace = class {
|
|
|
4290
4654
|
aviato(input, options) {
|
|
4291
4655
|
return this._core.run("person_enrichment.aviato", input, options);
|
|
4292
4656
|
}
|
|
4657
|
+
/**
|
|
4658
|
+
* Person Enrichment - BetterContact
|
|
4659
|
+
*
|
|
4660
|
+
* 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.
|
|
4661
|
+
*
|
|
4662
|
+
* Price: $0.0828 per request.
|
|
4663
|
+
*
|
|
4664
|
+
* @example
|
|
4665
|
+
* const res = await client.personEnrichment.bettercontact({ firstName: "Patrick", lastName: "Collison", companyDomain: "stripe.com", linkedinUrl: "https://www.linkedin.com/in/patrickcollison" });
|
|
4666
|
+
*/
|
|
4667
|
+
bettercontact(input, options) {
|
|
4668
|
+
return this._core.run("person_enrichment.bettercontact", input, options);
|
|
4669
|
+
}
|
|
4670
|
+
/**
|
|
4671
|
+
* Bulk Person Enrichment - FullEnrich
|
|
4672
|
+
*
|
|
4673
|
+
* 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.
|
|
4674
|
+
*
|
|
4675
|
+
* Price: $0 per request plus $0.1008 per result (maximum $9.9792).
|
|
4676
|
+
*
|
|
4677
|
+
* @example
|
|
4678
|
+
* 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" }] });
|
|
4679
|
+
*/
|
|
4680
|
+
fullenrichBulk(input, options) {
|
|
4681
|
+
return this._core.run("person_enrichment.fullenrich_bulk", input, options);
|
|
4682
|
+
}
|
|
4683
|
+
/**
|
|
4684
|
+
* Reverse Email Lookup - FullEnrich
|
|
4685
|
+
*
|
|
4686
|
+
* 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.
|
|
4687
|
+
*
|
|
4688
|
+
* Price: $0 per request plus $0.1008 per result (maximum $9.9792).
|
|
4689
|
+
*
|
|
4690
|
+
* @example
|
|
4691
|
+
* const res = await client.personEnrichment.fullenrichReverseEmail({ contacts: [{ custom: { row: "1" }, email: "dfield@figma.com" }, { custom: { row: "2" }, email: "patrick@stripe.com" }] });
|
|
4692
|
+
*/
|
|
4693
|
+
fullenrichReverseEmail(input, options) {
|
|
4694
|
+
return this._core.run(
|
|
4695
|
+
"person_enrichment.fullenrich_reverse_email",
|
|
4696
|
+
input,
|
|
4697
|
+
options
|
|
4698
|
+
);
|
|
4699
|
+
}
|
|
4700
|
+
/**
|
|
4701
|
+
* Person Enrichment - Lusha
|
|
4702
|
+
*
|
|
4703
|
+
* Enrich one person into work email, direct dial, job title and employer firmographics from a LinkedIn URL, an email, or a name plus company.
|
|
4704
|
+
*
|
|
4705
|
+
* Price: $0.084 per request.
|
|
4706
|
+
*
|
|
4707
|
+
* @example
|
|
4708
|
+
* const res = await client.personEnrichment.lusha({ linkedinUrl: "https://www.linkedin.com/in/tim-zheng" });
|
|
4709
|
+
*/
|
|
4710
|
+
lusha(input, options) {
|
|
4711
|
+
return this._core.run("person_enrichment.lusha", input, options);
|
|
4712
|
+
}
|
|
4713
|
+
/**
|
|
4714
|
+
* Person Enrichment - People Data Labs
|
|
4715
|
+
*
|
|
4716
|
+
* 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.
|
|
4717
|
+
*
|
|
4718
|
+
* Price: $0.24 per request.
|
|
4719
|
+
*
|
|
4720
|
+
* @example
|
|
4721
|
+
* const res = await client.personEnrichment.peopledatalabs({ profile: "https://www.linkedin.com/in/dharmesh" });
|
|
4722
|
+
*/
|
|
4723
|
+
peopledatalabs(input, options) {
|
|
4724
|
+
return this._core.run("person_enrichment.peopledatalabs", input, options);
|
|
4725
|
+
}
|
|
4726
|
+
/**
|
|
4727
|
+
* Person Enrichment - Prospeo
|
|
4728
|
+
*
|
|
4729
|
+
* 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.
|
|
4730
|
+
*
|
|
4731
|
+
* Price: $0.066 per request.
|
|
4732
|
+
*
|
|
4733
|
+
* @example
|
|
4734
|
+
* const res = await client.personEnrichment.prospeo({ linkedinUrl: "https://www.linkedin.com/in/dharmesh" });
|
|
4735
|
+
*/
|
|
4736
|
+
prospeo(input, options) {
|
|
4737
|
+
return this._core.run("person_enrichment.prospeo", input, options);
|
|
4738
|
+
}
|
|
4739
|
+
/**
|
|
4740
|
+
* Person Enrichment - QuickEnrich
|
|
4741
|
+
*
|
|
4742
|
+
* 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.
|
|
4743
|
+
*
|
|
4744
|
+
* Price: $0.0072 per request.
|
|
4745
|
+
*
|
|
4746
|
+
* @example
|
|
4747
|
+
* const res = await client.personEnrichment.quickenrich({ email: "wprice@southmemphisfence.com" });
|
|
4748
|
+
*/
|
|
4749
|
+
quickenrich(input, options) {
|
|
4750
|
+
return this._core.run("person_enrichment.quickenrich", input, options);
|
|
4751
|
+
}
|
|
4293
4752
|
};
|
|
4294
4753
|
|
|
4295
4754
|
// src/generated/platforms/pinterest.ts
|
|
@@ -4526,7 +4985,7 @@ var RedditNamespace = class {
|
|
|
4526
4985
|
*
|
|
4527
4986
|
* Search posts within a single subreddit by query, sort, and timeframe.
|
|
4528
4987
|
*
|
|
4529
|
-
* Price: $0.
|
|
4988
|
+
* Price: $0.0009 per request.
|
|
4530
4989
|
*
|
|
4531
4990
|
* @example
|
|
4532
4991
|
* const res = await client.reddit.subredditSearch({ subreddit: "Fitness", query: "push ups" });
|
|
@@ -5233,6 +5692,27 @@ var SubstackNamespace = class {
|
|
|
5233
5692
|
}
|
|
5234
5693
|
};
|
|
5235
5694
|
|
|
5695
|
+
// src/generated/platforms/technographics.ts
|
|
5696
|
+
var TechnographicsNamespace = class {
|
|
5697
|
+
constructor(_core) {
|
|
5698
|
+
this._core = _core;
|
|
5699
|
+
}
|
|
5700
|
+
_core;
|
|
5701
|
+
/**
|
|
5702
|
+
* Technographics - TheirStack
|
|
5703
|
+
*
|
|
5704
|
+
* 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.
|
|
5705
|
+
*
|
|
5706
|
+
* Price: $0 per request plus $0.1992 per result (maximum $9.96).
|
|
5707
|
+
*
|
|
5708
|
+
* @example
|
|
5709
|
+
* const res = await client.technographics.theirstack({ companyDomain: "posthog.com", limit: 1 });
|
|
5710
|
+
*/
|
|
5711
|
+
theirstack(input, options) {
|
|
5712
|
+
return this._core.run("technographics.theirstack", input, options);
|
|
5713
|
+
}
|
|
5714
|
+
};
|
|
5715
|
+
|
|
5236
5716
|
// src/generated/platforms/threads.ts
|
|
5237
5717
|
var ThreadsNamespace = class {
|
|
5238
5718
|
constructor(_core) {
|
|
@@ -5509,6 +5989,19 @@ var TiktokNamespace = class {
|
|
|
5509
5989
|
live(input, options) {
|
|
5510
5990
|
return this._core.run("tiktok.live", input, options);
|
|
5511
5991
|
}
|
|
5992
|
+
/**
|
|
5993
|
+
* TikTok Photos
|
|
5994
|
+
*
|
|
5995
|
+
* 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.
|
|
5996
|
+
*
|
|
5997
|
+
* Price: $0.0012 per request.
|
|
5998
|
+
*
|
|
5999
|
+
* @example
|
|
6000
|
+
* const res = await client.tiktok.photos({ url: "https://www.tiktok.com/@foodbyfranchi/video/7479916555602513174" });
|
|
6001
|
+
*/
|
|
6002
|
+
photos(input, options) {
|
|
6003
|
+
return this._core.run("tiktok.photos", input, options);
|
|
6004
|
+
}
|
|
5512
6005
|
/**
|
|
5513
6006
|
* TikTok Profile
|
|
5514
6007
|
*
|
|
@@ -5803,6 +6296,19 @@ var TiktokNamespace = class {
|
|
|
5803
6296
|
options
|
|
5804
6297
|
);
|
|
5805
6298
|
}
|
|
6299
|
+
/**
|
|
6300
|
+
* TikTok Video Download
|
|
6301
|
+
*
|
|
6302
|
+
* 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.
|
|
6303
|
+
*
|
|
6304
|
+
* Price: $0.0012 per request.
|
|
6305
|
+
*
|
|
6306
|
+
* @example
|
|
6307
|
+
* const res = await client.tiktok.videoDownload({ url: "https://www.tiktok.com/@mrbeast/video/7654638524729216287" });
|
|
6308
|
+
*/
|
|
6309
|
+
videoDownload(input, options) {
|
|
6310
|
+
return this._core.run("tiktok.video_download", input, options);
|
|
6311
|
+
}
|
|
5806
6312
|
/**
|
|
5807
6313
|
* TikTok Video Transcript
|
|
5808
6314
|
*
|
|
@@ -6523,7 +7029,7 @@ var WebNamespace = class {
|
|
|
6523
7029
|
*
|
|
6524
7030
|
* Capture a real-browser screenshot of any web page URL.
|
|
6525
7031
|
*
|
|
6526
|
-
* Price: $0 per request plus $0
|
|
7032
|
+
* Price: $0.00174 per request plus $0 per result (maximum $0.00174).
|
|
6527
7033
|
*
|
|
6528
7034
|
* @example
|
|
6529
7035
|
* const res = await client.web.screenshot({ url: "https://example.com" });
|
|
@@ -7431,6 +7937,14 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
7431
7937
|
this._core
|
|
7432
7938
|
);
|
|
7433
7939
|
}
|
|
7940
|
+
/**
|
|
7941
|
+
* Typed methods for the job_search platform.
|
|
7942
|
+
*/
|
|
7943
|
+
get jobSearch() {
|
|
7944
|
+
return this._namespaces["jobSearch"] ??= new JobSearchNamespace(
|
|
7945
|
+
this._core
|
|
7946
|
+
);
|
|
7947
|
+
}
|
|
7434
7948
|
/**
|
|
7435
7949
|
* Typed methods for the linkedin platform.
|
|
7436
7950
|
*/
|
|
@@ -7613,6 +8127,14 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
7613
8127
|
this._core
|
|
7614
8128
|
);
|
|
7615
8129
|
}
|
|
8130
|
+
/**
|
|
8131
|
+
* Typed methods for the technographics platform.
|
|
8132
|
+
*/
|
|
8133
|
+
get technographics() {
|
|
8134
|
+
return this._namespaces["technographics"] ??= new TechnographicsNamespace(
|
|
8135
|
+
this._core
|
|
8136
|
+
);
|
|
8137
|
+
}
|
|
7616
8138
|
/**
|
|
7617
8139
|
* Typed methods for the threads platform.
|
|
7618
8140
|
*/
|
|
@@ -7784,6 +8306,7 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
7784
8306
|
IndeedNamespace,
|
|
7785
8307
|
InstagramNamespace,
|
|
7786
8308
|
InsufficientBalanceError,
|
|
8309
|
+
JobSearchNamespace,
|
|
7787
8310
|
LinkedinNamespace,
|
|
7788
8311
|
MapsNamespace,
|
|
7789
8312
|
MobilePhoneNamespace,
|
|
@@ -7811,6 +8334,7 @@ var AnyAPI2 = class extends AnyAPI {
|
|
|
7811
8334
|
SocialNamespace,
|
|
7812
8335
|
SpotifyNamespace,
|
|
7813
8336
|
SubstackNamespace,
|
|
8337
|
+
TechnographicsNamespace,
|
|
7814
8338
|
ThreadsNamespace,
|
|
7815
8339
|
TiktokNamespace,
|
|
7816
8340
|
TiktokShopNamespace,
|