ParseForge Scrapers

NEAR Protocol Stats Scraper

parseforge/nearblocks-stats-scraper

Developer toolsBusinessAutomation

Scrapes NEAR Protocol network statistics from NearBlocks. Returns each stat as a flat row with block height, timestamp, transaction count, gas used, and computed signals. Export to CSV, JSON, Excel, or XML.

Run this scraper See the API call
Total users
2
Monthly active
1
Total runs
16
Bookmarked
0
Rating
Not rated yet
Last modified
10 days ago

Overview

ParseForge

NEAR Protocol Stats Scraper

Scrape NEAR Protocol blockchain stats from NearBlocks, up to a million records per run. Every record comes with its block height, timestamp, transaction count, gas used, and computed network signals. No API key or node required. Export to CSV, JSON, Excel, or XML.

NEAR Protocol's official RPC and indexer APIs need an endpoint, rate-limit you, and return raw blockchain data you must decode yourself. This reads the public stats feeds from NearBlocks directly, filters by block height or date range, and returns each match in one fixed schema.

Who uses it What they scrape NEAR Protocol for
Blockchain analysts Track NEAR network activity and growth over time
DeFi researchers Correlate transaction volume with token price movements
DApp developers Monitor gas usage and congestion to optimize contracts
Crypto investors Assess network adoption before allocating capital
Data journalists Report on NEAR Protocol milestones and usage trends

What it does

This Actor collects NEAR Protocol network statistics from NearBlocks and returns each one as a flat row.

  • ๐Ÿ“Š Computed signals: transactions per second, average gas price, and active validator count.
  • ๐Ÿ” Flexible filters: set a maximum number of records, from 1 to 1,000,000.
  • ๐Ÿ“ฆ Structured output: every stat is a flat row with consistent field names.
  • โšก No infrastructure: no node, no API key, no rate limits to manage.

Results export to CSV, JSON, Excel, or XML, or straight from the API.

What you can do with NEAR Protocol data

๐Ÿ“ˆ Track network growth.

A blockchain analyst runs the Actor daily to collect block height and transaction counts, then charts NEAR adoption over the last quarter.

โ›ฝ Monitor gas trends.

A DApp developer pulls gas used per block to identify congestion spikes and adjust contract deployment timing.

๐Ÿ’ฐ Correlate with price.

A crypto investor compares transaction volume from NearBlocks with NEAR token price data to spot divergence signals.

๐Ÿ“ฐ Report on milestones.

A data journalist scrapes stats around a protocol upgrade to quantify the impact on network throughput.

Why choose this scraper

What you get
No API key Read public NearBlocks stats without registering or authenticating
Up to 1M rows Paid users can pull a million records in one run
Fixed schema Every record has the same fields, ready for analysis
Multiple exports CSV, JSON, Excel, and XML for any downstream tool

How it compares

No other Store actor targets NEAR Protocol the same way, so the honest comparison is with the alternatives teams actually weigh.

NEAR Protocol Stats Scraper Build it in-house By hand
Setup Run it now, zero config Days of engineering None, but hours per pull
When NEAR Protocol 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 with a single maxItems limit, and it returns the most recent NEAR stats from NearBlocks in reverse chronological order. The Input tab lists every parameter.

A first run with the defaults:

{
 "maxItems": 10
}

A larger pull:

{
 "maxItems": 200
}

Pricing

Pay-per-result: $0.0018 per result collected. You pay only for the results written to your dataset.

Results collected Approximate cost
100 results $0.18
1,000 results $1.80
10,000 results $18.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

  1. Create a free Apify account with $5 in credit.
  2. Open the NEAR Protocol Stats Scraper.
  3. Set your inputs and any filters, then click Start.
  4. 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 NEAR Protocol 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/nearblocks-stats-scraper"

Then prompt it in plain language to run the scraper and read back the results.

Troubleshooting

Why am I getting no results?

Check that maxItems is set to at least 1. If the NearBlocks site is temporarily unavailable, wait a few minutes and retry.

Why did I only get 10 records as a free user?

Free Apify accounts are limited to 10 records for this Actor as a preview. Upgrade to a paid plan to scrape up to 1,000,000 records.

The run failed with a timeout.

Large maxItems values can take longer. Try reducing maxItems or increasing the Actor's timeout in the run settings.

Some fields are empty in the output.

NearBlocks may not provide every field for every stat. Empty fields mean the data was not available for that record.

Can I get older historical stats?

The Actor returns the most recent stats first. To get older data, you would need to run it repeatedly and accumulate results, or use a different data source.

FAQ

Question Answer
What is NearBlocks? NearBlocks is a public block explorer and analytics platform for the NEAR Protocol blockchain. It provides stats on blocks, transactions, accounts, and validators.
Do I need a NEAR RPC endpoint or API key? No. This Actor reads the public stats pages from NearBlocks directly, so you do not need to run a node or register for an API key.
What data does each record contain? Each record is a flat row with fields like block height, timestamp, transaction count, gas used, and computed network signals. The exact fields are listed in the sample output.
How many records can I scrape? Free users get up to 10 records as a preview. Paid users can set maxItems up to 1,000,000 per run.
Can I filter by date or block height? The current input only supports a maximum number of records. The Actor returns the most recent stats first, so you can limit the output to the latest N records.
What export formats are supported? You can export the dataset as CSV, JSON, Excel, or XML from the Apify platform.
Is this an official NEAR Foundation tool? No, this is an independent scraper built on Apify. It is not affiliated with or endorsed by the NEAR Foundation.
How often is the data updated? The Actor fetches live data from NearBlocks on each run, so you get the latest stats available at that moment.
Can I schedule this Actor to run automatically? Yes, you can set up a schedule in Apify to run it hourly, daily, or at any custom interval.
What is the difference between this and the NEAR RPC API? The RPC API gives you raw blockchain data like individual transactions. This Actor gives you aggregated network stats from NearBlocks, already structured for analysis.

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 NEAR Foundation. 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

FieldTypeWhat it doesDefault
maxItems integer Free users: limited to 10 NEAR stats records (preview). Paid users: optional, up to 1,000,000. 10

Pricing

from $1.63 per 1,000 results

Charged forWhat it isPrice each
result Single result in the default dataset. $0.00163 to $0.0018

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.

POST ยท run and get results
curl -X POST "https://api.apify.com/v2/acts/parseforge~nearblocks-stats-scraper/run-sync-get-dataset-items?token=$APIFY_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "helloWorld": 123
  }'

Examples

Input that runs as-is.

input.json
{
  "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.

Related scrapers

Run NEAR Protocol Stats Scraper on Apify All scrapers