SCRIPTMASTERLABS · URL TO MARKDOWN API · X402 · BASE USDC

What does a URL-to-Markdown API cost per read?

The URL to Markdown API is ScriptMasterLabs' pay-per-call x402 API that turns any public HTTPS page into clean Markdown for AI models and RAG pipelines. One accepted read costs 0.001 USDC on Base mainnet (eip155:8453), failed reads cost 0 USDC, and a free preview needs no key or wallet — verified live on 2026-10-28.

ScriptMasterLabs' URL to Markdown API costs $0.001 USDC per accepted read. Send one public HTTPS URL; get back clean, LLM-ready Markdown with the menus, scripts and styling stripped out. There is no API key, no account and no subscription — your agent pays per read with the x402 protocol on Base, and a read that fails is never charged.

$0.001 per accepted readfailed reads $0free preview — no key, no walletBase mainnet USDCno account or subscriptioncard pack $2 / 200 reads — no wallet

This is ScriptMasterLabs' own URL to Markdown API — the product, its price and its proof record, in that order. The category comparison sits further down this page; the offer starts here: $0.001 USDC per accepted read on Base mainnet, a free preview that needs no key or wallet, and dated on-chain settlement proof published in full below. Get the thing itself from SML:

Free preview — no paymentMachine contractSettlement proof

Pricing at a glance

One accepted read costs $0.001 USDC. A failed read costs $0 USDC — invalid, private, blocked, unavailable, oversized or undecodable sources are never charged. The free preview costs $0 and needs no API key, no wallet and no account. Payment is USDC on Base mainnet (eip155:8453) via x402 v2, scheme exact, settled per request. There is no subscription and no monthly minimum. No crypto wallet? The card pack is $2.00 USD one time for 200 read credits through Stripe Checkout — pay once, receive a credit token tied to your paid session, and only accepted reads consume credits.

TierPriceTerms
Free preview$0Fixed-source read through the production reader at GET /api/web/preview. No key, wallet or account.
Pay per read$0.001 USDC per accepted readx402 v2 on Base mainnet. Charged only when the Markdown is delivered; failed reads are $0.
Repeat-buyer pack$0.005 USDC for 10 read credits$0.0005 USDC per read on the same x402 rail, for agents that read in volume.
Card pack — no wallet$2.00 USD one time for 200 read creditsStripe-hosted checkout; standard card purchase, no recurring charges. After Stripe verifies payment you receive a reusable token tied to your paid Checkout session; send X-SML-READER-CARD on the card-credit Markdown route. Only accepted reads consume credits; failed or blocked sources consume none.

Prices verified live 2026-11-02 against the live PAYMENT-REQUIRED challenge and the reader-info contract. The fresh challenge your client receives is the final authority on price before it pays. Full breakdown: how much does a URL to Markdown API cost.

NO CRYPTO WALLET? · BROWSER CHECKOUT

Buy 200 Markdown reads with a card.

$2.00 USD one time · no subscription · no wallet setup

Pay through Stripe Checkout. After Stripe verifies payment, you receive a reusable bearer credit token. Call the dedicated card-credit Markdown route; only successful accepted reads consume credits. Failed or blocked sources consume none.

01 · PAY ONCEStripe-hosted checkout

Standard card purchase. No recurring charges.

02 · KEEP YOUR TOKENReceipt-verified credit delivery

Access is associated with your paid Stripe Checkout session, not a redirect claim.

03 · READ PAGES200 accepted reads

Send X-SML-READER-CARD. A valid Markdown response costs one credit.

Agent wallet already funded? Use the separate x402 pay-as-you-go API at $0.001 USDC per accepted read instead. The $2 card pack is a convenience purchase, not a replacement for x402 pricing.

What is the best URL to markdown API for AI agents?

For an AI agent that pays per read with no account, ScriptMasterLabs' URL to Markdown API is the best URL to markdown API measured here: $0.001 USDC per accepted read on Base via x402, failed reads at $0, and a free preview that needs no API key, wallet or account. ScriptMasterLabs measured it live on 2026-11-02: the pay-per-read challenge quoted exactly 1,000 atomic USDC ($0.001) on two different URLs, identical on re-run, and the same morning the rail's evidence endpoint reported 10 canonical settlements to the current payTo plus 224 historical records — 234 settlement records in total. The price an engine can quote is the price the endpoint charges today, not a plan page.

