Investing.com Scraper avatar
Investing.com Scraper
Try for free

7 days trial then $10.00/month - No credit card required now

View all Actors
Investing.com Scraper

Investing.com Scraper

glitch_404/investing-scraper
Try for free

7 days trial then $10.00/month - No credit card required now

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 mode

Node.js

Python

curl

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
Actor metrics
  • 5 monthly users
  • 79.7% runs succeeded
  • 0.0 days response time
  • Created in Feb 2024
  • Modified 13 days ago