scrapercity 1.0.48 → 1.0.50
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/AGENT_DOCS.txt +18 -0
- package/README.md +18 -0
- package/SKILL.md +18 -0
- package/lib/catalog.generated.mjs +549 -1
- package/lib/tools.mjs +1 -1
- package/lib/utilityTools.mjs +1 -0
- package/package.json +1 -1
package/AGENT_DOCS.txt
CHANGED
|
@@ -38,9 +38,27 @@ PRICING (auto-generated from the live catalog - do not edit)
|
|
|
38
38
|
| `scrape_signals` | /api/v1/scrape/signals | $0.0094 per company running ads, $0.0009 per website per platform checked, $0.0043 per company hiring; minimum charge per search |
|
|
39
39
|
| `scrape_ucc_filings` | /api/v1/scrape/ucc-filings | $0.0028 per filing |
|
|
40
40
|
| `scrape_facebook_pages` | /api/v1/scrape/facebook-pages | $0.0012 per page from page links, $0.0028 per page from a search |
|
|
41
|
+
| `scrape_bulk_llm_prompts` | /api/v1/scrape/bulk-llm-prompts | $0.00005 per 1,000 tokens (prompts plus answers, the run's total), minimum charge $0.107 a run |
|
|
42
|
+
| `scrape_ai_for_every_row` | /api/v1/scrape/ai-for-every-row | $0.00012 per 1,000 tokens (each row counts at least 1,000), minimum charge $0.107 a run |
|
|
43
|
+
| `scrape_ai_image_upscaler` | /api/v1/scrape/ai-image-upscaler | $0.0017 per image upscaled, minimum charge $0.058 a run |
|
|
44
|
+
| `scrape_ai_image_generator` | /api/v1/scrape/ai-image-generator | $0.0038 per image up to about 1.1 megapixels (a bigger image counts as 2), minimum charge $0.052 a run |
|
|
45
|
+
| `scrape_ai_web_scraper` | /api/v1/scrape/ai-web-scraper | $0.019 per page extracted |
|
|
46
|
+
| `scrape_search_results` | /api/v1/scrape/search-results | $0.00017 per search answered; $0.00126 per result page read when readPages is on |
|
|
47
|
+
| `scrape_website_to_markdown` | /api/v1/scrape/website-to-markdown | $0.00099 per page with text |
|
|
41
48
|
| `scrape_website_contacts` | /api/v1/scrape/website-contacts | $0.004 per website with an email or phone found |
|
|
42
49
|
| `find_job_posts` | /api/v1/scrape/job-scraper | $0.0009 per job post, decision maker included; minimum charge per search |
|
|
43
50
|
| `scrape_instagram_leads` | /api/v1/scrape/instagram-leads | $0.0023 per profile found by keyword or hashtag, $0.0006 per profile from your own list |
|
|
51
|
+
| `scrape_instagram_posts` | /api/v1/scrape/instagram-posts | $0.0015 per post |
|
|
52
|
+
| `scrape_instagram_comments` | /api/v1/scrape/instagram-comments | $0.0009 per comment |
|
|
53
|
+
| `scrape_instagram_followers` | /api/v1/scrape/instagram-followers | $0.0020 per account |
|
|
54
|
+
| `scrape_facebook_posts` | /api/v1/scrape/facebook-posts | $0.0032 per post |
|
|
55
|
+
| `scrape_facebook_comments` | /api/v1/scrape/facebook-comments | $0.0007 per comment |
|
|
56
|
+
| `scrape_facebook_reviews` | /api/v1/scrape/facebook-reviews | $0.0051 per review |
|
|
57
|
+
| `scrape_facebook_ads` | /api/v1/scrape/facebook-ads | $0.0006 per ad |
|
|
58
|
+
| `scrape_facebook_groups` | /api/v1/scrape/facebook-groups | $0.0051 per post |
|
|
59
|
+
| `scrape_facebook_marketplace` | /api/v1/scrape/facebook-marketplace | $0.0015 per listing |
|
|
60
|
+
| `scrape_facebook_events` | /api/v1/scrape/facebook-events | $0.0259 per event |
|
|
61
|
+
| `scrape_threads_posts` | /api/v1/scrape/threads-posts | $0.0047 per post by keyword, $0.0058 per post from profiles |
|
|
44
62
|
| `find_linkedin_post_engagers` | /api/v1/scrape/linkedin-post-engagers | $0.004 per person |
|
|
45
63
|
| `find_emails` | /api/v1/scrape/email-finder | $0.05 per email found (FREE if not found) |
|
|
46
64
|
| `find_mobiles` | /api/v1/scrape/mobile-finder | $0.25 per number found (FREE if not found) |
|
package/README.md
CHANGED
|
@@ -135,9 +135,27 @@ Both SDKs carry the same tool list as the MCP server, regenerated from the live
|
|
|
135
135
|
| `scrape_signals` | /api/v1/scrape/signals | $0.0094 per company running ads, $0.0009 per website per platform checked, $0.0043 per company hiring; minimum charge per search |
|
|
136
136
|
| `scrape_ucc_filings` | /api/v1/scrape/ucc-filings | $0.0028 per filing |
|
|
137
137
|
| `scrape_facebook_pages` | /api/v1/scrape/facebook-pages | $0.0012 per page from page links, $0.0028 per page from a search |
|
|
138
|
+
| `scrape_bulk_llm_prompts` | /api/v1/scrape/bulk-llm-prompts | $0.00005 per 1,000 tokens (prompts plus answers, the run's total), minimum charge $0.107 a run |
|
|
139
|
+
| `scrape_ai_for_every_row` | /api/v1/scrape/ai-for-every-row | $0.00012 per 1,000 tokens (each row counts at least 1,000), minimum charge $0.107 a run |
|
|
140
|
+
| `scrape_ai_image_upscaler` | /api/v1/scrape/ai-image-upscaler | $0.0017 per image upscaled, minimum charge $0.058 a run |
|
|
141
|
+
| `scrape_ai_image_generator` | /api/v1/scrape/ai-image-generator | $0.0038 per image up to about 1.1 megapixels (a bigger image counts as 2), minimum charge $0.052 a run |
|
|
142
|
+
| `scrape_ai_web_scraper` | /api/v1/scrape/ai-web-scraper | $0.019 per page extracted |
|
|
143
|
+
| `scrape_search_results` | /api/v1/scrape/search-results | $0.00017 per search answered; $0.00126 per result page read when readPages is on |
|
|
144
|
+
| `scrape_website_to_markdown` | /api/v1/scrape/website-to-markdown | $0.00099 per page with text |
|
|
138
145
|
| `scrape_website_contacts` | /api/v1/scrape/website-contacts | $0.004 per website with an email or phone found |
|
|
139
146
|
| `find_job_posts` | /api/v1/scrape/job-scraper | $0.0009 per job post, decision maker included; minimum charge per search |
|
|
140
147
|
| `scrape_instagram_leads` | /api/v1/scrape/instagram-leads | $0.0023 per profile found by keyword or hashtag, $0.0006 per profile from your own list |
|
|
148
|
+
| `scrape_instagram_posts` | /api/v1/scrape/instagram-posts | $0.0015 per post |
|
|
149
|
+
| `scrape_instagram_comments` | /api/v1/scrape/instagram-comments | $0.0009 per comment |
|
|
150
|
+
| `scrape_instagram_followers` | /api/v1/scrape/instagram-followers | $0.0020 per account |
|
|
151
|
+
| `scrape_facebook_posts` | /api/v1/scrape/facebook-posts | $0.0032 per post |
|
|
152
|
+
| `scrape_facebook_comments` | /api/v1/scrape/facebook-comments | $0.0007 per comment |
|
|
153
|
+
| `scrape_facebook_reviews` | /api/v1/scrape/facebook-reviews | $0.0051 per review |
|
|
154
|
+
| `scrape_facebook_ads` | /api/v1/scrape/facebook-ads | $0.0006 per ad |
|
|
155
|
+
| `scrape_facebook_groups` | /api/v1/scrape/facebook-groups | $0.0051 per post |
|
|
156
|
+
| `scrape_facebook_marketplace` | /api/v1/scrape/facebook-marketplace | $0.0015 per listing |
|
|
157
|
+
| `scrape_facebook_events` | /api/v1/scrape/facebook-events | $0.0259 per event |
|
|
158
|
+
| `scrape_threads_posts` | /api/v1/scrape/threads-posts | $0.0047 per post by keyword, $0.0058 per post from profiles |
|
|
141
159
|
| `find_linkedin_post_engagers` | /api/v1/scrape/linkedin-post-engagers | $0.004 per person |
|
|
142
160
|
| `find_emails` | /api/v1/scrape/email-finder | $0.05 per email found (FREE if not found) |
|
|
143
161
|
| `find_mobiles` | /api/v1/scrape/mobile-finder | $0.25 per number found (FREE if not found) |
|
package/SKILL.md
CHANGED
|
@@ -45,9 +45,27 @@ Auth: `Authorization: Bearer $SCRAPERCITY_API_KEY` on all requests.
|
|
|
45
45
|
| `scrape_signals` | /api/v1/scrape/signals | $0.0094 per company running ads, $0.0009 per website per platform checked, $0.0043 per company hiring; minimum charge per search |
|
|
46
46
|
| `scrape_ucc_filings` | /api/v1/scrape/ucc-filings | $0.0028 per filing |
|
|
47
47
|
| `scrape_facebook_pages` | /api/v1/scrape/facebook-pages | $0.0012 per page from page links, $0.0028 per page from a search |
|
|
48
|
+
| `scrape_bulk_llm_prompts` | /api/v1/scrape/bulk-llm-prompts | $0.00005 per 1,000 tokens (prompts plus answers, the run's total), minimum charge $0.107 a run |
|
|
49
|
+
| `scrape_ai_for_every_row` | /api/v1/scrape/ai-for-every-row | $0.00012 per 1,000 tokens (each row counts at least 1,000), minimum charge $0.107 a run |
|
|
50
|
+
| `scrape_ai_image_upscaler` | /api/v1/scrape/ai-image-upscaler | $0.0017 per image upscaled, minimum charge $0.058 a run |
|
|
51
|
+
| `scrape_ai_image_generator` | /api/v1/scrape/ai-image-generator | $0.0038 per image up to about 1.1 megapixels (a bigger image counts as 2), minimum charge $0.052 a run |
|
|
52
|
+
| `scrape_ai_web_scraper` | /api/v1/scrape/ai-web-scraper | $0.019 per page extracted |
|
|
53
|
+
| `scrape_search_results` | /api/v1/scrape/search-results | $0.00017 per search answered; $0.00126 per result page read when readPages is on |
|
|
54
|
+
| `scrape_website_to_markdown` | /api/v1/scrape/website-to-markdown | $0.00099 per page with text |
|
|
48
55
|
| `scrape_website_contacts` | /api/v1/scrape/website-contacts | $0.004 per website with an email or phone found |
|
|
49
56
|
| `find_job_posts` | /api/v1/scrape/job-scraper | $0.0009 per job post, decision maker included; minimum charge per search |
|
|
50
57
|
| `scrape_instagram_leads` | /api/v1/scrape/instagram-leads | $0.0023 per profile found by keyword or hashtag, $0.0006 per profile from your own list |
|
|
58
|
+
| `scrape_instagram_posts` | /api/v1/scrape/instagram-posts | $0.0015 per post |
|
|
59
|
+
| `scrape_instagram_comments` | /api/v1/scrape/instagram-comments | $0.0009 per comment |
|
|
60
|
+
| `scrape_instagram_followers` | /api/v1/scrape/instagram-followers | $0.0020 per account |
|
|
61
|
+
| `scrape_facebook_posts` | /api/v1/scrape/facebook-posts | $0.0032 per post |
|
|
62
|
+
| `scrape_facebook_comments` | /api/v1/scrape/facebook-comments | $0.0007 per comment |
|
|
63
|
+
| `scrape_facebook_reviews` | /api/v1/scrape/facebook-reviews | $0.0051 per review |
|
|
64
|
+
| `scrape_facebook_ads` | /api/v1/scrape/facebook-ads | $0.0006 per ad |
|
|
65
|
+
| `scrape_facebook_groups` | /api/v1/scrape/facebook-groups | $0.0051 per post |
|
|
66
|
+
| `scrape_facebook_marketplace` | /api/v1/scrape/facebook-marketplace | $0.0015 per listing |
|
|
67
|
+
| `scrape_facebook_events` | /api/v1/scrape/facebook-events | $0.0259 per event |
|
|
68
|
+
| `scrape_threads_posts` | /api/v1/scrape/threads-posts | $0.0047 per post by keyword, $0.0058 per post from profiles |
|
|
51
69
|
| `find_linkedin_post_engagers` | /api/v1/scrape/linkedin-post-engagers | $0.004 per person |
|
|
52
70
|
| `find_emails` | /api/v1/scrape/email-finder | $0.05 per email found (FREE if not found) |
|
|
53
71
|
| `find_mobiles` | /api/v1/scrape/mobile-finder | $0.25 per number found (FREE if not found) |
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// AUTO-GENERATED by scripts/generate.mjs — DO NOT EDIT BY HAND.
|
|
2
2
|
// Source of truth: scraperConfigs.ts (+ src/config/scrapers.ts). Regenerate: npm run generate
|
|
3
|
-
// Generated: 2026-11-
|
|
3
|
+
// Generated: 2026-11-26T22:15:13.123Z
|
|
4
4
|
export const TOOLS = [
|
|
5
5
|
{
|
|
6
6
|
"name": "scrape_apollo",
|
|
@@ -717,6 +717,264 @@ export const TOOLS = [
|
|
|
717
717
|
}
|
|
718
718
|
}
|
|
719
719
|
},
|
|
720
|
+
{
|
|
721
|
+
"name": "scrape_bulk_llm_prompts",
|
|
722
|
+
"description": "Run up to 5,000 prompts in one run through an open-weight AI model (gpt-oss-20b) on our own GPUs and get every answer back in one CSV, with the tokens each one used. Prompts that fail are listed in the file and not charged. Cost: $0.00005 per 1,000 tokens (prompts plus answers, the run's total), minimum charge $0.107 a run.",
|
|
723
|
+
"inputSchema": {
|
|
724
|
+
"type": "object",
|
|
725
|
+
"properties": {
|
|
726
|
+
"prompts": {
|
|
727
|
+
"type": "array",
|
|
728
|
+
"items": {
|
|
729
|
+
"type": "string"
|
|
730
|
+
},
|
|
731
|
+
"description": "The prompts, up to 5,000 a run, each up to 24,000 characters. Each can also be an object { id, prompt } to keep your own id in the file."
|
|
732
|
+
},
|
|
733
|
+
"systemPrompt": {
|
|
734
|
+
"type": "string",
|
|
735
|
+
"description": "One system prompt sent with every prompt (up to 8,000 characters)"
|
|
736
|
+
},
|
|
737
|
+
"maxTokens": {
|
|
738
|
+
"type": "number",
|
|
739
|
+
"description": "Most tokens in each answer (1 to 4,096)"
|
|
740
|
+
},
|
|
741
|
+
"temperature": {
|
|
742
|
+
"type": "number",
|
|
743
|
+
"description": "0 for the same answer every time, up to 2 for more varied answers"
|
|
744
|
+
},
|
|
745
|
+
"reasoning": {
|
|
746
|
+
"type": "string",
|
|
747
|
+
"description": "How long the model thinks before answering: low, medium or high"
|
|
748
|
+
},
|
|
749
|
+
"json": {
|
|
750
|
+
"type": "boolean",
|
|
751
|
+
"description": "true asks for a JSON object as each answer"
|
|
752
|
+
}
|
|
753
|
+
},
|
|
754
|
+
"required": [
|
|
755
|
+
"prompts"
|
|
756
|
+
]
|
|
757
|
+
}
|
|
758
|
+
},
|
|
759
|
+
{
|
|
760
|
+
"name": "scrape_ai_for_every_row",
|
|
761
|
+
"description": "Send a CSV (or a list of rows) and one instruction with {column} placeholders: the AI writes a new column, picks one of your labels, or pulls out fields as their own columns, for up to 5,000 rows a run. Your own columns are kept as they are. Cost: $0.00012 per 1,000 tokens (each row counts at least 1,000), minimum charge $0.107 a run.",
|
|
762
|
+
"inputSchema": {
|
|
763
|
+
"type": "object",
|
|
764
|
+
"properties": {
|
|
765
|
+
"csv": {
|
|
766
|
+
"type": "string",
|
|
767
|
+
"description": "The CSV file as text, header row first (use csv or rows)"
|
|
768
|
+
},
|
|
769
|
+
"rows": {
|
|
770
|
+
"type": "array",
|
|
771
|
+
"items": {
|
|
772
|
+
"type": "object"
|
|
773
|
+
},
|
|
774
|
+
"description": "The rows as JSON objects, up to 5,000 a run"
|
|
775
|
+
},
|
|
776
|
+
"instruction": {
|
|
777
|
+
"type": "string",
|
|
778
|
+
"description": "What to do with each row; {column} is replaced by that row's value"
|
|
779
|
+
},
|
|
780
|
+
"mode": {
|
|
781
|
+
"type": "string",
|
|
782
|
+
"description": "write (a new text column), classify (one of your labels) or extract (fields as columns)"
|
|
783
|
+
},
|
|
784
|
+
"labels": {
|
|
785
|
+
"type": "array",
|
|
786
|
+
"items": {
|
|
787
|
+
"type": "string"
|
|
788
|
+
},
|
|
789
|
+
"description": "classify: the labels to choose from (at least 2)"
|
|
790
|
+
},
|
|
791
|
+
"fields": {
|
|
792
|
+
"type": "array",
|
|
793
|
+
"items": {
|
|
794
|
+
"type": "string"
|
|
795
|
+
},
|
|
796
|
+
"description": "extract: the names of the fields to pull out"
|
|
797
|
+
},
|
|
798
|
+
"outputColumn": {
|
|
799
|
+
"type": "string",
|
|
800
|
+
"description": "write and classify: the new column's name"
|
|
801
|
+
},
|
|
802
|
+
"systemPrompt": {
|
|
803
|
+
"type": "string",
|
|
804
|
+
"description": "One system prompt sent with every row"
|
|
805
|
+
},
|
|
806
|
+
"maxTokens": {
|
|
807
|
+
"type": "number",
|
|
808
|
+
"description": "Most tokens in each answer (1 to 4,096)"
|
|
809
|
+
},
|
|
810
|
+
"temperature": {
|
|
811
|
+
"type": "number",
|
|
812
|
+
"description": "0 to 2"
|
|
813
|
+
}
|
|
814
|
+
},
|
|
815
|
+
"required": [
|
|
816
|
+
"instruction"
|
|
817
|
+
]
|
|
818
|
+
}
|
|
819
|
+
},
|
|
820
|
+
{
|
|
821
|
+
"name": "scrape_ai_image_upscaler",
|
|
822
|
+
"description": "Upscale up to 200 images a run 2x, 3x or 4x (Real-ESRGAN on our own GPUs) from a list of image links. The download is one .zip with every image and a results.csv. Cost: $0.0017 per image upscaled, minimum charge $0.058 a run.",
|
|
823
|
+
"inputSchema": {
|
|
824
|
+
"type": "object",
|
|
825
|
+
"properties": {
|
|
826
|
+
"images": {
|
|
827
|
+
"type": "array",
|
|
828
|
+
"items": {
|
|
829
|
+
"type": "string"
|
|
830
|
+
},
|
|
831
|
+
"description": "Image links (JPG, PNG or WebP), up to 200 a run"
|
|
832
|
+
},
|
|
833
|
+
"scale": {
|
|
834
|
+
"type": "number",
|
|
835
|
+
"description": "2, 3 or 4"
|
|
836
|
+
},
|
|
837
|
+
"model": {
|
|
838
|
+
"type": "string",
|
|
839
|
+
"description": "photo for photos, fast for a quicker photo model, anime for drawings and illustrations"
|
|
840
|
+
},
|
|
841
|
+
"format": {
|
|
842
|
+
"type": "string",
|
|
843
|
+
"description": "jpg, png or webp"
|
|
844
|
+
}
|
|
845
|
+
},
|
|
846
|
+
"required": [
|
|
847
|
+
"images"
|
|
848
|
+
]
|
|
849
|
+
}
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
"name": "scrape_ai_image_generator",
|
|
853
|
+
"description": "Turn up to 200 prompts a run into images (FLUX.1-schnell on our own GPUs), 1 to 4 images per prompt. The download is one .zip with every image and a results.csv. Cost: $0.0038 per image up to about 1.1 megapixels (a bigger image counts as 2), minimum charge $0.052 a run.",
|
|
854
|
+
"inputSchema": {
|
|
855
|
+
"type": "object",
|
|
856
|
+
"properties": {
|
|
857
|
+
"prompts": {
|
|
858
|
+
"type": "array",
|
|
859
|
+
"items": {
|
|
860
|
+
"type": "string"
|
|
861
|
+
},
|
|
862
|
+
"description": "One image prompt each, up to 200 a run, up to 2,000 characters each"
|
|
863
|
+
},
|
|
864
|
+
"width": {
|
|
865
|
+
"type": "number",
|
|
866
|
+
"description": "Image width in pixels"
|
|
867
|
+
},
|
|
868
|
+
"height": {
|
|
869
|
+
"type": "number",
|
|
870
|
+
"description": "Image height in pixels"
|
|
871
|
+
},
|
|
872
|
+
"num_images": {
|
|
873
|
+
"type": "number",
|
|
874
|
+
"description": "Images per prompt, 1 to 4"
|
|
875
|
+
},
|
|
876
|
+
"format": {
|
|
877
|
+
"type": "string",
|
|
878
|
+
"description": "jpg, png or webp"
|
|
879
|
+
}
|
|
880
|
+
},
|
|
881
|
+
"required": [
|
|
882
|
+
"prompts"
|
|
883
|
+
]
|
|
884
|
+
}
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
"name": "scrape_ai_web_scraper",
|
|
888
|
+
"description": "Pull the fields you name from any list of web pages. Give the pages and either a list of fields (price, plan names, services, team members, opening hours, anything the page shows) or plain instructions; AI reads each page and returns one row per page with a column per field. Pages that do not load are listed in the file and cost nothing. Cost: $0.019 per page extracted.",
|
|
889
|
+
"inputSchema": {
|
|
890
|
+
"type": "object",
|
|
891
|
+
"properties": {
|
|
892
|
+
"urls": {
|
|
893
|
+
"type": "array",
|
|
894
|
+
"items": {
|
|
895
|
+
"type": "string"
|
|
896
|
+
},
|
|
897
|
+
"description": "Web pages, one per item (up to 5,000 a run). Domains are fine (acme.com reads the home page)."
|
|
898
|
+
},
|
|
899
|
+
"fields": {
|
|
900
|
+
"type": "array",
|
|
901
|
+
"items": {
|
|
902
|
+
"type": "string"
|
|
903
|
+
},
|
|
904
|
+
"description": "The fields to pull, up to 40: names, or { name, description } to say more about one. Each becomes a column. Send fields or instructions."
|
|
905
|
+
},
|
|
906
|
+
"instructions": {
|
|
907
|
+
"type": "string",
|
|
908
|
+
"description": "What to pull from each page in plain words, up to 2,000 characters. Without fields, the columns are the names the AI gives what it found."
|
|
909
|
+
}
|
|
910
|
+
},
|
|
911
|
+
"required": [
|
|
912
|
+
"urls"
|
|
913
|
+
]
|
|
914
|
+
}
|
|
915
|
+
},
|
|
916
|
+
{
|
|
917
|
+
"name": "scrape_search_results",
|
|
918
|
+
"description": "The top web search results for each search in a list: position, title, link and snippet, up to 10 a search. Turn on readPages to also get the text of each result page (charged per page read; a page that does not load costs nothing). Cost: $0.00017 per search answered; $0.00126 per result page read when readPages is on.",
|
|
919
|
+
"inputSchema": {
|
|
920
|
+
"type": "object",
|
|
921
|
+
"properties": {
|
|
922
|
+
"queries": {
|
|
923
|
+
"type": "array",
|
|
924
|
+
"items": {
|
|
925
|
+
"type": "string"
|
|
926
|
+
},
|
|
927
|
+
"description": "Searches, one per item (up to 5,000 a run)"
|
|
928
|
+
},
|
|
929
|
+
"maxResults": {
|
|
930
|
+
"type": "number",
|
|
931
|
+
"description": "Results per search, 1 to 10"
|
|
932
|
+
},
|
|
933
|
+
"region": {
|
|
934
|
+
"type": "string",
|
|
935
|
+
"description": "Search region, like us-en or uk-en"
|
|
936
|
+
},
|
|
937
|
+
"readPages": {
|
|
938
|
+
"type": "boolean",
|
|
939
|
+
"description": "Also read each result page and add its title, description and text"
|
|
940
|
+
},
|
|
941
|
+
"maxChars": {
|
|
942
|
+
"type": "number",
|
|
943
|
+
"description": "With readPages: the most text kept a page, 1,000 to 30,000 characters"
|
|
944
|
+
}
|
|
945
|
+
},
|
|
946
|
+
"required": [
|
|
947
|
+
"queries"
|
|
948
|
+
]
|
|
949
|
+
}
|
|
950
|
+
},
|
|
951
|
+
{
|
|
952
|
+
"name": "scrape_website_to_markdown",
|
|
953
|
+
"description": "Every page of a website as clean markdown text: give a list of websites or start pages and get one row per page read, with its url, title, description and the page as markdown. Pages are found from the sitemap and the site's own links, following robots.txt. Cost: $0.00099 per page with text.",
|
|
954
|
+
"inputSchema": {
|
|
955
|
+
"type": "object",
|
|
956
|
+
"properties": {
|
|
957
|
+
"websites": {
|
|
958
|
+
"type": "array",
|
|
959
|
+
"items": {
|
|
960
|
+
"type": "string"
|
|
961
|
+
},
|
|
962
|
+
"description": "Websites or start pages, one per item (up to 1,000 a run)"
|
|
963
|
+
},
|
|
964
|
+
"maxPages": {
|
|
965
|
+
"type": "number",
|
|
966
|
+
"description": "Pages read per website, 1 to 50"
|
|
967
|
+
},
|
|
968
|
+
"maxChars": {
|
|
969
|
+
"type": "number",
|
|
970
|
+
"description": "The most text kept a page, 1,000 to 30,000 characters"
|
|
971
|
+
}
|
|
972
|
+
},
|
|
973
|
+
"required": [
|
|
974
|
+
"websites"
|
|
975
|
+
]
|
|
976
|
+
}
|
|
977
|
+
},
|
|
720
978
|
{
|
|
721
979
|
"name": "scrape_website_contacts",
|
|
722
980
|
"description": "Get the emails, phone numbers and social profiles each business prints on its own website. Give a list of websites or domains; each site's home page and its contact, team and about pages are read (found from the sitemap and the home page's links, following robots.txt), and every email comes back with the person's name when the site prints it next to a matching email, and with its email check result (valid, valid_catch_all, invalid or unknown). One row per website. Use it on the websites from a Google Maps or Store Leads run to reach businesses with no email in the listing. Cost: $0.004 per website with an email or phone found.",
|
|
@@ -813,6 +1071,260 @@ export const TOOLS = [
|
|
|
813
1071
|
}
|
|
814
1072
|
}
|
|
815
1073
|
},
|
|
1074
|
+
{
|
|
1075
|
+
"name": "scrape_instagram_posts",
|
|
1076
|
+
"description": "Get the posts of Instagram profiles or hashtags: post link, date, type, caption, likes, comments, location, image or video link, and the account behind each post with its followers. Send profiles, hashtags, or both. Cost: $0.0015 per post.",
|
|
1077
|
+
"inputSchema": {
|
|
1078
|
+
"type": "object",
|
|
1079
|
+
"properties": {
|
|
1080
|
+
"profiles": {
|
|
1081
|
+
"type": "array",
|
|
1082
|
+
"items": {
|
|
1083
|
+
"type": "string"
|
|
1084
|
+
},
|
|
1085
|
+
"description": "Instagram usernames or profile links (up to 200)"
|
|
1086
|
+
},
|
|
1087
|
+
"hashtags": {
|
|
1088
|
+
"type": "array",
|
|
1089
|
+
"items": {
|
|
1090
|
+
"type": "string"
|
|
1091
|
+
},
|
|
1092
|
+
"description": "Hashtags, with or without the # (up to 200)"
|
|
1093
|
+
},
|
|
1094
|
+
"maxResults": {
|
|
1095
|
+
"type": "number",
|
|
1096
|
+
"description": "The most posts to return in all (default 100, up to 5,000)"
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
}
|
|
1100
|
+
},
|
|
1101
|
+
{
|
|
1102
|
+
"name": "scrape_instagram_comments",
|
|
1103
|
+
"description": "Get the comments on Instagram posts and reels: comment text, date, likes, replies, and the username and name of who wrote each. Cost: $0.0009 per comment.",
|
|
1104
|
+
"inputSchema": {
|
|
1105
|
+
"type": "object",
|
|
1106
|
+
"properties": {
|
|
1107
|
+
"posts": {
|
|
1108
|
+
"type": "array",
|
|
1109
|
+
"items": {
|
|
1110
|
+
"type": "string"
|
|
1111
|
+
},
|
|
1112
|
+
"description": "Instagram post or reel links (up to 200)"
|
|
1113
|
+
},
|
|
1114
|
+
"maxResults": {
|
|
1115
|
+
"type": "number",
|
|
1116
|
+
"description": "The most comments to return in all (default 100, up to 10,000)"
|
|
1117
|
+
}
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
"name": "scrape_instagram_followers",
|
|
1123
|
+
"description": "Get the followers (or the accounts followed) of Instagram profiles: username, name, profile link, user id, and whether each account is private or verified. Cost: $0.0020 per account.",
|
|
1124
|
+
"inputSchema": {
|
|
1125
|
+
"type": "object",
|
|
1126
|
+
"properties": {
|
|
1127
|
+
"profiles": {
|
|
1128
|
+
"type": "array",
|
|
1129
|
+
"items": {
|
|
1130
|
+
"type": "string"
|
|
1131
|
+
},
|
|
1132
|
+
"description": "Instagram usernames or profile links (up to 200)"
|
|
1133
|
+
},
|
|
1134
|
+
"list": {
|
|
1135
|
+
"type": "string",
|
|
1136
|
+
"description": "followers or following (default followers)"
|
|
1137
|
+
},
|
|
1138
|
+
"maxResults": {
|
|
1139
|
+
"type": "number",
|
|
1140
|
+
"description": "The most accounts to return in all (default 500, up to 10,000)"
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
"name": "scrape_facebook_posts",
|
|
1147
|
+
"description": "Get the posts of Facebook pages: post link, date, text, likes, comments, shares, whether it is a video, the link it shares, and the page's name and followers. Cost: $0.0032 per post.",
|
|
1148
|
+
"inputSchema": {
|
|
1149
|
+
"type": "object",
|
|
1150
|
+
"properties": {
|
|
1151
|
+
"pages": {
|
|
1152
|
+
"type": "array",
|
|
1153
|
+
"items": {
|
|
1154
|
+
"type": "string"
|
|
1155
|
+
},
|
|
1156
|
+
"description": "Facebook page links or page names (up to 200)"
|
|
1157
|
+
},
|
|
1158
|
+
"maxResults": {
|
|
1159
|
+
"type": "number",
|
|
1160
|
+
"description": "The most posts to return in all (default 100, up to 5,000)"
|
|
1161
|
+
}
|
|
1162
|
+
}
|
|
1163
|
+
}
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
"name": "scrape_facebook_comments",
|
|
1167
|
+
"description": "Get the comments on Facebook posts, videos and reels: comment link, text, date, reactions, replies, and the name and profile link of who wrote each. Cost: $0.0007 per comment.",
|
|
1168
|
+
"inputSchema": {
|
|
1169
|
+
"type": "object",
|
|
1170
|
+
"properties": {
|
|
1171
|
+
"posts": {
|
|
1172
|
+
"type": "array",
|
|
1173
|
+
"items": {
|
|
1174
|
+
"type": "string"
|
|
1175
|
+
},
|
|
1176
|
+
"description": "Facebook post, video or reel links (up to 200)"
|
|
1177
|
+
},
|
|
1178
|
+
"maxResults": {
|
|
1179
|
+
"type": "number",
|
|
1180
|
+
"description": "The most comments to return in all (default 100, up to 10,000)"
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
},
|
|
1185
|
+
{
|
|
1186
|
+
"name": "scrape_facebook_reviews",
|
|
1187
|
+
"description": "Get the reviews on Facebook pages: whether the reviewer recommends the page, the review text, date, review link, likes and comments, and the reviewer's name. Cost: $0.0051 per review.",
|
|
1188
|
+
"inputSchema": {
|
|
1189
|
+
"type": "object",
|
|
1190
|
+
"properties": {
|
|
1191
|
+
"pages": {
|
|
1192
|
+
"type": "array",
|
|
1193
|
+
"items": {
|
|
1194
|
+
"type": "string"
|
|
1195
|
+
},
|
|
1196
|
+
"description": "Facebook page links or page names (up to 200)"
|
|
1197
|
+
},
|
|
1198
|
+
"maxResults": {
|
|
1199
|
+
"type": "number",
|
|
1200
|
+
"description": "The most reviews to return in all (default 100, up to 5,000)"
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
}
|
|
1204
|
+
},
|
|
1205
|
+
{
|
|
1206
|
+
"name": "scrape_facebook_ads",
|
|
1207
|
+
"description": "Search the Facebook Ads Library by keyword: ad id and link, active or not, start and end dates, advertiser page name, link, likes and category, ad text, headline, call to action, landing page, platforms, format, and image or video link. Cost: $0.0006 per ad.",
|
|
1208
|
+
"inputSchema": {
|
|
1209
|
+
"type": "object",
|
|
1210
|
+
"properties": {
|
|
1211
|
+
"keywords": {
|
|
1212
|
+
"type": "array",
|
|
1213
|
+
"items": {
|
|
1214
|
+
"type": "string"
|
|
1215
|
+
},
|
|
1216
|
+
"description": "What the ads say, as people would search the Ads Library (up to 200)"
|
|
1217
|
+
},
|
|
1218
|
+
"country": {
|
|
1219
|
+
"type": "string",
|
|
1220
|
+
"description": "Two-letter country code the ads are shown in, or ALL (default US)"
|
|
1221
|
+
},
|
|
1222
|
+
"activeStatus": {
|
|
1223
|
+
"type": "string",
|
|
1224
|
+
"description": "active, inactive or all (default active)"
|
|
1225
|
+
},
|
|
1226
|
+
"maxResults": {
|
|
1227
|
+
"type": "number",
|
|
1228
|
+
"description": "The most ads to return in all (default 100, up to 5,000)"
|
|
1229
|
+
}
|
|
1230
|
+
}
|
|
1231
|
+
}
|
|
1232
|
+
},
|
|
1233
|
+
{
|
|
1234
|
+
"name": "scrape_facebook_groups",
|
|
1235
|
+
"description": "Get the posts of public Facebook groups: post link, date, text, author name and id, likes, comments and shares, and the group's name and member count. Cost: $0.0051 per post.",
|
|
1236
|
+
"inputSchema": {
|
|
1237
|
+
"type": "object",
|
|
1238
|
+
"properties": {
|
|
1239
|
+
"groups": {
|
|
1240
|
+
"type": "array",
|
|
1241
|
+
"items": {
|
|
1242
|
+
"type": "string"
|
|
1243
|
+
},
|
|
1244
|
+
"description": "Public Facebook group links (up to 200)"
|
|
1245
|
+
},
|
|
1246
|
+
"maxResults": {
|
|
1247
|
+
"type": "number",
|
|
1248
|
+
"description": "The most posts to return in all (default 100, up to 5,000)"
|
|
1249
|
+
}
|
|
1250
|
+
}
|
|
1251
|
+
}
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
"name": "scrape_facebook_marketplace",
|
|
1255
|
+
"description": "Get Facebook Marketplace listings by search and city, or from Marketplace search links: title, price, listing link, city, state, date listed, seller name and link, sold and pending flags, delivery, and photo link. Cost: $0.0015 per listing.",
|
|
1256
|
+
"inputSchema": {
|
|
1257
|
+
"type": "object",
|
|
1258
|
+
"properties": {
|
|
1259
|
+
"query": {
|
|
1260
|
+
"type": "string",
|
|
1261
|
+
"description": "What to search for, as on Marketplace (used with city)"
|
|
1262
|
+
},
|
|
1263
|
+
"city": {
|
|
1264
|
+
"type": "string",
|
|
1265
|
+
"description": "The city to search in"
|
|
1266
|
+
},
|
|
1267
|
+
"urls": {
|
|
1268
|
+
"type": "array",
|
|
1269
|
+
"items": {
|
|
1270
|
+
"type": "string"
|
|
1271
|
+
},
|
|
1272
|
+
"description": "Marketplace search links instead of query and city (up to 200)"
|
|
1273
|
+
},
|
|
1274
|
+
"maxResults": {
|
|
1275
|
+
"type": "number",
|
|
1276
|
+
"description": "The most listings to return in all (default 100, up to 5,000)"
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1279
|
+
}
|
|
1280
|
+
},
|
|
1281
|
+
{
|
|
1282
|
+
"name": "scrape_facebook_events",
|
|
1283
|
+
"description": "Find Facebook events by search: event name and link, start date, venue, address, city, whether it is online, organizer and link, how many are going and interested, description and ticket link. Cost: $0.0259 per event.",
|
|
1284
|
+
"inputSchema": {
|
|
1285
|
+
"type": "object",
|
|
1286
|
+
"properties": {
|
|
1287
|
+
"queries": {
|
|
1288
|
+
"type": "array",
|
|
1289
|
+
"items": {
|
|
1290
|
+
"type": "string"
|
|
1291
|
+
},
|
|
1292
|
+
"description": "Event searches, as people would type them on Facebook (up to 200)"
|
|
1293
|
+
},
|
|
1294
|
+
"maxResults": {
|
|
1295
|
+
"type": "number",
|
|
1296
|
+
"description": "The most events to return in all (default 50, up to 1,000)"
|
|
1297
|
+
}
|
|
1298
|
+
}
|
|
1299
|
+
}
|
|
1300
|
+
},
|
|
1301
|
+
{
|
|
1302
|
+
"name": "scrape_threads_posts",
|
|
1303
|
+
"description": "Get Threads posts by keyword or from profiles: post link, date, text, likes, replies, reposts, views, and the account with its name, followers and profile link. Send keywords or profiles in one search, not both. Cost: $0.0047 per post by keyword, $0.0058 per post from profiles.",
|
|
1304
|
+
"inputSchema": {
|
|
1305
|
+
"type": "object",
|
|
1306
|
+
"properties": {
|
|
1307
|
+
"keywords": {
|
|
1308
|
+
"type": "array",
|
|
1309
|
+
"items": {
|
|
1310
|
+
"type": "string"
|
|
1311
|
+
},
|
|
1312
|
+
"description": "Search words (up to 200)"
|
|
1313
|
+
},
|
|
1314
|
+
"profiles": {
|
|
1315
|
+
"type": "array",
|
|
1316
|
+
"items": {
|
|
1317
|
+
"type": "string"
|
|
1318
|
+
},
|
|
1319
|
+
"description": "Threads usernames or profile links (up to 200)"
|
|
1320
|
+
},
|
|
1321
|
+
"maxResults": {
|
|
1322
|
+
"type": "number",
|
|
1323
|
+
"description": "The most posts to return in all (default 100, up to 5,000)"
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
}
|
|
1327
|
+
},
|
|
816
1328
|
{
|
|
817
1329
|
"name": "find_linkedin_post_engagers",
|
|
818
1330
|
"description": "Everyone who reacted to or commented on a LinkedIn post, matched to the Lead Database for their work email, title and company. Paste up to 25 post links, or give a keyword and we read the reactions and comments on the posts it finds. One row per person (someone on several of the posts is one row, with how many they engaged with): name, headline, profile URL, reaction type, comment text, current title, company and location, plus the work email and company website when the Lead Database holds them. People with a work email come first. Cost: $0.004 per person.",
|
|
@@ -935,9 +1447,27 @@ export const ENDPOINT_BY_TOOL = {
|
|
|
935
1447
|
"scrape_signals": "/api/v1/scrape/signals",
|
|
936
1448
|
"scrape_ucc_filings": "/api/v1/scrape/ucc-filings",
|
|
937
1449
|
"scrape_facebook_pages": "/api/v1/scrape/facebook-pages",
|
|
1450
|
+
"scrape_bulk_llm_prompts": "/api/v1/scrape/bulk-llm-prompts",
|
|
1451
|
+
"scrape_ai_for_every_row": "/api/v1/scrape/ai-for-every-row",
|
|
1452
|
+
"scrape_ai_image_upscaler": "/api/v1/scrape/ai-image-upscaler",
|
|
1453
|
+
"scrape_ai_image_generator": "/api/v1/scrape/ai-image-generator",
|
|
1454
|
+
"scrape_ai_web_scraper": "/api/v1/scrape/ai-web-scraper",
|
|
1455
|
+
"scrape_search_results": "/api/v1/scrape/search-results",
|
|
1456
|
+
"scrape_website_to_markdown": "/api/v1/scrape/website-to-markdown",
|
|
938
1457
|
"scrape_website_contacts": "/api/v1/scrape/website-contacts",
|
|
939
1458
|
"find_job_posts": "/api/v1/scrape/job-scraper",
|
|
940
1459
|
"scrape_instagram_leads": "/api/v1/scrape/instagram-leads",
|
|
1460
|
+
"scrape_instagram_posts": "/api/v1/scrape/instagram-posts",
|
|
1461
|
+
"scrape_instagram_comments": "/api/v1/scrape/instagram-comments",
|
|
1462
|
+
"scrape_instagram_followers": "/api/v1/scrape/instagram-followers",
|
|
1463
|
+
"scrape_facebook_posts": "/api/v1/scrape/facebook-posts",
|
|
1464
|
+
"scrape_facebook_comments": "/api/v1/scrape/facebook-comments",
|
|
1465
|
+
"scrape_facebook_reviews": "/api/v1/scrape/facebook-reviews",
|
|
1466
|
+
"scrape_facebook_ads": "/api/v1/scrape/facebook-ads",
|
|
1467
|
+
"scrape_facebook_groups": "/api/v1/scrape/facebook-groups",
|
|
1468
|
+
"scrape_facebook_marketplace": "/api/v1/scrape/facebook-marketplace",
|
|
1469
|
+
"scrape_facebook_events": "/api/v1/scrape/facebook-events",
|
|
1470
|
+
"scrape_threads_posts": "/api/v1/scrape/threads-posts",
|
|
941
1471
|
"find_linkedin_post_engagers": "/api/v1/scrape/linkedin-post-engagers",
|
|
942
1472
|
"find_emails": "/api/v1/scrape/email-finder",
|
|
943
1473
|
"find_mobiles": "/api/v1/scrape/mobile-finder"
|
|
@@ -964,9 +1494,27 @@ export const ENDPOINTS = {
|
|
|
964
1494
|
"signals": "/api/v1/scrape/signals",
|
|
965
1495
|
"ucc-filings": "/api/v1/scrape/ucc-filings",
|
|
966
1496
|
"facebook-pages": "/api/v1/scrape/facebook-pages",
|
|
1497
|
+
"bulk-llm-prompts": "/api/v1/scrape/bulk-llm-prompts",
|
|
1498
|
+
"ai-for-every-row": "/api/v1/scrape/ai-for-every-row",
|
|
1499
|
+
"ai-image-upscaler": "/api/v1/scrape/ai-image-upscaler",
|
|
1500
|
+
"ai-image-generator": "/api/v1/scrape/ai-image-generator",
|
|
1501
|
+
"ai-web-scraper": "/api/v1/scrape/ai-web-scraper",
|
|
1502
|
+
"search-results": "/api/v1/scrape/search-results",
|
|
1503
|
+
"website-to-markdown": "/api/v1/scrape/website-to-markdown",
|
|
967
1504
|
"website-contacts": "/api/v1/scrape/website-contacts",
|
|
968
1505
|
"job-scraper": "/api/v1/scrape/job-scraper",
|
|
969
1506
|
"instagram-leads": "/api/v1/scrape/instagram-leads",
|
|
1507
|
+
"instagram-posts": "/api/v1/scrape/instagram-posts",
|
|
1508
|
+
"instagram-comments": "/api/v1/scrape/instagram-comments",
|
|
1509
|
+
"instagram-followers": "/api/v1/scrape/instagram-followers",
|
|
1510
|
+
"facebook-posts": "/api/v1/scrape/facebook-posts",
|
|
1511
|
+
"facebook-comments": "/api/v1/scrape/facebook-comments",
|
|
1512
|
+
"facebook-reviews": "/api/v1/scrape/facebook-reviews",
|
|
1513
|
+
"facebook-ads": "/api/v1/scrape/facebook-ads",
|
|
1514
|
+
"facebook-groups": "/api/v1/scrape/facebook-groups",
|
|
1515
|
+
"facebook-marketplace": "/api/v1/scrape/facebook-marketplace",
|
|
1516
|
+
"facebook-events": "/api/v1/scrape/facebook-events",
|
|
1517
|
+
"threads-posts": "/api/v1/scrape/threads-posts",
|
|
970
1518
|
"linkedin-post-engagers": "/api/v1/scrape/linkedin-post-engagers",
|
|
971
1519
|
"email-finder": "/api/v1/scrape/email-finder",
|
|
972
1520
|
"mobile-finder": "/api/v1/scrape/mobile-finder",
|
package/lib/tools.mjs
CHANGED
|
@@ -43,7 +43,7 @@ const UTILITY_HANDLERS = {
|
|
|
43
43
|
query_local_business_database: (a) =>
|
|
44
44
|
sc.dbLocalBusinesses(dbParams(a, ['hasEmail', 'hasPhone', 'hasWebsite', 'hasContact', 'excludeDelivered', 'replaceLeftContacts'])),
|
|
45
45
|
query_ecommerce_database: (a) =>
|
|
46
|
-
sc.dbEcommerce(dbParams(a, ['hasEmail', 'hasPhone', 'hasInstagram', 'hasFacebook', 'hasTiktok', 'excludeDelivered', 'replaceLeftContacts'])),
|
|
46
|
+
sc.dbEcommerce(dbParams(a, ['hasEmail', 'hasPhone', 'hasInstagram', 'hasFacebook', 'hasTiktok', 'hasYoutube', 'excludeDelivered', 'replaceLeftContacts'])),
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
for (const t of UTILITY_TOOLS) {
|
package/lib/utilityTools.mjs
CHANGED
|
@@ -168,6 +168,7 @@ export const UTILITY_TOOLS = [
|
|
|
168
168
|
hasInstagram: { type: 'boolean', description: 'Only stores with Instagram' },
|
|
169
169
|
hasFacebook: { type: 'boolean', description: 'Only stores with Facebook' },
|
|
170
170
|
hasTiktok: { type: 'boolean', description: 'Only stores with TikTok' },
|
|
171
|
+
hasYoutube: { type: 'boolean', description: 'Only stores with a YouTube channel' },
|
|
171
172
|
page: { type: 'number', description: 'Page number (default 1)', default: 1 },
|
|
172
173
|
limit: { type: 'number', description: 'Results per page (max 100)', default: 50 },
|
|
173
174
|
excludeDelivered: { type: 'boolean', description: 'Skip stores this account already has (from the API or unlocked in the dashboard). With this on, keep page at 1 or use after.' },
|