1import { ApifyClient } from 'apify-client';
2
3
4
5const client = new ApifyClient({
6 token: '<YOUR_API_TOKEN>',
7});
8
9
10const input = {
11 "searchQueries": [
12 "fintech indonesia"
13 ],
14 "postTypes": [
15 "post"
16 ],
17 "filterCategories": [
18 "Fintech"
19 ],
20 "publishedAfter": "2026-01-01",
21 "categorySlugs": [
22 "fintech"
23 ],
24 "tagSlugs": [
25 "indonesia"
26 ],
27 "postUrls": [
28 "https://www.techinasia.com/news/apple-pay-plans-india-launch-axis-bank-sources"
29 ],
30 "companyCountries": [
31 "Indonesia"
32 ],
33 "fundingStages": [
34 "Series A"
35 ],
36 "companySlugs": [
37 "gojek"
38 ]
39};
40
41
42const run = await client.actor("fanndev/techinasia-scraper").call(input);
43
44
45console.log('Results from dataset');
46console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
47const { items } = await client.dataset(run.defaultDatasetId).listItems();
48items.forEach((item) => {
49 console.dir(item);
50});
51
52