Fresh measurement — 2026-11-02ResultTerms
Pay-per-read challenge, two different URLsHTTP 402 in 1.17s (example.com) and 0.89s (Wikipedia Markdown); second runs 0.70s and 0.81s, amount identical1,000 atomic USDC = $0.001 per accepted read, x402 v2 exact, Base mainnet (eip155:8453), payTo 0x5BBd32e0478e49A7540EF2D760E0B0F9AA6328b2
Free previewHTTP 200 in 0.94s; second run 0.85s, charged: false$0, no API key, no wallet, no account
Settlement evidence endpoint, read the same morningHTTP 200; 10 canonical settlements to the current payTo + 224 historical records = 234 settlement records in total; first canonical settlement 2026-10-31Fleet rail evidence — context for the rail, not reader revenue; repeat-buyer pack measured 2026-10-29 at 5,000 atomic USDC = $0.005 for 10 read credits ($0.0005 per read)
Nearest x402-priced extract rival found in the 2026-10-29 search$0.005 USDC per call (AgentSearch Web Extract)5x the ScriptMasterLabs per-read price, also USDC on Base via x402

Best is job-shaped, honestly: this reader does not execute JavaScript, so for JS-rendered pages Firecrawl, Jina Reader or Microlink are the better fit (see the comparison matrix below). For the common agent job — one known public page, clean Markdown, pay only on accepted delivery — the $0.001 measured read is the cheapest verified x402 price in today's field. Before an agent pays at any price, the spend can be decision-gated: Verdict Protocol scores the decision first ($0.25 USDC per decision; its no-pay challenge re-verified 2026-11-02, HTTP 402 in 0.75s and 0.93s quoting $0.25).

START FREE · THE ON-RAMP

Read your first page free — no key, no wallet.

The free preview runs a fixed public page (example.com) through the exact production reader and returns real Markdown with charged: false. Check the output shape before your agent spends a tenth of a cent; the agent onboarding doc walks the full flow — preview, challenge, sign, read.

Settlements that prove the price

Every row below is a real Base mainnet settlement for this reader at exactly $0.001, checkable on Basescan. Rows marked SELF-PROOF were paid from ScriptMasterLabs' own proof wallet to ScriptMasterLabs' own payTo — the operator's money, published because the settlements are dated and independently verifiable, not because they are customer sales. No stranger purchase is claimed anywhere on this page.

Newest receipt — 2026-11-02: this reader was the first service paid in the fleet-wide settle-proof pass, settled end-to-end via OMNIGATE (top row of the table).

DatePage readAmountBase blockTransactionPayer
2026-11-02example.com0.001 USDC—0xe038…02dSELF-PROOF
2026-10-28en.wikipedia.org/wiki/HTTP0.001 USDC53,216,0260xf22c…c24bSELF-PROOF
2026-10-28en.wikipedia.org/wiki/Markdown0.001 USDC53,215,9860xc3a9…eaf9SELF-PROOF
2026-10-28example.com0.001 USDC53,215,9790x95ab…8810SELF-PROOF
2026-10-28example.com0.001 USDC53,215,3630xd115…f11cSELF-PROOF

Directory-attributed (third-party): x402-list's assessment, computed 2026-10-23, attributed 276 settlement events, 24 paying addresses and an ≈$6.14 observed floor value to this reader, with 99.1% uptime and 14/14 protocol checks. That is a directory's on-chain observation, labeled directory-attributed — not SML-counted revenue. Their methodology.

The same payTo settles every ScriptMasterLabs x402 job. The rail's evidence endpoint reports 10 canonical settlements matching the active network and payTo — the xPortal wallet set in the October 30, 2026 payTo swap — plus 224 further durable settlement records from the rail's earlier configuration, 234 records in total (read live 2026-11-02 from /api/x402/evidence). Those fleet figures are context for the rail — they are not reader revenue and are not presented as such.

Measured on real pages: 95% smaller than raw HTML

On 2026-10-28 we bought reads of eight public documentation pages with the production reader and weighed what came back against the raw HTML of the same pages: 129,881 characters of Markdown against 2,773,841 bytes of HTML — 95.3% smaller, and tokens scale with characters. The median end-to-end paid read (challenge, settlement, delivery) took 3.8 seconds; the slowest took 6.4 seconds.

