Cryptographically secure random values
pagetext.yashil.workers.dev/random
Cryptographically secure random values: integers in a range, floats, UUIDs, hex tokens, coin flips, dice, random picks from a list, list shuffles, or strong passwords. Up to 100 values per call.
GET
https://pagetext.yashil.workers.dev/randomUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
// npm install fourohtwo
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://pagetext.yashil.workers.dev/random?count=5&max=100&min=1&type=int");
console.log(await res.json());Example input
{
"count": "5",
"max": "100",
"min": "1",
"type": "int"
}More from PageTextProvider status
- pagetext.apexlabs-cloudflare.workers.dev/v1/convertUrl to markdown, web page to markdown, and html to markdown. Scrape a url or fetch a url and extract article text, or convert raw HTML, to clean readable Markdown for LLM context. PageText (pagetext.apexlabs-cloudflare.workers.dev), not pagetext.yashil.workers.dev.0.005
- pagetext.apexlabs-cloudflare.workers.dev/v1/url-to-markdownUrl to markdown and web page to markdown: scrape a url, fetch a url, and extract article text as clean readable Markdown for LLM context. POST JSON {"url": "https://..."}. Does not run JavaScript. PageText at pagetext.apexlabs-cloudflare.workers.dev, not pagetext.yashil.workers.dev.0.005
- pagetext.yashil.workers.dev/airqualityAir quality by city name or coordinates: current PM2.5 and PM10 (median of nearby outdoor sensors), US AQI with category, and European Air Quality Index level. Best coverage in Europe. Data from Sensor.Community citizen sensors.0.002
- pagetext.yashil.workers.dev/askAsk a question about a web page: fetches the URL and answers from the page content only (answer is null when the page does not say). Good for pulling one fact out of a page. Not charged on fetch or AI errors.0.005
- pagetext.yashil.workers.dev/balanceWallet balance: native coin balance plus USDC/USDT (or any ERC-20 tokens you list) for an address on Base, Ethereum, Arbitrum One, OP Mainnet, Polygon PoS, BNB Smart Chain, Avalanche C-Chain. Also returns nonce (transaction count) and whether the address is a contract.0.001
- pagetext.yashil.workers.dev/chatOne-shot AI chat completion (Google Gemma 4 26B): send a prompt and optional system instruction, get the answer. Up to 2000 characters in and about 800 tokens out.0.003
- pagetext.yashil.workers.dev/companyUS company financials from SEC filings, by stock ticker or CIK: company details (exchange, industry, fiscal year end), latest annual and quarterly revenue, net income, operating income and diluted EPS, latest balance sheet (assets, liabilities, equity, cash), shares outstanding, and the newest 10-K, 10-Q and 8-K filings with links. Good for stock research and company due diligence. Data: SEC EDGAR0.003
- pagetext.yashil.workers.dev/dnsDNS lookup: resolve A, AAAA, MX, TXT, NS, CNAME, SOA, SRV or CAA records for any domain over encrypted DNS (Cloudflare 1.1.1.1), with TTLs, status (NOERROR/NXDOMAIN) and DNSSEC validation flag.0.001
- pagetext.yashil.workers.dev/ensENS and Basenames lookup: resolve a name (vitalik.eth, jesse.base.eth) to its address, or an address to its verified primary ENS name and Basename.0.001
- pagetext.yashil.workers.dev/extractFetch any public web page and return its main content as clean Markdown, plus title, description and word count. Not charged if the page cannot be fetched.0.002
- pagetext.yashil.workers.dev/fxCurrency exchange rates and conversion: latest official European Central Bank reference rates for ~30 fiat currencies (USD, EUR, GBP, JPY, SEK, ...). Convert an amount from one currency to one or more others.0.001
- pagetext.yashil.workers.dev/gasLive gas prices across chains in one call: gas price, base fee and priority fee (gwei), latest block, and the cost of a plain transfer, for Base, Ethereum, Arbitrum One, OP Mainnet, Polygon PoS, BNB Smart Chain, Avalanche C-Chain.0.001
