@getanyapi/sdk 0.51.1 → 0.52.1

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 CHANGED
@@ -3928,6 +3928,35 @@ var InstagramNamespace = class {
3928
3928
  options
3929
3929
  );
3930
3930
  }
3931
+ /**
3932
+ * Instagram Profile Search with Contact
3933
+ *
3934
+ * Search public Instagram profiles by a bio or caption keyword and get each account's country, the month it joined, and the public email and phone number it lists. Charged per profile that comes back with those details.
3935
+ *
3936
+ * Price: $0.0036 per request plus $0.0072 per profile (maximum $0.09).
3937
+ *
3938
+ * @example
3939
+ * const res = await client.instagram.searchProfilesContact({ query: "skincare" });
3940
+ */
3941
+ searchProfilesContact(input, options) {
3942
+ return this._core.run("instagram.search_profiles_contact", input, options);
3943
+ }
3944
+ /**
3945
+ * Iterate every result of Instagram Profile Search with Contact across pages.
3946
+ *
3947
+ * Yields items directly; call `.pages()` on the return value to walk whole
3948
+ * result pages instead (each carries its own costUsd).
3949
+ */
3950
+ iterSearchProfilesContact(input, options) {
3951
+ return paginate(
3952
+ this._core,
3953
+ "instagram.search_profiles_contact",
3954
+ input,
3955
+ "profiles",
3956
+ false,
3957
+ options
3958
+ );
3959
+ }
3931
3960
  /**
3932
3961
  * Instagram Similar Profiles
3933
3962
  *