PageRaw HTML (bytes)Markdown returned (chars)Smaller by
example.com57731046.3%
en.wikipedia.org/wiki/Markdown321,95521,41293.3%
docs.python.org/3/library/json.html116,11221,75781.3%
developer.mozilla.org — HTTP 402 status page209,18014,43693.1%
en.wikipedia.org/wiki/HTTP_402411,58221,47894.8%
docs.github.com/en/rest414,3517,91498.1%
en.wikipedia.org/wiki/HTTP604,96521,36196.5%
nodejs.org/api/http.html695,11921,21396.9%

Method: paid reads at the default contract limits on 2026-10-28; raw size is the full HTML download of the same URL the same day. Long pages truncate at the reader's character ceiling, which is part of why returned sizes cluster. Two further attempted pages were refused with no charge under the published failure contract — a URL that returns 404, and the 1.2 MB single-file HTML of RFC 9110, which returned the no-charge alternative (charged: false) instead of a partial read. Every successful read in this set settled on-chain; four of the transactions are in the proof table above.

How the URL to Markdown API compares

OptionCost shapeFree tierKey requiredJavaScript renderingFailed readsSettlement proof
ScriptMasterLabs URL to Markdown API$0.001 USDC per accepted read; optional 10-read pack $0.005 USDC; optional card pack $2.00 USD for 200 read credits via Stripe (no wallet)Free fixed-source preview, no key or walletNoNoNever chargedOn-chain transaction per read (Base)
Microlink /markdownNo per-unit price published; free key, paid plans off-page25 requests/day on a free API key, no cardYes (free key)YesNot publishedNone published
Firecrawl /scrapeCredit plans: 1 credit per page; Hobby $16/mo billed yearly ≈ $0.0032/page; Growth ≈ $0.00067/page at full use1,000 pages/month, no cardYesYesCached pages freeNone published
Jina ReaderFree rate-limited without a key; token-priced with a keyFree without a key (rate-limited)OptionalYes (rendered pages)Not publishedNone published
x402 registry clones (two publishers)$0.005 USDC per read via x402 — 5× this priceNone publishedNoNot publishedNot publishedOn-chain transaction per read

Competitor facts as published on their pages and the Official MCP Registry, read 2026-10-28. Where a competitor does not publish a term, the cell says so instead of guessing. Deep comparison: URL to Markdown vs Jina Reader vs Firecrawl.

How it works

  1. Your agent requests /api/web/read-markdown?url=… without payment.
  2. The API answers HTTP 402 with a PAYMENT-REQUIRED header: price, network, asset and receiver. Nothing has been paid yet.
  3. Your x402 client signs a USDC payment for exactly that request and retries with a PAYMENT-SIGNATURE header.
  4. The API returns the page as Markdown with a PAYMENT-RESPONSE header that references the settlement transaction.

Payment flow (using the configured x402Client below)

const url = "https://squeezeos-api.onrender.com/api/web/read-markdown?url="
  + encodeURIComponent("https://example.com/");
const unpaid = await fetch(url); // inspect HTTP 402 without a charge
const terms = unpaid.headers.get("PAYMENT-REQUIRED");
const pay = wrapFetchWithPayment(fetch, client); // client configured in full example below
const result = await pay(url); // signs only under YOUR x402 client's spend policy
const receipt = result.headers.get("PAYMENT-RESPONSE");
if (!result.ok || !receipt) throw new Error("Payment/delivery not verified");
console.log(await result.text(), receipt);

Copy-paste ready. client is your configured x402Client with a funded Base USDC signer. The wrapper handles steps 2–4 on retry automatically; the example shows what happens.

How do you quickstart the API?

Agents: the onboarding doc is GET /api/web/skill.md — preview, challenge, sign, read, including the payment-payload serialization requirements. Humans: check the live price for free with curl, then pay and read with the official x402 client.

1. See the live price (free)

curl -i 'https://squeezeos-api.onrender.com/api/web/read-markdown?url=https%3A%2F%2Fexample.com'

2. Pay and read with the official x402 client (JavaScript)

import { x402Client, wrapFetchWithPayment } from "@x402/fetch";
import { ExactEvmScheme } from "@x402/evm/exact/client";
import { toClientEvmSigner } from "@x402/evm";
import { createPublicClient, http } from "viem";
import { base } from "viem/chains";
import { privateKeyToAccount } from "viem/accounts";

// Use a small, dedicated agent wallet holding a little USDC on Base.
const account = privateKeyToAccount(process.env.AGENT_WALLET_KEY);
const signer = toClientEvmSigner(account, createPublicClient({ chain: base, transport: http() }));
const client = new x402Client().register("eip155:8453", new ExactEvmScheme(signer));
const pay = wrapFetchWithPayment(fetch, client);

