# extract.dkta.dev > Clean content extraction for AI agents. Pay per call — $0.001 USDC on Base via x402. ## API GET /v1/extract?url=&format= Returns structured content extracted from any URL. Requires x402 micropayment of $0.001 USDC on Base mainnet in the X-PAYMENT header. ## Response ```json { "title": "Article Title", "byline": "Author Name", "url": "https://...", "content": "# Markdown content...", "length": 4821 } ``` ## Payment Use an x402-compatible client (e.g. x402-fetch npm package) with a USDC wallet on Base mainnet. ```js import { wrapWithPaymentClientFetch } from 'x402-fetch' const fetch = wrapWithPaymentClientFetch(globalThis.fetch, walletClient) const res = await fetch('https://extract.dkta.dev/v1/extract?url=https://example.com') const { title, content } = await res.json() ``` ## Docs - OpenAPI spec: https://extract.dkta.dev/openapi.json - Interactive docs: https://extract.dkta.dev/docs - x402 protocol: https://x402.org