ScrapeMole Onchain
Pay-per-call x402 onchain/blockchain lookup MCP for AI agents (USDC on Base). Public non-personal data only. Remote: https://onchain.scrapemole.workers.dev/mcp . Also: reader, domains, companies, wiki .scrapemole.workers.dev/mcp
Hosted MCP Server
npx add-mcp 'https://onchain.scrapemole.workers.dev/mcp'Installs into Claude Code, Codex, Cursor and more
Documentation
Data APIs your AI agent pays for per call.
10 APIs, 56 endpoints: YouTube, Google Trends, Amazon, web pages, domains, SEC filings, Wikipedia, arXiv, npm/PyPI and on-chain data. No signup or API key. Your agent pays a fraction of a cent in USDC, and only when the call returns data.
Start in one minute
1 · Add the MCP server to your agent
https://scrapemole-api-mainnet.scrapemole.workers.dev/mcp Copy
2 · Or call over HTTP. No payment returns a 402 with the price.
curl -i "https://scrapemole-api-mainnet.scrapemole.workers.dev/v1/youtube/search?q=espresso%20machine%20review&limit=10"
3 · Pay with any x402 client and a wallet holding USDC on Base
Charged only on HTTP 200. Errors are free.
10 APIs live on Base mainnet
56 paid endpoints
$0.001–$0.01 per successful call
$0 charged for 7 failed calls in our paid test run
Catalog
Every API has its own MCP server, openapi.json and llms.txt. Open one to see and copy its endpoints. One flat price per successful call.
Video, trends and shopping
Core 8 endpoints · $0.003–$0.01 per callYouTube search, channels, videos, comments, playlists and transcripts, Google Trends, and Amazon products. Each has its own docs page.
MCP https://scrapemole-api-mainnet.scrapemole.workers.dev/mcp Copy openapi.json llms.txt
- $0.01
GET https://scrapemole-api-mainnet.scrapemole.workers.dev/v1/youtube/searchCopyUp to 50 videos per query with title, channel, views, duration and publish date. Filters for sort, upload date and duration. Docs → - $0.01
GET https://scrapemole-api-mainnet.scrapemole.workers.dev/v1/youtube/channelCopyThe latest videos, Shorts or live streams of one channel (up to 50), with views, durations and channel stats. Docs → - $0.003
GET https://scrapemole-api-mainnet.scrapemole.workers.dev/v1/youtube/videoCopyExact views, likes, comment count, duration, publish date, category, description and tags of one video. $0.003. Docs → - $0.005
GET https://scrapemole-api-mainnet.scrapemole.workers.dev/v1/youtube/commentsCopyTop or newest public comments (up to 100) with likes, reply counts and pinned/creator flags. No commenter identities. Docs → - $0.005
GET https://scrapemole-api-mainnet.scrapemole.workers.dev/v1/youtube/playlistCopyUp to 100 videos of a public playlist in order, with playlist title and total count. Docs → - $0.005
GET https://scrapemole-api-mainnet.scrapemole.workers.dev/v1/youtube/transcriptCopyCaptions of one public video as plain text or timestamped segments, with title, channel and language. Optional translation. Docs → - $0.01
GET https://scrapemole-api-mainnet.scrapemole.workers.dev/v1/google-trendsCopyInterest over time and by region for one term (or up to 5 compared), plus related queries and topics. Docs → - $0.01
GET https://scrapemole-api.vercel.app/v1/amazon/productCopyOne product by ASIN or URL: price, list price, stock, rating, reviews count, Best Sellers rank, specs and images. Docs →
Web pages and domains
Reader 5 endpoints · $0.001–$0.003 per callAny web page as clean Markdown, link previews, RSS/Atom/JSON feeds, every link on a page, and site sitemaps.
MCP https://reader.scrapemole.workers.dev/mcp Copy openapi.json llms.txt
- $0.003
GET https://reader.scrapemole.workers.dev/v1/readCopyAny public web page as clean Markdown (main content only) plus title, author, date and word count. - $0.001
GET https://reader.scrapemole.workers.dev/v1/metaCopyLink preview / SEO metadata for a URL: title, description, Open Graph, Twitter card, canonical, favicon, feeds, JSON-LD types. - $0.002
GET https://reader.scrapemole.workers.dev/v1/feedCopyLatest items of an RSS, Atom or JSON feed, normalized (title, link, date, author, summary, image). Give a feed URL or a site URL (feed auto-discovered). - $0.002
GET https://reader.scrapemole.workers.dev/v1/linksCopyAll links on a web page, absolute and deduplicated, with anchor text, internal/external flag, nofollow/sponsored/ugc rel and how often each appears. - $0.002
GET https://reader.scrapemole.workers.dev/v1/sitemapCopyA site's XML sitemap as a URL list with lastmod, changefreq and priority. Finds it via robots.txt or /sitemap.xml; handles sitemap indexes and.xml.gz.
Domains 6 endpoints · $0.001–$0.004 per callDNS records, WHOIS/RDAP, bulk domain availability, email security audit, live SSL/TLS certificate check, subdomains from Certificate Transparency (crt.sh).
MCP https://domains.scrapemole.workers.dev/mcp Copy openapi.json llms.txt
- $0.001
GET https://domains.scrapemole.workers.dev/v1/dnsCopyLive DNS records for a name: A, AAAA, CNAME, MX, NS, TXT, SOA, CAA, SRV, HTTPS, DS and more, with TTLs and DNSSEC validation flag. - $0.002
GET https://domains.scrapemole.workers.dev/v1/whoisCopyDomain registration data (WHOIS successor RDAP): registrar, created/expiry/updated dates, status codes, nameservers, DNSSEC. No personal contact data. - $0.004
GET https://domains.scrapemole.workers.dev/v1/availabilityCopyCheck up to 10 domain names at once: registered or available, from the registries (RDAP), with DNS fallback. - $0.003
GET https://domains.scrapemole.workers.dev/v1/email-securityCopyEmail security / deliverability audit of a domain: MX and provider, SPF, DMARC policy, DKIM (common selectors), MTA-STS, TLS-RPT, BIMI, with a grade and fix list. - $0.003
GET https://domains.scrapemole.workers.dev/v1/sslCopyLive SSL/TLS certificate check of a host: trusted or not (and why), hostname match, expiry and days left, issuer, SANs, TLS version, cipher, chain. - $0.003
GET https://domains.scrapemole.workers.dev/v1/subdomainsCopySubdomains of a domain found in public Certificate Transparency logs (unexpired certificates), with first-seen, latest expiry and issuer per name.
Companies, research and packages
Companies 4 endpoints · $0.001–$0.004 per callSEC EDGAR company data (public domain): company and ticker search, company profiles, XBRL financials (5 years + 4 quarters) and filing lists with document links.
MCP https://companies.scrapemole.workers.dev/mcp Copy openapi.json llms.txt
- $0.001
GET https://companies.scrapemole.workers.dev/v1/searchCopyFind US-listed companies by name or ticker: ticker, SEC CIK, legal name and exchange (about 10,000 SEC filers). - $0.002
GET https://companies.scrapemole.workers.dev/v1/companyCopyCompany profile from SEC EDGAR by ticker or CIK: legal name, tickers, exchanges, SIC industry, state of incorporation, fiscal year end, filer category, addresses, former names, latest filings. - $0.004
GET https://companies.scrapemole.workers.dev/v1/financialsCopyKey financials as reported to the SEC (XBRL): revenue, gross profit, operating income, net income, diluted EPS, operating cash flow, capex, R&D, assets, liabilities, equity, cash, long-term debt; last 5 fiscal years and 4 quarters. - $0.002
GET https://companies.scrapemole.workers.dev/v1/filingsCopyRecent SEC filings of a company (10-K, 10-Q, 8-K with item codes, 20-F, S-1, proxy…) with filing and report dates and direct links to the document and index.
Wiki 3 endpoints · $0.001–$0.002 per callWikipedia summaries and full-text search in any language, and structured Wikidata facts, with CC BY-SA attribution in every response. No articles about individual people.
MCP https://wiki.scrapemole.workers.dev/mcp Copy openapi.json llms.txt
- $0.001
GET https://wiki.scrapemole.workers.dev/v1/summaryCopyLead summary of a Wikipedia article in any language: title, short description, plain-text extract, thumbnail, Wikidata ID, last edit time, with CC BY-SA attribution. - $0.001
GET https://wiki.scrapemole.workers.dev/v1/searchCopyFull-text search of Wikipedia in any language: matching article titles with text snippets, word count and last edit, best match first. - $0.002
GET https://wiki.scrapemole.workers.dev/v1/entityCopyStructured facts about an organization, place, product or concept from Wikidata: type, country, HQ, inception, website, industry, employees, revenue, ticker, LEI, population, coordinates and more, labels resolved.
Arxiv 4 endpoints · $0.002–$0.003 per callarXiv scholarly metadata for agents: paper search, paper cards by id, lightweight abstracts, and recent papers by subject category. Public Atom API only; affiliation emails stripped.
MCP https://arxiv.scrapemole.workers.dev/mcp Copy openapi.json llms.txt
- $0.003
GET https://arxiv.scrapemole.workers.dev/v1/arxiv/searchCopyFull-text search of arXiv: matching papers with title, authors, abstract, categories, dates and PDF/abs links (affiliation emails stripped). - $0.002
GET https://arxiv.scrapemole.workers.dev/v1/arxiv/paperCopyOne arXiv paper by id: title, abstract, authors, categories, dates, comment, journal ref, DOI, abs and PDF links (affiliation emails stripped). - $0.002
GET https://arxiv.scrapemole.workers.dev/v1/arxiv/absCopyLightweight arXiv abstract card by id: title, authors (names only), abstract, primary category, dates and abs/PDF links. - $0.003
GET https://arxiv.scrapemole.workers.dev/v1/arxiv/categoryCopyRecent (or relevance-sorted) arXiv papers in a subject category such as cs.AI, cs.LG, hep-ex or math.CO.
Pkgs 6 endpoints · $0.002–$0.003 per callnpm and PyPI package metadata for agents: package/project cards, version details, search, and npm download counts. Public registry data only; emails stripped.
MCP https://pkgs.scrapemole.workers.dev/mcp Copy openapi.json llms.txt
- $0.002
GET https://pkgs.scrapemole.workers.dev/v1/npm/packageCopyLatest metadata for an npm package: description, homepage, repository, license, keywords, maintainers (names only), version count, latest version, publish times, and last-week downloads. - $0.002
GET https://pkgs.scrapemole.workers.dev/v1/npm/versionCopyOne published npm version: dependencies, peerDependencies, engines, dist tarball URL and integrity, and published time. - $0.003
GET https://pkgs.scrapemole.workers.dev/v1/npm/searchCopyFull-text search of the npm registry: matching package name, version, description, keywords and relevance score (publisher emails omitted). - $0.002
GET https://pkgs.scrapemole.workers.dev/v1/pypi/projectCopyPyPI project info: summary, home page, project URLs, license, requires_python, classifiers subset, current version and yank status (author emails redacted). - $0.002
GET https://pkgs.scrapemole.workers.dev/v1/pypi/releaseCopyFiles for one PyPI release: filename, packagetype, size, upload time, yank status and digests. - $0.003
GET https://pkgs.scrapemole.workers.dev/v1/pypi/searchCopyResolve PyPI project names: exact and PEP 503–normalized variants (hyphen/underscore/dot), returning matching project summaries. Full-text web search is not used (PyPI XML-RPC search is retired; the HTML search page is challenge-gated).
On-chain data
Onchain 7 endpoints · $0.001–$0.003 per callChainlink USD prices, Uniswap v3 DEX prices, ENS and Basename resolution, gas and fee estimates, ERC-20 tokens, wallet balances and transactions on Base and Ethereum.
MCP https://onchain.scrapemole.workers.dev/mcp Copy openapi.json llms.txt
- $0.002
GET https://onchain.scrapemole.workers.dev/v1/priceCopyUSD spot prices for up to 10 assets per call (crypto, stablecoins, forex, gold/silver) from Chainlink feeds read on-chain on Base or Ethereum, with update time and staleness flag. - $0.001
GET https://onchain.scrapemole.workers.dev/v1/tokenCopyERC-20 token metadata by contract address on Base or Ethereum: name, symbol, decimals, total supply (raw and human), contract check, plus USD price when a Chainlink feed exists. - $0.003
GET https://onchain.scrapemole.workers.dev/v1/balancesCopyNative ETH and ERC-20 balances of any address on Base or Ethereum (default common tokens or your list), with USD values from Chainlink. - $0.002
GET https://onchain.scrapemole.workers.dev/v1/txCopyLook up a transaction on Base or Ethereum: status, block and time, from/to, ETH value, fee, method selector and decoded ERC-20 transfers with symbols and amounts. - $0.001
GET https://onchain.scrapemole.workers.dev/v1/ensCopyResolve an ENS name or Basename (vitalik.eth, jesse.base.eth, *.cb.id) to its address, or an address to its primary ENS name and Basename (forward-verified). - $0.001
GET https://onchain.scrapemole.workers.dev/v1/gasCopyCurrent gas on Base or Ethereum: base fee, slow/standard/fast priority fees (gwei) from the last 20 blocks, block fullness, and the cost in ETH and USD of a transfer, an ERC-20 transfer and a swap. - $0.002
GET https://onchain.scrapemole.workers.dev/v1/dex-priceCopyOn-chain DEX price of any ERC-20 on Base or Ethereum from Uniswap v3 pools (vs WETH/USDC/USDT): price in USD and in the quote token, the deepest pool, its fee tier and pool reserves.
Rates, time, weather and news
Pulse 7 endpoints · $0.001–$0.002 per callOfficial ECB exchange rates (latest, history, conversion), current time and DST-aware time-zone conversion, global weather forecasts (MET Norway, CC BY 4.0) by coordinates or place name, and live Hacker News lists.
MCP https://pulse.scrapemole.workers.dev/mcp Copy openapi.json llms.txt
- $0.001
GET https://pulse.scrapemole.workers.dev/v1/fx/latestCopyLatest official ECB foreign exchange reference rates for ~30 currencies against any base currency (EUR, USD, GBP, JPY…), with the rate date. - $0.001
GET https://pulse.scrapemole.workers.dev/v1/fx/convertCopyConvert an amount between two currencies at the latest or a historical ECB reference rate (any working day since 1999). - $0.002
GET https://pulse.scrapemole.workers.dev/v1/fx/historyCopyDaily ECB reference rate time series between two dates (up to 1 year) for chosen currencies, plus min/max/first/last per currency. - $0.001
GET https://pulse.scrapemole.workers.dev/v1/time/nowCopyCurrent local date, time, weekday, UTC offset and DST flag in up to 20 IANA time zones at once. - $0.001
GET https://pulse.scrapemole.workers.dev/v1/time/convertCopyConvert a local date-time from one IANA time zone to others (DST-aware), e.g. "2026-11-03 15:00 in New York" to Vilnius and Tokyo. - $0.002
GET https://pulse.scrapemole.workers.dev/v1/weatherCopyCurrent conditions and hourly forecast (up to 48 h) plus daily min/max/precipitation (up to 9 days) for any coordinates or place name worldwide. - $0.002
GET https://pulse.scrapemole.workers.dev/v1/news/hnCopyCurrent Hacker News front page, newest, best, Ask HN, Show HN or job stories: title, link, domain, points, comment count, age and discussion URL.
How payment works
Standard x402 v2, exact scheme, USDC on Base (eip155:8453). The PayAI facilitator verifies your payment before the request runs and settles it only after a 200.
Call without paying
Any paid endpoint answers 402 Payment Required with the price, the USDC contract and the receiving address.
Sign and retry
Your x402 client signs a USDC authorization for that exact amount and repeats the request. No gas on your side.
Data, or pay nothing
200 with JSON: the payment settles. Bad input, not found, blocked or upstream errors: nothing settles.
// npm i @x402/fetch @x402/evm viem
import { wrapFetchWithPaymentFromConfig, decodePaymentResponseHeader } from '@x402/fetch';
import { ExactEvmScheme } from '@x402/evm';
import { privateKeyToAccount } from 'viem/accounts';
// Your agent's own wallet, holding a little USDC on Base. No ScrapeMole account or API key.
const account = privateKeyToAccount(process.env.AGENT_PRIVATE_KEY);
const pay = wrapFetchWithPaymentFromConfig(fetch, {
schemes: [{ network: 'eip155:8453', client: new ExactEvmScheme(account) }],
});
// On 402 the wrapper signs the USDC authorization and retries once.
const res = await pay('https://scrapemole-api-mainnet.scrapemole.workers.dev/v1/youtube/search?q=espresso%20machine%20review&limit=10');
console.log(res.status, await res.json());
// Settled only on 200; the receipt (tx hash) is in the PAYMENT-RESPONSE header.
if (res.ok) console.log(decodePaymentResponseHeader(res.headers.get('payment-response')));
Machine-readable: openapi.json · llms.txt · /.well-known/x402 · MCP server card · full catalog llms.txt · terms
Why agents can rely on it
01Failed calls are free
The payment settles only on HTTP 200. In our live test run, 7 failing calls (unknown video and channel, missing query, bad time range) cost $0.
02No account at all
No signup, no API key, no subscription. Any wallet with USDC on Base can call it, which is what x402 is for.
03Errors an agent can act on
Every failure is JSON with an error code (INVALID_INPUT, NOT_FOUND, NO_DATA, BLOCKED), charged: false and a plain-English message, so the agent knows whether to fix the input or retry.
04Tested live, numbers published
Each tool page shows our latest live test calls and paid end-to-end checks, straight from the test reports.
Write-ups
- How we built a pay-per-call x402 API on the Cloudflare Workers free plan (and only charge on success)
- What AI agents actually paid for in our first day of selling x402 APIs
- Your x402 endpoint settles but isn't in the Bazaar? The buyer's client decides (and a no-money fix)
Questions
What is x402?
An open protocol that uses the HTTP 402 status code for payments: the server states a price, the client pays with a signed stablecoin authorization in a header, and gets the response. It lets software, including AI agents, pay per request without accounts.
What do I need to start?
A wallet with some USDC on Base and an x402 client library such as @x402/fetch. One cent covers one search, channel or Trends call; a transcript is half a cent.
Can I use it from MCP?
Yes. https://scrapemole-api-mainnet.scrapemole.workers.dev/mcp is the remote MCP server (Streamable HTTP) for the core tools; every other API has its own at /mcp (see the catalog). Unpaid tools/call returns the x402 PaymentRequired object; retry with the signed payment in params._meta["x402/payment"] (x402 MCP transport). Same prices, same no-charge-on-failure rule.
When exactly am I charged?
Only when the response status is 200. The facilitator verifies your signature first, we run the request, and settlement happens only after a successful response. Anything else is free.
Do you collect personal data?
No. The tools return public, non-personal data (videos, transcripts of public videos, search trends, product listings) and redact e-mail addresses found in public text. See the terms.
Can I test without real money?
The unpaid 402 response and all docs (/, /openapi.json, /llms.txt, /.well-known/x402, /terms) are free to call.
Need another data source?
Tell us the site and the fields. Popular requests become new endpoints.