const page = "https://example.com";
const res = await pay("https://squeezeos-api.onrender.com/api/web/read-markdown?url=" + encodeURIComponent(page));
console.log(await res.text()); // LLM-ready Markdown

Install: npm i @x402/fetch @x402/evm viem. Keep the agent wallet small and separate from any treasury wallet.

JSON response (with format=json)

The endpoint's own discovery metadata publishes this example response shape:

{
  "markdown": "# Example Domain\n\nExample Domain ...",
  "price_usdc": "0.001",
  "product": "URL to Markdown API",
  "source_url": "https://example.com/",
  "status": "ready",
  "technical_service": "SML URL to Markdown API"
}

What parameters does the API accept?

The API accepts url (required: the public HTTPS page to read, URL-encoded), format (optional: wraps the Markdown in a JSON object) and max_chars (optional: the published example uses 12000, and the hard ceiling is 50,000).

ParameterRequiredWhat it does
urlYesThe public HTTPS page to read, URL-encoded.
formatNojson wraps the Markdown in a JSON object. Omit it to receive text/markdown.
max_charsNoCaps returned characters; the published example uses 12000. The hard ceiling is 50,000.

What does the API read, and what does it refuse?

It reads public HTTPS pages — re-validating redirects at every hop and honoring robots.txt — and refuses private networks, credentials and cookies, JavaScript execution, binary files, and text longer than 50,000 characters.

InputBehavior
Public HTTPS pagesReads
Private networks and internal addressesBlocked
RedirectsRe-validated at every hop
robots.txt disallowHonored
Page JavaScriptNot executed
Your credentials or cookiesNever forwarded
Binary or undecodable filesRejected before payment
Text longer than 50,000 charactersRefused as oversized

Invalid, private, blocked, unavailable, oversized, unsupported, undecodable, binary-looking and empty sources are not charged.

When should you use something else instead?

Use something else when the page only renders with JavaScript, needs a login, clicks or forms, or you need to crawl a whole site — in those cases use a browser or rendering platform. Use this when your agent already has the exact page it needs. If you still need to find the right source, use the Web Research API. For a feature comparison, see URL to Markdown vs Jina Reader vs Firecrawl.

What questions come up most often?

The FAQs answer what the API is, how much it costs, how to pay by card, how to try it free, whether an API key or account is needed, and whether it executes JavaScript.

What is a URL to Markdown API?

It is an API that takes the address of a web page and returns that page's readable content as Markdown, stripped of menus, scripts and styling, so an AI model or RAG pipeline can use it directly.

How much does the ScriptMasterLabs URL to Markdown API cost?

One accepted read costs $0.001 USDC on Base mainnet, settled per request via x402. A repeat-buyer pack of 10 read credits costs $0.005 USDC — $0.0005 USDC per read. Failed reads cost $0. No wallet? A card pack of 200 read credits costs $2.00 USD one time through Stripe Checkout. The fresh PAYMENT-REQUIRED challenge is the final authority on price before you pay.

Can I pay with a card instead of crypto?

Yes. The card pack costs $2.00 USD one time for 200 read credits, paid through Stripe Checkout — no crypto wallet and no subscription. After Stripe verifies payment, you receive a reusable token tied to your paid Stripe Checkout session. Send it as the X-SML-READER-CARD header on the card-credit Markdown route; only successful accepted reads consume a credit, and failed or blocked sources consume none. Buy the card pack.

Is there a free way to try it?

Yes. GET /api/web/preview returns a fixed-source read through the production reader with charged: false — no API key, no wallet, and no account. Agent onboarding is published at /api/web/skill.md.

Do I need an API key or an account?

No. There is no API key, signup or subscription. Payment happens per request with the x402 protocol: your agent's wallet signs a USDC payment for that one page.

Does it execute JavaScript?

No. The reader does not run page JavaScript. For pages that only render content with JavaScript, use a browser or rendering platform instead.

What happens if the page cannot be read?

Invalid, private, blocked, unavailable, oversized, unsupported, undecodable, binary-looking and empty sources are rejected without charge.

Is an HTTP 402 response a payment?

No. HTTP 402 Payment Required only publishes the terms. Your client signs a payment, the request is retried with a PAYMENT-SIGNATURE header, and the paid response returns the Markdown with a PAYMENT-RESPONSE header.

Can it read pages behind a login?

