1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "site": {
10 "origin": "https://example.com",
11 "name": "Example Studio",
12 },
13 "pages": [
14 {
15 "id": "home",
16 "path": "/",
17 "title": "Example Studio — Design and development",
18 "description": "Example Studio designs and develops websites.",
19 "language": "en",
20 "indexable": True,
21 },
22 {
23 "id": "guide",
24 "path": "/guides/launch",
25 "title": "Site Launch Checklist",
26 "description": "A practical checklist for launching a website.",
27 "language": "en",
28 "indexable": True,
29 "lastModified": "2026-10-01",
30 },
31 {
32 "id": "alias",
33 "path": "/old-guide",
34 "title": "Site Launch Checklist",
35 "description": "An older address for the site launch checklist.",
36 "language": "en",
37 "indexable": True,
38 "canonicalPath": "/guides/launch",
39 },
40 {
41 "id": "thankyou",
42 "path": "/thank-you",
43 "title": "Thank you",
44 "description": "Confirmation that a requested action was received.",
45 "language": "en",
46 "indexable": False,
47 },
48 ],
49}
50
51
52run = client.actor("bread-kim/seo-geo-launch-config-pack").call(run_input=run_input)
53
54
55print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
56for item in client.dataset(run.default_dataset_id).iterate_items():
57 print(item)
58
59