1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "keywords": [
10 "remote work",
11 "project management",
12 "team productivity",
13 "async communication",
14 ],
15 "targetUrl": "https://www.example.com/blog/async-standups-guide",
16 "senderPitch": "A free 2,500-word guide to async stand-ups for remote teams, with copy-paste templates",
17 "maxQualified": 50,
18 "maxDiscoveryChargeUsd": 0.5,
19 "clients": [
20 {
21 "name": "Budget calculator client",
22 "keywords": [
23 "personal finance",
24 "budgeting tips",
25 "debt payoff",
26 "saving money",
27 ],
28 "senderPitch": "A free budget calculator your readers can use without signing up",
29 },
30 {
31 "name": "Retirement planner client",
32 "keywords": [
33 "retirement planning",
34 "retirement savings",
35 "early retirement",
36 ],
37 "senderPitch": "A free retirement planner that shows the monthly saving needed",
38 },
39 ],
40 "sourceMode": "list",
41 "itemsList": [
42 {
43 "url": "https://www.remotecrewjournal.example/write-for-us/",
44 "title": "Write for Us – Remote Work Guest Posts | Remote Crew Journal",
45 "description": "We accept guest posts on remote work, async collaboration and distributed teams. Read our guidelines before you pitch the editors.",
46 "position": 1,
47 "query": "\"remote work\" \"write for us\"",
48 "keyword": "remote work",
49 "date": "2026-06-02",
50 "websiteContent": { "markdown": """# Write for Us
51
52Remote Crew Journal publishes practical guides for people who lead remote and hybrid teams.
53
54We accept guest posts on remote work, async collaboration, meetings and distributed hiring. Articles should be 1,200-2,000 words, original and never published elsewhere.
55
56Each accepted guest post may include one dofollow link to a relevant resource in the body.
57
58We do not publish sponsored posts or casino, crypto or CBD content.
59
60Email your pitch with two headline ideas to editor@remotecrewjournal.example.
61
62[Contact](https://www.remotecrewjournal.example/contact/) · [Twitter](https://twitter.com/remotecrewj) · [LinkedIn](https://www.linkedin.com/company/remote-crew-journal/)""" },
63 "sample": {
64 "authorityScore": 31,
65 "authorityRank": 48210,
66 "emailStatus": "mx_ok",
67 },
68 "emphasizedKeywords": [
69 "remote work",
70 "guest posts",
71 ],
72 },
73 {
74 "url": "https://pmtoolkit.example/resources/project-management-links?utm_source=google",
75 "title": "Project Management Resources: 40 Useful Links for PMs",
76 "description": "A curated list of project management resources: templates, guides, courses and tools we recommend to new and senior project managers.",
77 "position": 2,
78 "query": "\"project management\" intitle:resources",
79 "keyword": "project management",
80 "date": "2026-03-18",
81 "websiteContent": { "markdown": """# Project Management Resources
82
83The links we send to every new project manager. Updated every quarter.
84
85## Templates
86
87- [Kick-off meeting agenda](https://agendahub.example/kickoff)
88- [RACI chart template](https://sheetsmith.example/raci)
89
90## Guides
91
92- [Running remote retrospectives](https://retrocraft.example/remote)
93- [Estimating with ranges](https://estimatelab.example/ranges)
94
95Know a resource that belongs here? Suggest it to hello [at] pmtoolkit [dot] example — we review suggestions every month.
96
97[Contact us](https://pmtoolkit.example/contact)""" },
98 "sample": {
99 "authorityScore": 24,
100 "authorityRank": 168400,
101 "emailStatus": "mx_ok",
102 "brokenLinks": ["https://estimatelab.example/ranges"],
103 },
104 "emphasizedKeywords": [
105 "project management",
106 "resources",
107 ],
108 },
109 {
110 "url": "https://focusflow.example/blog/best-team-productivity-tools/",
111 "title": "11 Best Team Productivity Tools for Remote Teams (2026)",
112 "description": "We tested 30 team productivity tools with remote teams. Here are the 11 best for planning, async stand-ups and focus time.",
113 "position": 3,
114 "query": "best team productivity tools",
115 "keyword": "team productivity",
116 "date": "2026-08-21",
117 "websiteContent": { "markdown": """# 11 Best Team Productivity Tools for Remote Teams (2026)
118
119We tested 30 team productivity tools with four remote teams over six weeks.
120
1211. [PlanBoard](https://planboard.example) - planning
1222. [StandupBot](https://standupbot.example) - async stand-ups
1233. [DeepWork Timer](https://deepwork.example) - focus time
124
125Missing a tool? We update this list every quarter — send it to our editor Maya Lopez at maya.lopez@focusflow.example.
126
127[Contact](https://focusflow.example/contact-us) · [Instagram](https://www.instagram.com/focusflowhq)""" },
128 "sample": {
129 "authorityScore": 27,
130 "authorityRank": 97300,
131 "emailStatus": "mx_ok",
132 },
133 "emphasizedKeywords": ["team productivity tools"],
134 },
135 {
136 "url": "https://teamleadweekly.example/contribute/",
137 "title": "Contribute to Team Lead Weekly – Guest Contributor Guidelines",
138 "description": "Team Lead Weekly welcomes contributed articles from engineering and product managers about team productivity and project management.",
139 "position": 4,
140 "query": "\"team productivity\" \"submit a guest post\"",
141 "keyword": "team productivity",
142 "date": "2025-11-04",
143 "websiteContent": { "markdown": """# Guest Contributor Guidelines
144
145Team Lead Weekly welcomes contributed articles from engineering and product managers.
146
147Topics we accept: team productivity, project management, hiring, one-on-ones.
148
149Links to your own site are nofollow. Sponsored posts are available and always labelled as sponsored.
150
151Use the form on our [contact page](https://teamleadweekly.example/contact) to pitch.""" },
152 "sample": {
153 "authorityScore": 35,
154 "authorityRank": 29870,
155 },
156 "emphasizedKeywords": [
157 "team productivity",
158 "project management",
159 ],
160 },
161 {
162 "url": "https://www.remotecrewjournal.example/blog/async-meetings/",
163 "title": "Async Meetings: A Remote Work Playbook | Remote Crew Journal",
164 "description": "How remote teams replace status meetings with written updates.",
165 "position": 7,
166 "query": "\"remote work\" \"submit a guest post\"",
167 "keyword": "remote work",
168 },
169 {
170 "url": "https://en.wikipedia.org/wiki/Remote_work",
171 "title": "Remote work - Wikipedia",
172 "description": "Remote work is the practice of working at or from one's home or another space rather than from an office.",
173 "position": 2,
174 "query": "\"remote work\" intitle:resources",
175 "keyword": "remote work",
176 },
177 {
178 "url": "https://www.g2.com/categories/project-management",
179 "title": "Best Project Management Software in 2026 | G2",
180 "description": "Compare the best project management software with verified user reviews.",
181 "position": 1,
182 "query": "best project management tools",
183 "keyword": "project management",
184 },
185 {
186 "url": "https://asyncworkinstitute.example/reports/remote-work-report-2026.pdf",
187 "title": "State of Remote Work 2026 (PDF)",
188 "description": "Survey of 3,000 remote workers on productivity and collaboration tools.",
189 "position": 5,
190 "query": "\"remote work\" intitle:resources",
191 "keyword": "remote work",
192 },
193 ],
194 "maxPagesPerQuery": 1,
195 "maxQueries": 40,
196 "discoveryInput": {},
197 "proxyConfiguration": { "useApifyProxy": False },
198}
199
200
201run = client.actor("rich_minds/link-building-prospects-ai").call(run_input=run_input)
202
203
204print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
205for item in client.dataset(run.default_dataset_id).iterate_items():
206 print(item)
207
208