Convert CSV to JSON rows
x402-weblens-api-production.up.railway.app/v1/csv-to-json
Convert CSV to JSON rows: snake_case keys from the header, a detected type per column (integer, number, boolean, date, datetime, string), delimiter auto-detected (comma, semicolon, tab, pipe), quoted fields handled.
POST
https://x402-weblens-api-production.up.railway.app/v1/csv-to-jsonUptime100% of 1 check in 30 days
30 days agoToday
Try it
Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.
The response shows up here.
Call it from an agent
import { createPayer } from "fourohtwo";
// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://x402-weblens-api-production.up.railway.app/v1/csv-to-json", {
method: "POST",
headers: { "content-type": "application/json" },
body: JSON.stringify({"csv":"Order ID,Total,Paid\n1,9.5,true\n2,10,false"}),
});
console.log(await res.json());Example input
{
"csv": "Order ID,Total,Paid\n1,9.5,true\n2,10,false"
}More from WebLens
- api.weblens.dev/companyA company profile from its domain, read live from its own site: what it sells and to whom, pricing and plans, NAICS sector, self-reported head count band, open roles from its Greenhouse/Lever/Ashby board, tech stack, socials, security.txt role contacts, and the domain's registrar, age, email provider, SaaS vendors and SPF/DMARC posture. Each AI-read field names its source page; coverage flags show0.05
- api.weblens.dev/domainDomain intelligence in one call: RDAP registration (registrar, age, expiry, status), live DNS (A/AAAA/MX/NS/TXT), the mail and DNS providers behind them, the SaaS vendors the domain's TXT verification tokens reveal, SPF/DMARC posture, and risk signals like newly-registered or no-registrar-lock.0.005
- api.weblens.dev/fetch/basicFetch and convert any webpage to clean markdown. Fast, no JavaScript rendering. Perfect for static content, articles, and documentation.0.004
- api.weblens.dev/fetch/basicFetch and convert any webpage to clean markdown. Fast, no JavaScript rendering. Perfect for static content, articles, and documentation.0.004
- api.weblens.dev/fetch/proFetch webpage with full JavaScript rendering using headless browser. Perfect for SPAs, React/Vue apps, and dynamic content that requires JS execution.0.006
- api.weblens.dev/packageShould you depend on this package? Version, license, deprecation (with the maintainer's reason), weekly and monthly downloads, last release date, maintainer count, npm quality/popularity/maintenance scores, and health signals — npm or PyPI, one call.0.004
- api.weblens.dev/screenshotCapture high-quality screenshots of any webpage using headless browser.0.008
- api.weblens.dev/searchReal-time web search powered by Google. Returns ranked results with titles, URLs, and snippets. Set includeContent to also fetch the top result pages as markdown in the same call.0.02
- api.weblens.dev/search/autocompleteGoogle Autocomplete suggestions for a partial query. Useful for keyword research and intent discovery.0.004
- x402-weblens-api-production.up.railway.app/v1/extractRead a web page as clean Markdown for LLMs: main content only, without ads, menus, popups or cookie banners. Returns title and word count.0.005
- x402-weblens-api-production.up.railway.app/v1/json-repairFix broken JSON from LLMs: removes code fences and comments, fixes single quotes, bare keys, trailing commas, Python literals and cut-off endings. Optionally validates the result against your JSON Schema and lists errors.0.002
- x402-weblens-api-production.up.railway.app/v1/linksList every link on a web page as absolute URLs, split into internal (same site) and external links.0.002
