POST

Extract hyperlinks from provided HTML. Uses cheerio

/v1/html-links

Web · cheerio

Request → Response

Examples from schemas.json.

Requestapplication/json
POST /v1/html-links
Content-Type: application/json

{
  "html": "Hello, world!",
  "base_url": "https://tools402.dev"
}
Responseapplication/json
HTTP/1.1 200 OK
Content-Type: application/json

// Endpoint-specific body after 402 settlement

Overview

Extract hyperlinks from provided HTML. Uses cheerio.

Request schema

Body: JSON · application/json

FieldTypeDescription
htmlstringrequired
base_urlstringoptional
IMPLEMENTATION
curl -X POST https://api.tools402.dev/v1/html-links \
  -H "Content-Type: application/json" \
  -d '{
  "html": "Hello, world!",
  "base_url": "https://tools402.dev"
}'

402 payment flow omitted — see Integrations for settlement.