Investing.com Scraper avatar
Investing.com Scraper
Deprecated
View all Actors
This Actor is deprecated

This Actor is unavailable because the developer has decided to deprecate it. Would you like to try a similar Actor instead?

See alternative Actors
Investing.com Scraper

Investing.com Scraper

glitch_404/investing-scraper

Scrape Investing.com daily news and 250K of archived news and articles

The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "startUrls": [
8    {
9      "url": "https://www.investing.com/indices/eu-stoxx50-news/"
10    },
11    {
12      "url": "https://www.investing.com/news/latest-news/"
13    },
14    {
15      "url": "https://www.investing.com/news/most-popular-news/"
16    },
17    {
18      "url": "https://www.investing.com/news/headlines/"
19    },
20    {
21      "url": "https://www.investing.com/news/cryptocurrency-news/"
22    },
23    {
24      "url": "https://www.investing.com/news/stock-market-news/"
25    },
26    {
27      "url": "https://www.investing.com/news/commodities-news/"
28    },
29    {
30      "url": "https://www.investing.com/news/forex-news/"
31    },
32    {
33      "url": "https://www.investing.com/news/economy/"
34    },
35    {
36      "url": "https://www.investing.com/news/economic-indicators/"
37    },
38    {
39      "url": "https://www.investing.com/news/politics/"
40    },
41    {
42      "url": "https://www.investing.com/news/world-news/"
43    }
44  ],
45  "dateRange": "2023/1/5 - 2020/1/5",
46  "maxArticles": 50,
47  "maxDepth": 20,
48  "proxyConfiguration": {
49    "useApifyProxy": false
50  }
51}
52EOF
53
54# Run the Actor using an HTTP API
55# See the full API reference at https://docs.apify.com/api/v2
56curl "https://api.apify.com/v2/acts/glitch_404~investing-scraper/runs?token=$API_TOKEN" \
57  -X POST \
58  -d @input.json \
59  -H 'Content-Type: application/json'
Developer
Maintained by Community