Twelve Data Public Scraper
parseforge/twelvedata-public-scraper
Developer toolsOther
Scrapes free market data from Twelve Data public endpoints. Collects real-time quotes, historical prices, and technical indicators for stocks, forex, and crypto. Returns each record as a flat row.
- Total users
- 1
- Monthly active
- 0
- Total runs
- 100
- Bookmarked
- 0
- Rating
- Not rated yet
- Last modified
- 12 days ago
Overview
Twelve Data Public Scraper
Scrape free market data endpoints from Twelve Data, up to a million records per run. Collect real-time and historical stock prices, forex rates, crypto quotes, and technical indicators. Export to CSV, JSON, Excel, or XML.
Twelve Data's official API requires an API key and has rate limits on its free tier. This Actor reads the public, no-key endpoints directly, letting you pull stock, forex, and cryptocurrency data without registration. It returns each data point in one consistent, flat schema.
| Who uses it | What they scrape Twelve Data for |
|---|---|
| Quantitative analysts | Backtesting trading strategies with free historical price data. |
| Fintech developers | Populating a market data pipeline without managing API keys. |
| Crypto traders | Pulling real-time cryptocurrency quotes for arbitrage scanning. |
| Business students | Gathering clean financial datasets for academic projects and models. |
What it does
This Actor collects market data from Twelve Data's public endpoints and returns each record as a flat row.
- ๐ Real-time quotes: current stock, forex, and crypto prices on demand.
- ๐ Historical data: daily, weekly, or intraday time series for backtesting.
- ๐งฎ Technical indicators: SMA, EMA, RSI, MACD, and other computed values.
- ๐ No API key required: hits the public endpoints directly, no registration needed.
Results export to CSV, JSON, Excel, or XML, or straight from the API.
What you can do with Twelve Data data
๐ Build a price history database.
A data engineer runs the Actor daily to collect end-of-day stock prices and append them to a company data warehouse for internal dashboards.
๐ฑ Monitor forex rates for a pricing engine.
A fintech startup pulls real-time EUR/USD and GBP/JPY quotes every minute to update the exchange rates shown in their app.
๐ Backtest a moving-average crossover strategy.
A retail trader fetches years of daily historical data and computed SMA values to test a trading idea in a Python notebook.
๐ช Scan crypto markets for arbitrage.
A crypto enthusiast collects real-time Bitcoin and Ethereum prices across multiple pairs to spot price differences manually.
Why choose this scraper
| What you get | |
|---|---|
| No API key | Access market data without signing up for a Twelve Data account. |
| Flat output | Every quote, price, or indicator value arrives as one clean row. |
| Multi-asset | Stocks, forex pairs, and cryptocurrencies from a single Actor. |
| Flexible export | Save results as CSV, JSON, Excel, or XML for any workflow. |
How it compares
No other Store actor targets Twelve Data the same way, so the honest comparison is with the alternatives teams actually weigh.
| Twelve Data Public Scraper | Build it in-house | By hand | |
|---|---|---|---|
| Setup | Run it now, zero config | Days of engineering | None, but hours per pull |
| When Twelve Data changes | Maintained for you | You fix it | You re-learn the page |
| Proxies, retries, anti-bot | Built in | Your problem | Browser only |
| Output | Fixed JSON schema, CSV/Excel export | Whatever you build | Copy-paste |
| Cost | Pay per result | Engineering time | Analyst hours |
Configure the run
Drive the Actor by setting the maximum number of records to collect per run, and it fetches from the available public endpoints until that limit is reached. The Input tab lists every parameter.
A first run with the defaults:
{
"maxItems": 10
}
A larger pull:
{
"maxItems": 200
}
Pricing
Pay-per-result: $0.021 per result collected. You pay only for the results written to your dataset.
| Results collected | Approximate cost |
|---|---|
| 100 results | $2.10 |
| 1,000 results | $21.00 |
| 10,000 results | $210.00 |
New Apify accounts start with $5 in free credit.
Free users
Free-plan runs return up to 10 results as a preview. Upgrade your Apify plan to collect up to 1,000,000 results per run.
Run it
- Create a free Apify account with $5 in credit.
- Open the Twelve Data Public Scraper.
- Set your inputs and any filters, then click Start.
- Export the results as CSV, Excel, JSON, or XML from the Dataset tab.
Run it programmatically through the Apify API (run-sync-get-dataset-items) or the ApifyClient for JavaScript and Python.
Use with AI agents (MCP)
Give an AI agent live access to Twelve Data through the Model Context Protocol. Add the Actor to Claude, Cursor, or any MCP client:
claude mcp add --transport http apify "https://mcp.apify.com?tools=parseforge/twelvedata-public-scraper"
Then prompt it in plain language to run the scraper and read back the results.
Troubleshooting
Why am I getting fewer records than my maxItems setting?
The Actor stops when it has fetched the number of records you requested or when it has exhausted the available public data. If the endpoint returns fewer results than your limit, the run ends early.
Why do some requests return empty data?
Some symbols or indicators may not be available on the public endpoints. Check that the symbol is valid and actively traded on a supported exchange.
The Actor is running slowly. Is that normal?
The Actor makes sequential requests to respect Twelve Data's servers. Large historical pulls take longer. Reduce your maxItems if you need faster, smaller runs.
I see a 'request failed' error in the log.
A temporary network issue or an unavailable endpoint can cause this. The Actor will retry automatically. If it persists, check Twelve Data's service status.
FAQ
| Question | Answer |
|---|---|
| Do I need a Twelve Data API key to use this Actor? | No. This Actor uses the public, unauthenticated endpoints that Twelve Data provides. You do not need to register or supply an API key. |
| What types of data can I scrape? | You can collect real-time quotes, historical time series, and technical indicators for stocks, forex pairs, and cryptocurrencies. |
| How many records can I get in one run? | You set the maximum number of records, up to 1,000,000 per run. The Actor stops fetching once it reaches your limit. |
| What format is the output data in? | The Actor returns a flat dataset that you can export to CSV, JSON, Excel, or XML from the Apify platform. |
| Is there a rate limit on the public endpoints? | Twelve Data's public endpoints have generous but finite access. The Actor makes requests sequentially to stay within acceptable usage patterns. |
| Can I get intraday data with this Actor? | Yes, the public endpoints include intraday time series when available. The exact granularity depends on what Twelve Data exposes without a key. |
| Does this cover all world stock exchanges? | It covers the symbols and exchanges available through Twelve Data's public endpoints. Coverage is broad but may not include every small regional exchange. |
| Can I filter for a specific symbol or asset class? | The Actor fetches from the public endpoints as they are. You can filter the resulting dataset by symbol or asset class after the run completes. |
Related actors
Browse the full ParseForge collection for more scrapers.
๐ Need help? Email parseforge@protonmail.com with your run ID, your input, and what you expected.
โ ๏ธ Disclaimer. This Actor is unofficial and is not affiliated with, endorsed by, or sponsored by Twelve Data Pte. Ltd. It collects only publicly available data. You are responsible for using the collected data in compliance with the source's terms of service and applicable data-protection laws, including GDPR, CCPA, and PIPL. Do not use it to collect personal data unlawfully.
Input
| Field | Type | What it does | Default |
|---|---|---|---|
| maxItems | integer | How many records to collect per run. | 10 |
Pricing
from $19.00 per 1,000 results
| Charged for | What it is | Price each |
|---|---|---|
| result | Single result in the default dataset. | $0.019 to $0.021 |
Tiered: the lower figure is the price on a higher Apify plan. Billing and the free credit live on Apify.
API
One POST returns the dataset directly. Same shape for every scraper in the library, so swapping the slug is the only change.
curl -X POST "https://api.apify.com/v2/acts/parseforge~twelvedata-public-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"helloWorld": 123
}' Examples
Input that runs as-is.
{
"helloWorld": 123
} Reviews
No reviews yet. Be the first.
Issues
We build and maintain this scraper, so a problem with it comes to us. Report it on the Apify listing and the thread stays attached to the scraper where the next person can find it: open an issue.
Broken and urgent, or you would rather not post in public? Write to parseforge@protonmail.com and it reaches the people who wrote it.