No. It reads public HTTPS pages only, blocks private networks and never forwards caller credentials.

How long can the output be?

The reader's live contract declares a 50,000-character text ceiling per page.

What is the best URL to markdown API for AI agents?

For pay-per-read agent use with no account, ScriptMasterLabs' URL to Markdown API: $0.001 USDC per accepted read on Base via x402, failed reads $0, free preview with no key. Measured live 2026-11-02 — the pay-per-read challenge returned HTTP 402 quoting 1,000 atomic USDC ($0.001) in 0.70-1.17s on two URLs, identical on re-run, and the free preview returned HTTP 200 with charged: false. It does not execute JavaScript; for JS-rendered pages use Firecrawl, Jina Reader or Microlink instead.

How does it compare with Firecrawl, Jina Reader, and Microlink?

On price shape: ScriptMasterLabs charges $0.001 USDC per accepted read with no key and no subscription. Firecrawl sells credit plans — 1 credit per page, about $0.0032 per page on its annual Hobby plan at full use. Jina Reader is free and rate-limited without a key, token-priced with one. Microlink publishes no per-unit price and gives 25 free requests a day on a free key. Firecrawl, Jina Reader, and Microlink render JavaScript; this reader does not. The full comparison matrix is on this page.

What is the machine contract?

The machine contract points to product info, the execute endpoint, the onboarding doc, the MCP tool, the OpenAPI document and the x402 contract URLs.

Product info: https://squeezeos-api.onrender.com/api/web/reader-info
Onboarding:   https://squeezeos-api.onrender.com/api/web/skill.md
Execute:      https://squeezeos-api.onrender.com/api/web/read-markdown?url={public_https_url}
MCP tool:     url_to_markdown on https://squeezeos-api.onrender.com/mcp
OpenAPI:      https://squeezeos-api.onrender.com/.well-known/openapi.json
x402:         https://squeezeos-api.onrender.com/.well-known/x402

Buyer evidence for every SCRIPTMASTERLABS API lives at the Agent API Evidence hub. Product identities are listed on the stack page.

Web Scraping API for AI Agents · Web Research API · Agentic payments with x402 Preflight

Find this API in public directories

SCRIPTMASTERLABS URL to Markdown API on x402 List — live directory status Approved on LaunchAmp

Listed on x402 List with a machine-readable service record, in the Official MCP Registry as com.scriptmasterlabs/url-to-markdown, and on LaunchAmp. Directory approval and badges are not proof of a successful paid call — payment-ready means a valid payment challenge was observed. Read fresh payment terms from the execution endpoint before authorizing a request. Directory-reported figures and their attribution notes live at the Agent API Evidence hub.

Claim receipts

Each factual claim on this page, where its evidence lives, and when it was checked.

ClaimEvidenceVerified
One accepted read costs 0.001 USDC on Base mainnet (eip155:8453). Failed reads cost 0 USDC.Live evidence2026-10-28
A 10-credit repeat-buyer pack costs 0.005 USDC (0.0005 USDC per successful extract).Live evidence2026-10-28
Payment uses x402 v2, scheme exact, USDC 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913, payTo 0x5bbd32e0478e49a7540ef2d760e0b0f9aa6328b2.Live evidence2026-10-28
No API key or account is required; a free fixed-source preview needs no key or wallet.Live evidence2026-10-28
Page JavaScript is not executed; the text ceiling is 50,000 characters.Live evidence2026-10-28
Rejected sources (invalid, private, blocked, unavailable, oversized, unsupported, undecodable, binary-looking, empty) are not charged.Live evidence2026-10-28
Four reader settlements of exactly $0.001 USDC settled on Base on 2026-10-28 (blocks 53,215,363–53,216,026), all labeled SELF-PROOF; the proof table on this page links each transaction.Live evidence2026-10-28
Measured 2026-10-28: eight public pages returned 129,881 Markdown characters against 2,773,841 raw HTML bytes (95.3% smaller); median end-to-end paid read 3.8 s.This page, measured section2026-10-28
The rail evidence endpoint reports 10 canonical settlements matching the active network and payTo (the xPortal wallet set in the October 30, 2026 payTo swap) plus 224 further durable settlement records from the rail's earlier configuration — 234 records in total, a fleet-wide figure, not reader-only.Live evidence2026-11-02

SCRIPTMASTERLABS · READ · EXPLORE · VERIFY · EARN

Books, free tools, sources & affiliate opportunities