$0.003
per call · USDC on Base Sepolia
Use before spending tokens, money or crawler capacity fetching an unfamiliar web resource. Resolves redirects (manually, bounded, re-validated per hop) and returns deterministic HTTP/resource facts — final URL, status, content type and length, response time, a bounded HTML title/canonical peek, and a lightweight generic-bot robots.txt indication — so an agent can decide whether a normal web fetch is worthwhile. It does not scrape, render JavaScript, or judge safety.
Endpoint
POST https://agent-api-testnet.tim1712.workers.dev/v1/web/resource-preflight1
Calls / 30d
1
Unique payers / 30d
Aug 30
Last called
exact
Payment scheme
Call this service
import { wrapFetchWithPayment } from "@x402/fetch";
import { privateKeyToAccount } from "viem/accounts";
const account = privateKeyToAccount(process.env.PRIVATE_KEY);
const fetchWithPay = wrapFetchWithPayment(fetch, account);
const res = await fetchWithPay("https://agent-api-testnet.tim1712.workers.dev/v1/web/resource-preflight", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
"url": "https://example.com/article"
}),
});
const data = await res.json();curl -X POST \
"https://agent-api-testnet.tim1712.workers.dev/v1/web/resource-preflight" \
-H "Content-Type: application/json" \
-d '{"url":"https://example.com/article"}' \
-H "X-PAYMENT: <signed x402 payment>"Example response
{
"canonicalUrl": "https://www.example.com/article",
"checkedAt": "2026-08-30T10:00:02.000Z",
"contentLength": 123456,
"contentType": "text/html; charset=utf-8",
"finalUrl": "https://www.example.com/article",
"likelyHtml": true,
"ok": true,
"redirects": [
{
"from": "https://example.com/article",
"status": 301,
"to": "https://www.example.com/article"
}
],
"requestedUrl": "https://example.com/article",
"responseTimeMs": 184,
"robots": {
"allowedForGenericBot": true,
"found": true,
"url": "https://www.example.com/robots.txt"
},
"status": 200,
"title": "Example article title",
"warnings": []
}Payment details
0x5229384bd502d85aa7eca0a31b515e5e48d3910fUSDC · 0x036cbd53842c5426634e7929541ec2318f3dcf7eIs this your API?
Pin it to the top of Search & Web and the homepage with a featured placement.
More from Agent Miner Tools & similar services
Agent Miner Tools · Shopping Budget Basket
agent-api-testnet.tim1712.workers.dev
Use when an agent already knows several products/categories a buyer needs and wants one real Shopify product for each need while staying within one overall item-price budget. Each need.query must already carry the important compatibility and preference details; this service does not reinterpret intent. Returns a cross-merchant basket plan with per-item checkout URLs. It is not a generic product search and does not create carts or checkouts.
Agent Miner Tools · NPM Install Preflight
agent-api-testnet.tim1712.workers.dev
Use before a coding agent installs an unfamiliar npm dependency. Returns current facts from the official npm registry: the version `npm install` resolves (dist-tags.latest), prerelease and deprecation status, engines.node compatibility with an optional target Node version (real SemVer evaluation), license, days since release, best-effort weekly downloads, repository URL and maintainer count. Facts only — no safety, trust, or malware verdict.
Agent Miner Tools · Shopping Product Search
agent-api-production.tim1712.workers.dev
Use when an agent already knows the product it wants and needs real current Shopify listings for a structured query. Returns normalized product/variant price, currency, seller, rating, product URL and checkout URL in upstream search-rank order, with an optional maximum item price. The query must already carry the compatibility and preference details. Not a recommendation engine, intent interpretation, web search, or cart/checkout.