Animica x402 Directory

Directory / 2s.io

2s.io/api/url/clean

Fetch any URL and return its article content with the clutter stripped — nav, ads, sidebars, footers, scripts, styles, comments removed via heuristic extraction (<article> / <main> / role=main / densest block). Choose the output with `format`: markdown (default), text, both (JSON envelope), html (a self-contained readable reader-view page, raw text/html), or pdf (a clean typeset reading document, raw application/pdf). html/pdf are built from the same cleaned content, so they carry no live page, no third-party assets, no trackers. SSRF-guarded, 512KB body cap, 8s timeout, 5 redirects max. JSON formats return { url, finalUrl, title, markdown?, text?, wordCount, sourceBytes }. This uses a raw HTTP fetch (no JavaScript) — for client-rendered / SPA pages whose content only appears after JS runs, use /api/url/render (same formats, headless-rendered). For a pixel-perfect image of the live page use /api/ai/screenshot; to enumerate a page or sitemap into its links use /api/url/map.

Call it

# 1. Ask the endpoint what it costs (no payment, no wallet needed):
curl -i -X GET 'https://2s.io/api/url/clean'

# -> HTTP/1.1 402 Payment Required
#    the response carries the price, asset and pay-to address.

# 2. Pay and retry with any x402 client:
npx x402-fetch 'https://2s.io/api/url/clean'

Endpoint: https://2s.io/api/url/clean. Operated by 2s.io, not by Animica. Price and availability were correct at the last probe on 2026-09-02 and are set by the operator, who may change them.

Other endpoints on 2s.io

2s.io/api/airport/lookup

Look up an airport by 3-letter IATA (e.g. SFO) or 4-letter ICAO (e.g. KSFO) code. Query: code (3-5 chars, alphanumeric). Returns { airport: { id, ident, type, n…

GET · $0.0025

2s.io/api/airport/near

Airports within a radius of a coordinate, sorted by distance. Query: lat (-90..90), lon (-180..180), radius_km (1-2000, default 200), limit (1-100, default 20),…

GET · $0.0025

2s.io/api/business/lei

Look up or search the global LEI (Legal Entity Identifier) registry — the authoritative ISO 17442 directory of ~2.6M legal entities worldwide. Pass `lei` for an…

GET · $0.003

2s.io/api/business/naics

Look up or search NAICS 2022 industry classification codes (US Census Bureau, public domain). Pass `code` for an exact NAICS code — 2–6 digits or a combined sec…

GET · $0.0025

2s.io/api/business/sos-search

Search state Secretary-of-State business registries, normalized to one schema across states. Currently supported: NY (active corporations + LLCs), CO (all entit…

GET · $0.0072

2s.io/api/business/uk-companies

Official UK company registry (Companies House). Two modes: pass query to search companies by name (returns company number, name, status, type, incorporation dat…

GET · $0.0036

2s.io/api/calendar/business-days

Holiday-aware business-day calculator for 200+ countries. Three modes: pass start + addDays (signed integer) to shift a date by N business days; pass start + en…

GET · $0.0025

2s.io/api/calendar/earnings

Earnings release calendar — which US-listed companies report earnings in a date window, with expected and (once reported) actual EPS and revenue, and the time o…

GET · $0.0025

2s.io/api/calendar/holidays

List the official holidays for a country and year, with exact observed dates including substitute days (e.g. a Saturday July 4th observed on Friday). Query: cou…

GET · $0.0025

2s.io/api/code/repo-lookup

Look up a public GitHub repository by "owner/name" slug. Returns full name, owner, description, homepage, default branch, primary language, topics, license (SPD…

GET · $0.003

2s.io/api/convert/unit

Convert a value between units of measure: mass (g, kg, mg, lb, oz, t, st), length (m, km, cm, mm, in, ft, yd, mi), volume (l, ml, m3, gal, gal-imp, qt, pt, cup,…

GET · $0.0025

2s.io/api/crypto/defi-yields

DeFi yield & lending rates across protocols (via DefiLlama, free/keyless). Returns pools ranked by APY or TVL with base vs reward APY, TVL, 1d/7d/30d APY trend,…

GET · $0.0036

All 66 endpoints on 2s.io →