Extract LLM-ready markdown from any URL.
$0.001 USDC per request
No account. No API key. No subscription.
// x402 pays automatically — no API keys, no auth headers import { withPaymentInterceptor } from "x402-fetch"; const fetch = withPaymentInterceptor(globalThis.fetch, wallet); const res = await fetch( "https://extract.dkta.dev/v1/extract?url=https://example.com&format=markdown" ); const { content, title, tokens } = await res.json(); // $0.001 USDC deducted on Base — charged only on success
# x402: server returns 402 with payment details, client pays, retries curl "https://extract.dkta.dev/v1/extract?url=https://example.com&format=markdown" # with x402-curl (handles the payment handshake automatically): x402-curl "https://extract.dkta.dev/v1/extract?url=https://example.com" \ --wallet $WALLET_PRIVATE_KEY
from x402.requests import X402Session session = X402Session(wallet=wallet) res = session.get( "https://extract.dkta.dev/v1/extract", params={"url": "https://example.com", "format": "markdown"}, ) content = res.json()["content"] # $0.001 USDC deducted on Base — no account needed
How it works
x402 is an open HTTP payment standard. Your agent pays per request — no billing portal, no invoices, no credit card forms.
Call GET /v1/extract?url=... with your x402-enabled client. The server responds with 402 Payment Required and payment details.
Your x402 client signs a $0.001 USDC payment on Base and retries the request with the payment proof attached. Happens automatically in milliseconds.
The API returns clean, LLM-ready content — stripped of nav, ads, and boilerplate. Failed extractions are not charged.
Response
Clean structured JSON. The content field is ready to drop directly into your context window.
GET /v1/extract ?url=https://en.wikipedia.org/wiki/Markdown &format=markdown X-PAYMENT: <x402-proof> Host: extract.dkta.dev
{
"title": "Markdown - Wikipedia",
"url": "https://en.wikipedia.org/wiki/Markdown",
"format": "markdown",
"content": "# Markdown\n\nMarkdown is a lightweight markup language...",
"tokens": 1842,
"charged_usdc": 0.001
}
Pricing
One price. Per request. No tiers, no credits, no expiry.
per request · $1.00 = 1,000 requests · $10.00 = 10,000 requests
Agent discovery
Standard discovery endpoints so your LLM, agent framework, or tool orchestrator can find and use this API without human configuration.