x402 · Base · USDC

Clean content for
AI agents

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
No account required
No subscription
Failed requests not charged
Every payment on-chain, verifiable
No minimum spend

Three steps. No setup.

x402 is an open HTTP payment standard. Your agent pays per request — no billing portal, no invoices, no credit card forms.

01

Send a request

Call GET /v1/extract?url=... with your x402-enabled client. The server responds with 402 Payment Required and payment details.

02

Pay on-chain

Your x402 client signs a $0.001 USDC payment on Base and retries the request with the payment proof attached. Happens automatically in milliseconds.

03

Receive clean markdown

The API returns clean, LLM-ready content — stripped of nav, ads, and boilerplate. Failed extractions are not charged.

What you get back

Clean structured JSON. The content field is ready to drop directly into your context window.

Request
GET /v1/extract
  ?url=https://en.wikipedia.org/wiki/Markdown
  &format=markdown

X-PAYMENT: <x402-proof>
Host: extract.dkta.dev
Response 200 OK
{
  "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
}

Simple math.

One price. Per request. No tiers, no credits, no expiry.

$0.001 USDC

per request  ·  $1.00 = 1,000 requests  ·  $10.00 = 10,000 requests

No account required
No subscription
No minimum spend
Failed requests not charged
No API key needed
Pay per use, stop anytime
· x402.org ↗

Built for agents and tools.

Standard discovery endpoints so your LLM, agent framework, or tool orchestrator can find and use this API without human configuration.