1

10x402 · Lint ONE

by 10x402

POSTBaseSolana

$0.015

per call · USD Coin on Base

Run ONE named check against a live endpoint

Endpoint

POST https://10x402.com/lint/one

9

Calls / 30d

4

Unique payers / 30d

Sep 3

Last called

exact

Payment scheme

Call this service

TypeScript · @x402/fetch
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://10x402.com/lint/one", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify("{\"url\":\"https://toolshed.lemon-agent.dev/convert/md-html\",\"method\":\"POST\",\"check\":\"V2_B64_URLSAFE\"}"),
});
const data = await res.json();
cURL
curl -X POST \
  "https://10x402.com/lint/one" \
  -H "Content-Type: application/json" \
  -d '"{\"url\":\"https://toolshed.lemon-agent.dev/convert/md-html\",\"method\":\"POST\",\"check\":\"V2_B64_URLSAFE\"}"' \
  -H "X-PAYMENT: <signed x402 payment>"

Example response

"{\"check\":\"V2_B64_URLSAFE\",\"applied\":true,\"passed\":true,\"finding\":null,\"regime\":\"payment\",\"severity\":\"error\",\"core\":true,\"sources\":[{\"kind\":\"client-code\",\"ref\":\"@x402/core@2.23.0 dist/cjs/utils/index.js:133 — Base64EncodedRegex = /^[A-Za-z0-9+/]*={0,2}$/\"},{\"kind\":\"client-code\",\"ref\":\"@x402/core@2.23.0 dist/cjs/http/index.js:1778-1781 — the regex is tested on the RAW header, then it throws, before any decode\"},{\"kind\":\"spec\",\"ref\":\"specs/transports-v2/http.md:7-25 § Payment Required Signaling — \\\"Base64-encoded\\\", SILENT on the alphabet\",\"context\":true}],\"summary\":{\"versions_detected\":[1,2],\"payTo\":\"0x0adc7adac7bbaffffbd73505711e42378c4f9f9e\",\"network\":\"eip155:8453\",\"price\":\"$0.001 (1000 atomic)\"},\"checks_run\":1}"

Payment details

Pay to0x885e7bef433eb78f5976b28a7c10739c98db11e5
AssetUSD Coin · 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913
NetworksBase, Solana
Schemesexact

Is this your API?

Pin it to the top of Developer Tools and the homepage with a featured placement.

Get featured →

More from 10x402 & similar services